diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2014-06-13 21:48:53 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2014-06-13 21:48:53 -0400 |
commit | b57b04d533ba5d71576359062a3470c22080f76d (patch) | |
tree | 41acee35d9a43f0be44c9d08336590f242d3f362 /regexp.h | |
parent | 8c2b19724d117cecfa186d044abdbf766372c679 (diff) | |
download | perl-b57b04d533ba5d71576359062a3470c22080f76d.tar.gz |
Revert "Some low-hanging -Wunreachable-code fruits."
This reverts commit 8c2b19724d117cecfa186d044abdbf766372c679.
I don't understand - smoke-me came back happy with three
separate reports... oh well, some other time.
Diffstat (limited to 'regexp.h')
-rw-r--r-- | regexp.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -381,9 +381,9 @@ get_regex_charset_name(const U32 flags, STRLEN* const lenp) case REGEX_ASCII_MORE_RESTRICTED_CHARSET: *lenp = 2; return ASCII_MORE_RESTRICT_PAT_MODS; + default: + return "?"; /* Unknown */ } - NOT_REACHED; /* NOTREACHED */ - return "?"; } /* Do we have some sort of anchor? */ |