From 6ab7cafb252298005d8d06906df35123cc10c7bd Mon Sep 17 00:00:00 2001 From: nhmall Date: Wed, 23 Nov 2022 23:34:47 -0500 Subject: [PATCH] quiet a warning that has appeared recently botl.c:1303:25: warning: variable 'notpresent' set but not used [-Wunused-but-set-variable] int i, updated = 0, notpresent = 0; ^ 1 warning generated. --- src/botl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/botl.c b/src/botl.c index 099eb1506..f265e0a2f 100644 --- a/src/botl.c +++ b/src/botl.c @@ -1300,7 +1300,7 @@ eval_notify_windowport_field(int fld, boolean *valsetlist, int idx) static void evaluate_and_notify_windowport(boolean *valsetlist, int idx) { - int i, updated = 0, notpresent = 0; + int i, updated = 0, notpresent UNUSED = 0; /* * Now pass the changed values to window port.