summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
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)