This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add missing break in switch.
authorJarkko Hietaniemi <jhi@iki.fi>
Sun, 7 Feb 2016 00:59:09 +0000 (19:59 -0500)
committerJarkko Hietaniemi <jhi@iki.fi>
Sun, 7 Feb 2016 13:23:46 +0000 (08:23 -0500)
Coverity CID 135145: Missing break in switch (MISSING_BREAK)

dump.c

diff --git a/dump.c b/dump.c
index 81b985f..bc2776a 100644 (file)
--- a/dump.c
+++ b/dump.c
@@ -968,6 +968,7 @@ Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, const OP *o)
         for (i=0; i < count;  i++)
             Perl_dump_indent(aTHX_ level+1, file, "%"UVuf" => 0x%"UVxf"\n",
                                     i, items[i].uv);
+       break;
     }
 
     case OP_CONST: