Module: sip-router
Branch: master
Commit: 63736be1e4d2d6e82a0f7be6a85a96ee66c10146
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=63736be…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Committer: Ovidiu Sas <osas(a)voipembedded.com>
Date: Thu Apr 18 15:42:40 2013 -0400
seas: fix compiler warning:
- warning: variable falgs set but not used [-Wunused-but-set-variable]
---
modules/seas/encode_content_disposition.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/modules/seas/encode_content_disposition.c
b/modules/seas/encode_content_disposition.c
index 0b058c6..9e9de34 100644
--- a/modules/seas/encode_content_disposition.c
+++ b/modules/seas/encode_content_disposition.c
@@ -61,9 +61,7 @@ int encode_content_disposition(char *hdrstart,int hdrlen,struct
disposition *bod
int print_encoded_content_disposition(FILE* fd,char *hdr,int hdrlen,unsigned char*
payload,int paylen,char *prefix)
{
int i=3;/* flags + urilength */
- unsigned char flags=0;
- flags=payload[0];
fprintf(fd,"%s",prefix);
for(i=0;i<paylen;i++)
fprintf(fd,"%s%d%s",i==0?"ENCODED
CONTENT-DISPOSITION=[":":",payload[i],i==paylen-1?"]\n":"");