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.
This commit is contained in:
nhmall
2022-11-23 23:34:47 -05:00
parent e49c772f13
commit 6ab7cafb25
+1 -1
View File
@@ -1300,7 +1300,7 @@ eval_notify_windowport_field(int fld, boolean *valsetlist, int idx)
static void static void
evaluate_and_notify_windowport(boolean *valsetlist, int idx) 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. * Now pass the changed values to window port.