Module: kamailio Branch: master Commit: 3a25e489d0ab8d55d4011ccf62de4f3d8d08b028 URL: https://github.com/kamailio/kamailio/commit/3a25e489d0ab8d55d4011ccf62de4f3d8d08b028
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> 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/3a25e489d0ab8d55d4011ccf62de4f3d8d08b028.diff Patch: https://github.com/kamailio/kamailio/commit/3a25e489d0ab8d55d4011ccf62de4f3d8d08b028.patch --- 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; _______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
