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

Ovidiu Sas osas at voipembedded.com
Wed Dec 5 19:14:52 CET 2012


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

Author: Ovidiu Sas <osas at dbn>
Committer: Ovidiu Sas <osas at dbn>
Date:   Wed Dec  5 13:12:02 2012 -0500

qos: remove unused variable

---

 modules_k/qos/qos_ctx_helpers.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/modules_k/qos/qos_ctx_helpers.c b/modules_k/qos/qos_ctx_helpers.c
index 6c85c9b..16d5cbb 100644
--- a/modules_k/qos/qos_ctx_helpers.c
+++ b/modules_k/qos/qos_ctx_helpers.c
@@ -504,7 +504,7 @@ error:
  */
 void remove_sdp(qos_ctx_t *qos_ctx, unsigned int dir, struct sip_msg *_m, unsigned int role, unsigned int other_role)
 {
-	str *cseq_number, *cseq_method;
+	str *cseq_number;
 	int cseq_method_id;
 	qos_sdp_t *qos_sdp;
 
@@ -514,7 +514,6 @@ void remove_sdp(qos_ctx_t *qos_ctx, unsigned int dir, struct sip_msg *_m, unsign
 	}
 
 	cseq_number = &((get_cseq(_m))->number);
-	cseq_method = &((get_cseq(_m))->method);
 	cseq_method_id = (get_cseq(_m))->method_id;
 
 	if (_m->first_line.type == SIP_REPLY) {




More information about the sr-dev mailing list