diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2002-10-16 18:43:21 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2002-10-16 18:43:21 +0000 |
commit | 78e1b766412138639765560ca379489ded0446bf (patch) | |
tree | 392db4a063f6bfc6b578502c2a6eb22191bfb4bd /op.c | |
parent | 7c89f822cb10ced0749b67c4d8a890f65ee4c463 (diff) | |
download | perl-78e1b766412138639765560ca379489ded0446bf.tar.gz |
prototype() didn't warn when used in void context.
p4raw-id: //depot/perl@18020
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -725,6 +725,7 @@ Perl_scalarvoid(pTHX_ OP *o) case OP_GGRNAM: case OP_GGRGID: case OP_GETLOGIN: + case OP_PROTOTYPE: func_ops: if (!(o->op_private & (OPpLVAL_INTRO|OPpOUR_INTRO))) useless = OP_DESC(o); |