aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--field.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/field.c b/field.c
index 3bcfb421..1c209c26 100644
--- a/field.c
+++ b/field.c
@@ -840,7 +840,7 @@ get_field(long requested, Func_ptr *assign)
static bool warned = false;
extern int currule;
- if (do_lint && currule == END) {
+ if (do_lint && currule == END && ! warned) {
warned = true;
lintwarn(_("accessing $0 from an END rule may not be portable"));
}