summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avar@cpan.org>2011-12-23 22:17:35 +0000
committerÆvar Arnfjörð Bjarmason <avar@cpan.org>2011-12-23 22:17:35 +0000
commitf0cd42383d11de42b3b8137c27c960b257975418 (patch)
tree4a2ca40d1d146005ce08a71db55a7aeb74d8c8d6 /scope.c
parent0ac67bd05e331ac6255307e6558329b549d62217 (diff)
downloadperl-f0cd42383d11de42b3b8137c27c960b257975418.tar.gz
regexp.h: remove completely redundant return statement
Remove a redundant return() statement at the end of the get_regex_charset_name function. The "default" case for the above switch statement will always return for us. This was added intentionally in v5.14.0-354-g0984e55 by Jim Cromie, but the rationale for doing so is that we might have a compiler bug here, but we're pretty screwed anyway if switch statements stop working as advertised by the standard so there's no reason to be defensive in this particular case. This is also causing a lot of whine from Sun Studio 12 Update 1: regexp.h", line 329: warning: statement not reached
Diffstat (limited to 'scope.c')
0 files changed, 0 insertions, 0 deletions