]> granicus.if.org Git - nethack/commitdiff
unreferenced local variable warning
authornhmall <nhmall@nethack.org>
Wed, 4 May 2022 12:48:56 +0000 (08:48 -0400)
committernhmall <nhmall@nethack.org>
Wed, 4 May 2022 12:48:56 +0000 (08:48 -0400)
src/pline.c

index 88b33c756e2cbdfdeb482f45ef484e6b5502e48e..3fac368d86acd9e874b457afe0005808eecb4343 100644 (file)
@@ -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;