Browse code

lcr: init variable for fixing warning report

(cherry picked from commit 7f359ca152e87ec72c6dd39fe09885bae630e36f)

Daniel-Constantin Mierla authored on 03/05/2022 18:58:32
Showing 1 changed files
... ...
@@ -1913,7 +1913,7 @@ static inline int decode_avp_value(char *value, unsigned int *gw_index,
1913 1913
 		struct ip_addr *addr, str *hostname, str *port, str *params,
1914 1914
 		str *transport, unsigned int *flags, unsigned int *rule_id)
1915 1915
 {
1916
-	unsigned int u;
1916
+	unsigned int u = 0;
1917 1917
 	str s;
1918 1918
 	char *sep;
1919 1919
 	struct ip_addr *ip;