diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2020-08-25 21:14:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-25 21:14:08 +0100 |
commit | 01a2d5fe4c37a8403cc9411bd2ad61184616fab9 (patch) | |
tree | 32651cd057a0707759425e9518edd81283e0d7ac | |
parent | b1c0145fd3d5e899552e8e4f83194f2dd365eb42 (diff) | |
parent | baf2fbb98fbc7fa9da895f687d855dbeda7a422b (diff) | |
download | swig-01a2d5fe4c37a8403cc9411bd2ad61184616fab9.tar.gz |
Merge pull request #1861 from adelva1984/no-return-without-have-pcre
naming: Add unreachable return to !HAVE_PCRE path
-rw-r--r-- | Source/Swig/naming.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Swig/naming.c b/Source/Swig/naming.c index 6689ceb7a..1d78e7a47 100644 --- a/Source/Swig/naming.c +++ b/Source/Swig/naming.c @@ -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 */ |