Browse code

lcr: init variable for fixing warning report

Daniel-Constantin Mierla authored on 03/05/2022 18:58:32
Showing 1 changed files
... ...
@@ -1939,7 +1939,7 @@ static inline int decode_avp_value(char *value, unsigned int *gw_index,
1939 1939
 		struct ip_addr *addr, str *hostname, str *port, str *params,
1940 1940
 		str *transport, unsigned int *flags, unsigned int *rule_id)
1941 1941
 {
1942
-	unsigned int u;
1942
+	unsigned int u = 0;
1943 1943
 	str s;
1944 1944
 	char *sep;
1945 1945
 	struct ip_addr *ip;