summaryrefslogtreecommitdiff
path: root/test/noeffect.ok
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-05-20 22:28:59 +0300
committerArnold D. Robbins <arnold@skeeve.com>2017-05-20 22:28:59 +0300
commit0f9d4355a03d000938d87d71ba62f0ac2717334a (patch)
treec275e9f3dbef7112211e036fc42535c93651c386 /test/noeffect.ok
parent5dad1227c5c8a14641aaeb78cdd423d584890c24 (diff)
downloadgawk-0f9d4355a03d000938d87d71ba62f0ac2717334a.tar.gz
Make lint checking for "no effect" case smarter about line numbers.
Diffstat (limited to 'test/noeffect.ok')
-rw-r--r--test/noeffect.ok1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/noeffect.ok b/test/noeffect.ok
index e9bed995..6a0cc752 100644
--- a/test/noeffect.ok
+++ b/test/noeffect.ok
@@ -1,4 +1,5 @@
gawk: noeffect.awk:2: warning: statement may have no effect
gawk: noeffect.awk:3: warning: statement may have no effect
+gawk: noeffect.awk:5: warning: statement may have no effect
gawk: noeffect.awk:2: warning: reference to uninitialized variable `s'
gawk: noeffect.awk:3: warning: reference to uninitialized variable `s'