From: nhmall Date: Wed, 4 May 2022 12:48:56 +0000 (-0400) Subject: unreferenced local variable warning X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=721b1cc9b92a802cdf542a09404c8562e16799d1;p=nethack unreferenced local variable warning --- diff --git a/src/pline.c b/src/pline.c index 88b33c756..3fac368d8 100644 --- a/src/pline.c +++ b/src/pline.c @@ -534,7 +534,9 @@ static boolean use_pline_handler = TRUE; static void execplinehandler(const char *line) { +#if defined(POSIX_TYPES) || defined(__GNUC__) int f; +#endif const char *args[3]; char *env;