2
0
Эх сурвалжийг харах

lrkproxy: init value for compiler warning

Daniel-Constantin Mierla 3 жил өмнө
parent
commit
9fd0cae960

+ 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);
 
         str current_port;
-        unsigned int snat_port;
+        unsigned int snat_port = 0;
 
         str2int(&e->dst_port, &snat_port);