فهرست منبع

lrkproxy: init value for compiler warning

Daniel-Constantin Mierla 3 سال پیش
والد
کامیت
9fd0cae960
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/modules/lrkproxy/lrkproxy.c

+ 1 - 1
src/modules/lrkproxy/lrkproxy.c

@@ -1284,7 +1284,7 @@ static int change_media_sdp(sip_msg_t *msg, struct lrkproxy_hash_entry *e, const
         e->snat_ipv4.len = strlen(e->snat_ipv4.s);
         e->snat_ipv4.len = strlen(e->snat_ipv4.s);
 
 
         str current_port;
         str current_port;
-        unsigned int snat_port;
+        unsigned int snat_port = 0;
 
 
         str2int(&e->dst_port, &snat_port);
         str2int(&e->dst_port, &snat_port);