[sr-dev] git:master: kamailio/utils/sercmd: remove unused but set variable

Ovidiu Sas osas at voipembedded.com
Wed Mar 20 18:13:57 CET 2013


Module: sip-router
Branch: master
Commit: ff94115921a08ba4da29baf2761db47bd0b7f8f5
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ff94115921a08ba4da29baf2761db47bd0b7f8f5

Author: Ovidiu Sas <osas at voipembedded.com>
Committer: Ovidiu Sas <osas at voipembedded.com>
Date:   Wed Mar 20 13:13:27 2013 -0400

kamailio/utils/sercmd: remove unused but set variable

---

 utils/sercmd/sercmd.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/utils/sercmd/sercmd.c b/utils/sercmd/sercmd.c
index 1e5606b..49b76b5 100644
--- a/utils/sercmd/sercmd.c
+++ b/utils/sercmd/sercmd.c
@@ -2158,7 +2158,6 @@ int main(int argc, char** argv)
 	int sock_type;
 	int s;
 	struct binrpc_cmd cmd;
-	int rec;
 	struct id_list* sock_id;
 	char* format;
 	int interactive;
@@ -2169,7 +2168,6 @@ int main(int argc, char** argv)
 	format=0;
 	line=0;
 	interactive=0;
-	rec=1;
 	s=-1;
 	sock_name=0;
 	port_no=0;




More information about the sr-dev mailing list