aboutsummaryrefslogtreecommitdiffstats
path: root/interpret.h
diff options
context:
space:
mode:
Diffstat (limited to 'interpret.h')
-rw-r--r--interpret.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/interpret.h b/interpret.h
index 7a8db88d..1399e720 100644
--- a/interpret.h
+++ b/interpret.h
@@ -965,7 +965,7 @@ arrayfor:
fatal(_("%s: called with %lu arguments, expecting at least %lu"),
pc[1].func_name, arg_count, min_req);
- if (do_lint && max_expect > 0 && arg_count > max_expect && ! f->suppress_lint)
+ if (do_lint && ! f->suppress_lint && arg_count > max_expect)
lintwarn(_("%s: called with %lu arguments, expecting no more than %lu"),
pc[1].func_name, arg_count, max_expect);