Changed the release version of ASSERT.

This was so a variable only used in ASSERT statements will not give a warning about not being used.
master
Diusrex 2014-01-05 15:07:46 -07:00
parent 2dbe5033ca
commit 1acbf07445
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ typedef unsigned short UInt16;
#ifdef _DEBUG
#define ASSERT( x ) ( !!(x) || ( LOGERROR("Assertion failed: %s, file %s, line %i", #x, __FILE__, __LINE__ ), assert(0), 0 ) )
#else
#define ASSERT(x) ((void)0)
#define ASSERT(x) ((void)(x))
#endif
// Pretty much the same as ASSERT() but stays in Release builds