فهرست منبع

regex: init var to avoid compile warning

Daniel-Constantin Mierla 6 سال پیش
والد
کامیت
dfb872b311
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/modules/regex/regex_mod.c

+ 1 - 1
src/modules/regex/regex_mod.c

@@ -636,7 +636,7 @@ static int ki_pcre_match_group(sip_msg_t* _msg, str* string, int num_pcre)
 static int w_pcre_match_group(struct sip_msg* _msg, char* _s1, char* _s2)
 {
 	str string, group;
-	unsigned int num_pcre;
+	unsigned int num_pcre = 0;
 
 	if (_s1 == NULL) {
 		LM_ERR("bad parameters\n");