Browse code

userblacklist: initialize vars to avoid compiler warnings

Daniel-Constantin Mierla authored on 14/05/2015 07:43:14
Showing 1 changed files
... ...
@@ -695,9 +695,9 @@ static void dump_dtrie_mi(const struct dtrie_node_t *root,
695 695
 	const unsigned int branches, char *prefix, int *length, struct mi_root *reply)
696 696
 {
697 697
 	struct mi_node *crt_node;
698
-        unsigned int i;
699
-        char digit, *val;
700
-	int val_len;
698
+	unsigned int i;
699
+	char digit, *val = NULL;
700
+	int val_len = 0;
701 701
 
702 702
 	/* Sanity check - should not reach here anyway */
703 703
 	if (NULL == root) {