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:
PatR
2023-11-05 17:23:46 -08:00
parent 1b04533b35
commit e384e3a5a1

View File

@@ -3525,6 +3525,7 @@ display_pickinv(
add_menu_str(win, inuse_only ? not_using_anything
: (!show_gold && skipped_gold) ? only_carrying_gold
: not_carrying_anything);
nhUse(skipped_noninuse); /* no longer needed */
want_reply = FALSE;
}
#ifdef TTY_PERM_INVENT