summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-02-25 11:47:03 +0000
committerNicholas Clark <nick@ccl4.org>2008-02-25 11:47:03 +0000
commit553e7bb0c885d7b666ab73f45e41f7e6dab46330 (patch)
tree6989324d929b64dd2f44632a28b86a462bcabad2 /op.c
parent5fa9f95182cd3e9dfed1f750408ef8b876d6a9c6 (diff)
downloadperl-553e7bb0c885d7b666ab73f45e41f7e6dab46330.tar.gz
Two break; statements that aren't (yet) needed, but may trip someone up
in the future. p4raw-id: //depot/perl@33368
Diffstat (limited to 'op.c')
-rw-r--r--op.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/op.c b/op.c
index 0e78eb12ca..71ee848559 100644
--- a/op.c
+++ b/op.c
@@ -911,6 +911,7 @@ Perl_scalar(pTHX_ OP *o)
case OP_SORT:
if (ckWARN(WARN_VOID))
Perl_warner(aTHX_ packWARN(WARN_VOID), "Useless use of sort in scalar context");
+ break;
}
return o;
}
@@ -2465,6 +2466,7 @@ Perl_fold_constants(pTHX_ register OP *o)
/* XXX what about the numeric ops? */
if (PL_hints & HINT_LOCALE)
goto nope;
+ break;
}
if (PL_parser && PL_parser->error_count)