Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2015-04-08 14:00:46 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-04-08 14:00:46 +0300
commit40984f6c8650cca2784c9be7371e86e8e91bbf37 (patch)
tree4eaf8848d2c163a6e6554e48ff1db67a8e559617 /intern/ghost
parent235f1feaf4f28f0d3bf3b608ba447b9b0ef5aedc (diff)
Fix annoying warning in GHOST when ASSERT_ABORT is off
Diffstat (limited to 'intern/ghost')
-rw-r--r--intern/ghost/intern/GHOST_Debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_Debug.h b/intern/ghost/intern/GHOST_Debug.h
index 9292235a9c7..c99f3dfac95 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__