From: Nicholas Clark Date: Mon, 25 Feb 2008 11:47:03 +0000 (+0000) Subject: Two break; statements that aren't (yet) needed, but may trip someone up X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=553e7bb0c885d7b666ab73f45e41f7e6dab46330;p=p5sagit%2Fp5-mst-13.2.git Two break; statements that aren't (yet) needed, but may trip someone up in the future. p4raw-id: //depot/perl@33368 --- diff --git a/op.c b/op.c index 0e78eb1..71ee848 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)