]> granicus.if.org Git - nethack/commitdiff
some warnings
authornhmall <nhmall@nethack.org>
Sat, 29 Feb 2020 23:36:03 +0000 (18:36 -0500)
committernhmall <nhmall@nethack.org>
Sat, 29 Feb 2020 23:36:03 +0000 (18:36 -0500)
src/options.c

index 596519cb4574afefcbe3af799b6836d1aff58832..a50708bf87060fbc91a4bba6638ddd2510d63429 100644 (file)
@@ -306,7 +306,7 @@ register char *opts;
 boolean tinitial, tfrom_file;
 {
     char *op;
-    boolean negated, got_match, has_val = FALSE;
+    boolean negated, got_match = FALSE, has_val = FALSE;
     int i, matchidx = -1, optresult = optn_err, optlen, optlen_wo_val;
     boolean retval = TRUE;
 
@@ -5789,7 +5789,7 @@ boolean val_allowed;
 
 void
 set_duplicate_opt_detection(on_or_off)
-int on_or_off;
+int on_or_off UNUSED;
 {
     int k;