summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-04-03 15:03:46 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-04-03 15:03:46 +0000
commitde4864e4e7ced178416488fa2591227064c3222d (patch)
treef321dcff676073bbabdd24fce7b8af6e753ca4a4 /op.c
parent936edb8bce14c9708bc6198559047de5d7e6af47 (diff)
downloadperl-de4864e4e7ced178416488fa2591227064c3222d.tar.gz
Change the push/unshift warning (#9532) to talk about "no values"
instead of "no arguments". p4raw-id: //depot/perl@9534
Diffstat (limited to 'op.c')
-rw-r--r--op.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/op.c b/op.c
index 44a19d3122..4f9585703a 100644
--- a/op.c
+++ b/op.c
@@ -5682,7 +5682,7 @@ Perl_ck_fun(pTHX_ OP *o)
if ((type == OP_PUSH || type == OP_UNSHIFT)
&& !kid->op_sibling && ckWARN(WARN_MISC))
Perl_warner(aTHX_ WARN_MISC,
- "Useless use of %s with no arguments",
+ "Useless use of %s with no values",
PL_op_desc[type]);
if (kid->op_type == OP_CONST &&