Browse Source

avpops: initialize local variable to avoid warning on db ops function

Daniel-Constantin Mierla 11 years ago
parent
commit
98bb8c7e51
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/avpops/avpops_impl.c

+ 1 - 1
modules/avpops/avpops_impl.c

@@ -291,7 +291,7 @@ int ops_dbload_avps (struct sip_msg* msg, struct fis_param *sp,
 	str *s0, *s1, *s2;
 	int_str avp_name;
 	int avp_type = 0;
-	pv_value_t xvalue;
+	pv_value_t xvalue = {0};
 
 	s0 = s1 = s2 = NULL;
 	if (!((sp->opd&AVPOPS_VAL_PVAR)||(sp->opd&AVPOPS_VAL_STR))) {