Module: kamailio Branch: master Commit: 3a25e489d0ab8d55d4011ccf62de4f3d8d08b028 URL: https://github.com/kamailio/kamailio/commit/3a25e489d0ab8d55d4011ccf62de4f3d...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@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/3a25e489d0ab8d55d4011ccf62de4f3d... Patch: https://github.com/kamailio/kamailio/commit/3a25e489d0ab8d55d4011ccf62de4f3d...
---
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;