From: nhmall Date: Thu, 4 Feb 2021 12:40:55 +0000 (-0500) Subject: set but not used warning in util/recover.c X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0e051018e7950dfec8b109394df79a9361246990;p=nethack set but not used warning in util/recover.c ../util/recover.c:416:9: warning: variable 'bsize' set but not used [-Wunused-but-set-variable] 416 | int bsize; | ^~~~~ --- diff --git a/util/recover.c b/util/recover.c index 1edc42f2b..63e49ecab 100644 --- a/util/recover.c +++ b/util/recover.c @@ -417,6 +417,7 @@ exepath(char *str) if (!str) return (char *) 0; + nhUse(bsize); bsize = EXEPATHBUFSZ; tmp = exepathbuf; #if !defined(WIN32)