Browse code

fix compiler warning about uninitialized variable

Henning Westerholt authored on 03/03/2009 18:12:41
Showing 1 changed files
... ...
@@ -52,11 +52,10 @@ inline static int lval_avp_assign(struct run_act_ctx* h, struct sip_msg* msg,
52 52
 	int_str value;
53 53
 	unsigned short flags;
54 54
 	struct search_state st;
55
-	int ret;
56
-	int v;
57
-	int destroy_pval;
55
+	int ret, v, destroy_pval;
58 56
 	
59 57
 	destroy_pval=0;
58
+	flags = 0;
60 59
 	avp=&lv->lv.avps;
61 60
 	ret=0;
62 61
 	/* If the left attr was specified without indexing brackets delete