diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-04-03 15:03:46 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-04-03 15:03:46 +0000 |
commit | de4864e4e7ced178416488fa2591227064c3222d (patch) | |
tree | f321dcff676073bbabdd24fce7b8af6e753ca4a4 /op.c | |
parent | 936edb8bce14c9708bc6198559047de5d7e6af47 (diff) | |
download | perl-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 && |