[sr-dev] git:master: lib:ims_getters: removed unused variable causing compile warning

Richard Good richard.good at smilecoms.com
Wed Oct 15 16:50:57 CEST 2014


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

Author: Richard Good <richard.good at smilecoms.com>
Committer: Richard Good <richard.good at smilecoms.com>
Date:   Wed Oct 15 16:47:10 2014 +0200

lib:ims_getters: removed unused variable causing compile warning

---

 lib/ims/ims_getters.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/ims/ims_getters.c b/lib/ims/ims_getters.c
index 1751641..3823806 100644
--- a/lib/ims/ims_getters.c
+++ b/lib/ims/ims_getters.c
@@ -177,7 +177,7 @@ str cscf_get_private_identity_no_realm(struct sip_msg *msg, str realm)
 {
 	str pi={0,0};
 	struct hdr_field* h=0;
-	int ret,i;
+	int i;
 
 	if (parse_headers(msg,HDR_AUTHORIZATION_F,0)!=0) {
 		return pi;




More information about the sr-dev mailing list