Module: sip-router
Branch: 4.0
Commit: 15ec4ac4c0e815d648bbdf0e676227b93860f290
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=15ec4ac…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.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]
(cherry picked from commit 200eddad28abd6bc51da3285dd52d5f8c88c4e56)
---
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;