diff --git a/src/modules/regex/regex_mod.c b/src/modules/regex/regex_mod.c index 67e6b667ad6..880e1924fde 100644 --- a/src/modules/regex/regex_mod.c +++ b/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");