summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/check/check-portability.awk4
1 files changed, 1 insertions, 3 deletions
diff --git a/mk/check/check-portability.awk b/mk/check/check-portability.awk
index 8ecbd5014d8..e5fdbfd23a6 100644
--- a/mk/check/check-portability.awk
+++ b/mk/check/check-portability.awk
@@ -1,4 +1,4 @@
-# $NetBSD: check-portability.awk,v 1.7 2014/03/11 23:23:01 ryoon Exp $
+# $NetBSD: check-portability.awk,v 1.8 2014/03/11 23:27:40 ryoon Exp $
#
# Checks a shell file for possible portability problems.
#
@@ -31,8 +31,6 @@ function check_random(line) {
function check_test_eqeq(line, n, word, i) {
- if (length(line) ==0 || length(word) == 0)
- return;
n = split(line, word);
for (i = 3; i < n; i++) {
if (word[i] == "==") {