From 925a97ad8569824e21e4d6175466f75eb0a173e0 Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 13 Nov 2013 22:23:57 +0100 Subject: [PATCH] Fixed: Verbose warning --- code/nel/include/nel/misc/debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/include/nel/misc/debug.h b/code/nel/include/nel/misc/debug.h index 8c2efc62e..690d340a3 100644 --- a/code/nel/include/nel/misc/debug.h +++ b/code/nel/include/nel/misc/debug.h @@ -586,7 +586,7 @@ template inline T type_cast(U o) #ifdef NL_ISO_CPP0X_AVAILABLE # define nlctassert(cond) static_assert(cond, "Compile time assert in "#cond) #else -# define nlctassert(cond) sizeof(uint[(cond) ? 1 : 0]) +# define nlctassert(cond) (void)sizeof(uint[(cond) ? 1 : 0]) #endif /**