[sr-dev] git:master: modules/xmlrpc: got rid of unused variable

admin at sip-router.org admin at sip-router.org
Fri Jun 8 22:16:40 CEST 2012


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

Author: Juha Heinanen <jh at tutpro.com>
Committer: Juha Heinanen <jh at tutpro.com>
Date:   Fri Jun  8 23:15:46 2012 +0300

modules/xmlrpc: got rid of unused variable

---

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

diff --git a/modules/xmlrpc/xmlrpc.c b/modules/xmlrpc/xmlrpc.c
index 4f8fa4d..aa5d3aa 100644
--- a/modules/xmlrpc/xmlrpc.c
+++ b/modules/xmlrpc/xmlrpc.c
@@ -1467,7 +1467,6 @@ static int get_string(char** val, struct xmlrpc_reply* reply,
 static int rpc_scan(rpc_ctx_t* ctx, char* fmt, ...)
 {
 	int read;
-	int fmt_len;
 	int* int_ptr;
 	char** char_ptr;
 	str* str_ptr;
@@ -1484,7 +1483,6 @@ static int rpc_scan(rpc_ctx_t* ctx, char* fmt, ...)
 	/* clear the previously saved error code */
 	clear_xmlrpc_reply(reply);
 
-	fmt_len = strlen(fmt);
 	va_start(ap, fmt);
 	modifiers=0;
 	read = 0;




More information about the sr-dev mailing list