Browse code

lcr: init buffers to try to get rid of new warnings

Daniel-Constantin Mierla authored on 11/01/2022 07:19:42
Showing 1 changed files
... ...
@@ -2900,6 +2900,8 @@ static int ki_next_gw(sip_msg_t *_m)
2900 2900
 	struct ip_addr addr;
2901 2901
 
2902 2902
 	tag_str.s = &(tag[0]);
2903
+	r_uri[0] = '\0';
2904
+	dst_uri[0] = '\0';
2903 2905
 
2904 2906
 	ru_avp = search_first_avp(
2905 2907
 			ruri_user_avp_type, ruri_user_avp, &ruri_user_val, 0);