]> granicus.if.org Git - nethack/commitdiff
clear an unused variable warning
authornhmall <nhmall@nethack.org>
Mon, 20 Jun 2022 23:57:13 +0000 (19:57 -0400)
committernhmall <nhmall@nethack.org>
Mon, 20 Jun 2022 23:57:13 +0000 (19:57 -0400)
src/options.c

index 170329e8ba36fabd9acf7727c96e1646504767bb..66a9318ad59c50221133792950d6d38a8ab70fe9 100644 (file)
@@ -4324,7 +4324,7 @@ int pfxfn_verbose(int optidx UNUSED, int req, boolean negated,
     }
     if (req == do_handler) {
         reslt = handler_verbose(optidx);
-        return optn_ok;
+        return reslt;
     }
     return optn_ok;
 }