]> granicus.if.org Git - nethack/commitdiff
silence -Wunused-parameter warning
authornhmall <nhmall@nethack.org>
Mon, 20 Jun 2022 18:17:57 +0000 (14:17 -0400)
committernhmall <nhmall@nethack.org>
Mon, 20 Jun 2022 18:17:57 +0000 (14:17 -0400)
src/options.c

index 37281bb6632bde1461673971219c96506cc6cea0..19b539adbf6b2d0090673c89e3075cc95e282c17 100644 (file)
@@ -8901,7 +8901,7 @@ void
 enhance_menu_text(
     char *buf,
     size_t sz,
-    int whichpass,
+    int whichpass UNUSED,
     boolean *bool_p,
     struct allopt_t *thisopt)
 {