From: nhmall Date: Sat, 29 Feb 2020 23:36:03 +0000 (-0500) Subject: some warnings X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c4b5d2f54b7a7152eaf5d55d14d30375831a9613;p=nethack some warnings --- diff --git a/src/options.c b/src/options.c index 596519cb4..a50708bf8 100644 --- a/src/options.c +++ b/src/options.c @@ -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;