aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2013-06-27 15:12:18 +0300
committerArnold D. Robbins <arnold@skeeve.com>2013-06-27 15:12:18 +0300
commit65f3bb6751dff212c78d67f2deee6602898873e9 (patch)
tree770b4f31bc70b99a460f7ffa68072ca21ed692c3 /awkgram.c
parent8e9e1dfbc6c34a6d502d9738b651ae4c70806b1b (diff)
downloadegawk-65f3bb6751dff212c78d67f2deee6602898873e9.tar.gz
egawk-65f3bb6751dff212c78d67f2deee6602898873e9.tar.bz2
egawk-65f3bb6751dff212c78d67f2deee6602898873e9.zip
Minor cleanup in awkgram.y.
Diffstat (limited to 'awkgram.c')
-rw-r--r--awkgram.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/awkgram.c b/awkgram.c
index 10fd4215..947f4a30 100644
--- a/awkgram.c
+++ b/awkgram.c
@@ -2603,7 +2603,7 @@ yyreduce:
(yyval) = list_prepend(ip, (yyvsp[(1) - (8)]));
bcfree((yyvsp[(4) - (8)]));
} /* else
- $1 and $4 are NULLs */
+ $1 and $4 are NULLs */
}
break;
@@ -7940,10 +7940,8 @@ add_lint(INSTRUCTION *list, LINTTYPE linttype)
;
if (do_lint) { /* compile-time warning */
-#ifndef NO_LINT
if (isnoeffect(ip->opcode))
lintwarn_ln(ip->source_line, ("statement may have no effect"));
-#endif
}
if (ip->opcode == Op_push) { /* run-time warning */