Merge pull request #1861 from adelva1984/no-return-without-have-pcre
naming: Add unreachable return to !HAVE_PCRE path
This commit is contained in:
commit
01a2d5fe4c
1 changed files with 1 additions and 0 deletions
|
|
@ -1132,6 +1132,7 @@ static int name_regexmatch_value(Node *n, String *pattern, String *s) {
|
||||||
Swig_error("SWIG", Getline(n),
|
Swig_error("SWIG", Getline(n),
|
||||||
"PCRE regex matching is not available in this SWIG build.\n");
|
"PCRE regex matching is not available in this SWIG build.\n");
|
||||||
SWIG_exit(EXIT_FAILURE);
|
SWIG_exit(EXIT_FAILURE);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* HAVE_PCRE/!HAVE_PCRE */
|
#endif /* HAVE_PCRE/!HAVE_PCRE */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue