Merge pull request #1861 from adelva1984/no-return-without-have-pcre

naming: Add unreachable return to !HAVE_PCRE path
This commit is contained in:
William S Fulton 2020-08-25 21:14:08 +01:00 committed by GitHub
commit 01a2d5fe4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1132,6 +1132,7 @@ static int name_regexmatch_value(Node *n, String *pattern, String *s) {
Swig_error("SWIG", Getline(n),
"PCRE regex matching is not available in this SWIG build.\n");
SWIG_exit(EXIT_FAILURE);
return 0;
}
#endif /* HAVE_PCRE/!HAVE_PCRE */