[Bf-blender-cvs] [40984f6] master: Fix annoying warning in GHOST when ASSERT_ABORT is off
Antony Riakiotakis
noreply at git.blender.org
Wed Apr 8 13:01:01 CEST 2015
Commit: 40984f6c8650cca2784c9be7371e86e8e91bbf37
Author: Antony Riakiotakis
Date: Wed Apr 8 13:00:46 2015 +0200
Branches: master
https://developer.blender.org/rB40984f6c8650cca2784c9be7371e86e8e91bbf37
Fix annoying warning in GHOST when ASSERT_ABORT is off
===================================================================
M intern/ghost/intern/GHOST_Debug.h
===================================================================
diff --git a/intern/ghost/intern/GHOST_Debug.h b/intern/ghost/intern/GHOST_Debug.h
index 9292235..c99f3df 100644
--- a/intern/ghost/intern/GHOST_Debug.h
+++ b/intern/ghost/intern/GHOST_Debug.h
@@ -80,7 +80,7 @@
} \
} (void)0
#else // GHOST_DEBUG
-# define GHOST_ASSERT(x, info)
+# define GHOST_ASSERT(x, info) (void)(x)
#endif // GHOST_DEBUG
#endif // __GHOST_DEBUG_H__
More information about the Bf-blender-cvs
mailing list