Module: sip-router
Branch: master
Commit: 67609608aa4306de9a34a28a3a31880ad0d17e8e
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6760960…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Committer: Ovidiu Sas <osas(a)voipembedded.com>
Date: Wed Mar 20 13:16:27 2013 -0400
kamailio/utils/sercmd: remove unused but set variable
---
utils/sercmd/sercmd.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/utils/sercmd/sercmd.c b/utils/sercmd/sercmd.c
index 55ed3d4..90dfcb7 100644
--- a/utils/sercmd/sercmd.c
+++ b/utils/sercmd/sercmd.c
@@ -2159,14 +2159,12 @@ int main(int argc, char** argv)
struct binrpc_cmd cmd;
struct id_list* sock_id;
char* format;
- int interactive;
char* line;
char* l;
quit=0;
format=0;
line=0;
- interactive=0;
s=-1;
sock_name=0;
sock_type=UNIXS_SOCK;
@@ -2273,7 +2271,6 @@ int main(int argc, char** argv)
sock_id=0;
if (optind>=argc){
- interactive=1;
/*fprintf(stderr, "ERROR: no command specified\n");
goto error; */
}else{