Module: kamailio Branch: master Commit: dfb872b311cd0acd4a40c810f612c8a23e7c9aca URL: https://github.com/kamailio/kamailio/commit/dfb872b311cd0acd4a40c810f612c8a2...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2018-12-17T20:31:59+01:00
regex: init var to avoid compile warning
---
Modified: src/modules/regex/regex_mod.c
---
Diff: https://github.com/kamailio/kamailio/commit/dfb872b311cd0acd4a40c810f612c8a2... Patch: https://github.com/kamailio/kamailio/commit/dfb872b311cd0acd4a40c810f612c8a2...
---
diff --git a/src/modules/regex/regex_mod.c b/src/modules/regex/regex_mod.c index 67e6b667ad..880e1924fd 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");