Module: kamailio
Branch: master
Commit: 3a25e489d0ab8d55d4011ccf62de4f3d8d08b028
URL:
https://github.com/kamailio/kamailio/commit/3a25e489d0ab8d55d4011ccf62de4f3…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-03-26T13:01:01+01:00
seas: init variable to get rid of compile warning
---
Modified: modules/seas/encode_msg.c
---
Diff:
https://github.com/kamailio/kamailio/commit/3a25e489d0ab8d55d4011ccf62de4f3…
Patch:
https://github.com/kamailio/kamailio/commit/3a25e489d0ab8d55d4011ccf62de4f3…
---
diff --git a/modules/seas/encode_msg.c b/modules/seas/encode_msg.c
index e56b5fb..8f84ca6 100644
--- a/modules/seas/encode_msg.c
+++ b/modules/seas/encode_msg.c
@@ -148,7 +148,7 @@ char get_header_code(struct hdr_field *hf)
*/
int encode_msg(struct sip_msg *msg,char *payload,int len)
{
- int i,j,k,u,request;
+ int i,j=0,k,u,request;
unsigned short int h;
struct hdr_field* hf;
struct msg_start* ms;