Browse code

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

(cherry picked from commit 0247c336e208912324c71aea9843e688d7c5a463)

Daniel-Constantin Mierla authored on 11/01/2022 07:19:42
Showing 1 changed files
... ...
@@ -2874,6 +2874,8 @@ static int ki_next_gw(sip_msg_t *_m)
2874 2874
 	struct ip_addr addr;
2875 2875
 
2876 2876
 	tag_str.s = &(tag[0]);
2877
+	r_uri[0] = '\0';
2878
+	dst_uri[0] = '\0';
2877 2879
 
2878 2880
 	ru_avp = search_first_avp(
2879 2881
 			ruri_user_avp_type, ruri_user_avp, &ruri_user_val, 0);