Module: sip-router
Branch: master
Commit: 200eddad28abd6bc51da3285dd52d5f8c88c4e56
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=200edda…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Committer: Ovidiu Sas <osas(a)voipembedded.com>
Date: Thu Apr 18 15:45:50 2013 -0400
seas: fix compiler warning
- warning: variable flags2 set but not used [-Wunused-but-set-variable]
---
modules/seas/encode_digest.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules/seas/encode_digest.c b/modules/seas/encode_digest.c
index 965d1fd..f355f16 100644
--- a/modules/seas/encode_digest.c
+++ b/modules/seas/encode_digest.c
@@ -217,10 +217,9 @@ int print_encoded_digest(FILE *fd,char *hdr,int hdrlen,unsigned char*
payload,in
int dump_digest_test(char *hdr,int hdrlen,unsigned char* payload,int paylen,FILE* fd,char
segregationLevel)
{
int i=2;/* 2*flags */
- unsigned char flags1=0,flags2=0;
+ unsigned char flags1=0;
flags1=payload[0];
- flags2=payload[1];
if(!(segregationLevel & ONLY_URIS))
return dump_standard_hdr_test(hdr,hdrlen,payload,paylen,fd);
i=2;