Selaa lähdekoodia

auth_xkeys: init var to get rid of compile warnings

(cherry picked from commit f8a924874a17e15511ccf1f5ca284c5e2247d805)
Daniel-Constantin Mierla 9 vuotta sitten
vanhempi
commit
6650006903
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      modules/auth_xkeys/auth_xkeys.c

+ 1 - 1
modules/auth_xkeys/auth_xkeys.c

@@ -153,7 +153,7 @@ int authx_xkey_add_params(str *sparam)
 	param_hooks_t phooks;
 	param_t *pit=NULL;
 	auth_xkey_t tmp;
-	unsigned int uv;
+	unsigned int uv = 0;
 
 	if (parse_params(sparam, CLASS_ANY, &phooks, &params_list)<0)
 		return -1;