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:
+1
-1
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user