suppress 'variable not used' warning
My compiler didn't warn about this. The value conditionally gets set but then isn't used anywhere besides that. For the time being, give 'skipped_noninuse' a fake use rather than eliminate it altogether.
This commit is contained in:
@@ -3525,6 +3525,7 @@ display_pickinv(
|
|||||||
add_menu_str(win, inuse_only ? not_using_anything
|
add_menu_str(win, inuse_only ? not_using_anything
|
||||||
: (!show_gold && skipped_gold) ? only_carrying_gold
|
: (!show_gold && skipped_gold) ? only_carrying_gold
|
||||||
: not_carrying_anything);
|
: not_carrying_anything);
|
||||||
|
nhUse(skipped_noninuse); /* no longer needed */
|
||||||
want_reply = FALSE;
|
want_reply = FALSE;
|
||||||
}
|
}
|
||||||
#ifdef TTY_PERM_INVENT
|
#ifdef TTY_PERM_INVENT
|
||||||
|
|||||||
Reference in New Issue
Block a user