This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab65fd1
)
Add missing break in switch.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Sun, 7 Feb 2016 00:55:53 +0000
(19:55 -0500)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Sun, 7 Feb 2016 13:23:46 +0000
(08:23 -0500)
Coverity CID 28986: Missing break in switch (MISSING_BREAK)
gv.c
patch
|
blob
|
blame
|
history
diff --git
a/gv.c
b/gv.c
index
bb404cf
..
e4fb3fe
100644
(file)
--- a/
gv.c
+++ b/
gv.c
@@
-385,6
+385,7
@@
Perl_gv_init_pvn(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len, U32 flag
case SVt_PVIO:
Perl_croak(aTHX_ "Cannot convert a reference to %s to typeglob",
sv_reftype(has_constant, 0));
+ break;
default: NOOP;
}