summaryrefslogtreecommitdiff
path: root/src/win95/list_tem.hpp
diff options
context:
space:
mode:
authorSteven Fuller <relnev@icculus.org>2002-02-09 19:30:43 +0000
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-20 02:22:37 +0200
commite681d155d9cbc27bdacc05bd967a249c56e3f1f1 (patch)
treea9dd62eae0f354d1522a4f35ad795274e9bb63ba /src/win95/list_tem.hpp
parent47d9cc1b2c85ca67375a507d273aae082427b46f (diff)
Disable Gold-only weapons for Regular edition (Tim Beckmann)
fixed compiling with -DNDEBUG
Diffstat (limited to 'src/win95/list_tem.hpp')
-rw-r--r--src/win95/list_tem.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win95/list_tem.hpp b/src/win95/list_tem.hpp
index 020aacc..d5a150a 100644
--- a/src/win95/list_tem.hpp
+++ b/src/win95/list_tem.hpp
@@ -37,7 +37,7 @@
#endif
#ifdef NDEBUG
- #define fail if (0)
+ static void fail(...) {}
#define list_fail_get_data_from_sentinel NULL
#define list_fail_add_entry_after NULL
#define list_fail_add_entry_before NULL