OSDN Git Service

upgrade to 3.6.1
[jnethack/source.git] / include / lint.h
index c504464..93a3377 100644 (file)
@@ -1,4 +1,5 @@
-/* NetHack 3.6 lint.h  $NHDT-Date: 1449269910 2015/12/04 22:58:30 $  $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.3 $ */
+/* NetHack 3.6 lint.h  $NHDT-Date: 1524689514 2018/04/25 20:51:54 $  $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.5 $ */
+/*      Copyright (c) 2016 by Robert Patrick Rankin               */
 /* NetHack may be freely redistributed.  See license for details. */
 
 /*
@@ -22,7 +23,7 @@
 /* force an unused function argument to become used in an arbitrary
    manner in order to suppress warning about unused function arguments;
    viable for scalar and pointer arguments */
-#define nhUse(arg) nhUse_dummy += (unsigned) arg;
+#define nhUse(arg) nhUse_dummy += (unsigned) !(arg)
 extern unsigned nhUse_dummy;
 #else
 #define nhUse(arg) /*empty*/