projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1802629
)
Correct thinko in comment.
author
Nicholas Clark
<nick@ccl4.org>
Fri, 27 Feb 2004 13:13:43 +0000
(13:13 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Fri, 27 Feb 2004 13:13:43 +0000
(13:13 +0000)
p4raw-id: //depot/perl@22397
op.c
patch
|
blob
|
history
diff --git
a/op.c
b/op.c
index
4273e65
..
0c688da
100644
(file)
--- a/
op.c
+++ b/
op.c
@@
-678,7
+678,7
@@
Perl_scalarvoid(pTHX_ OP *o)
if (ckWARN(WARN_VOID)) {
useless = "a constant";
/* don't warn on optimised away booleans, eg
- * use constant F, 5; Foo || print; */
+ * use constant F
oo
, 5; Foo || print; */
if (cSVOPo->op_private & OPpCONST_SHORTCIRCUIT)
useless = 0;
/* the constants 0 and 1 are permitted as they are