[sr-dev] git:master: xhttp_pi: remove unused variable

Ovidiu Sas osas at voipembedded.com
Tue Feb 12 21:00:15 CET 2013


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

Author: Ovidiu Sas <osas at ubuntu.(none)>
Committer: Ovidiu Sas <osas at ubuntu.(none)>
Date:   Tue Feb 12 14:38:53 2013 -0500

xhttp_pi: remove unused variable

---

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

diff --git a/modules/xhttp_pi/xhttp_pi_fnc.c b/modules/xhttp_pi/xhttp_pi_fnc.c
index cde8a5c..2736e5c 100644
--- a/modules/xhttp_pi/xhttp_pi_fnc.c
+++ b/modules/xhttp_pi/xhttp_pi_fnc.c
@@ -2539,7 +2539,6 @@ error:
 int ph_run_pi_cmd(pi_ctx_t* ctx)
 {
 	char *p;
-	char *_p;
 	char *buf = ctx->reply.buf.s;
 	int ret;
 	int mod = ctx->mod;
@@ -2671,7 +2670,6 @@ int ph_run_pi_cmd(pi_ctx_t* ctx)
 			command->db_table->name.s);
 		goto done;
 	}
-	_p = p;
 	if(ph_build_reply(ctx)<0)
 		goto error;
 	p = ctx->reply.body.s + ctx->reply.body.len;




More information about the sr-dev mailing list