aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.y
diff options
context:
space:
mode:
Diffstat (limited to 'awkgram.y')
-rw-r--r--awkgram.y4
1 files changed, 1 insertions, 3 deletions
diff --git a/awkgram.y b/awkgram.y
index 68647229..f0ff4f0c 100644
--- a/awkgram.y
+++ b/awkgram.y
@@ -650,7 +650,7 @@ statement
$$ = list_prepend(ip, $1);
bcfree($4);
} /* else
- $1 and $4 are NULLs */
+ $1 and $4 are NULLs */
}
| LEX_FOR '(' NAME LEX_IN simple_variable r_paren opt_nls statement
{
@@ -5392,10 +5392,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 */