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:
authorCampbell Barton <ideasman42@gmail.com>2015-04-09 06:55:46 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-04-09 06:55:46 +0300
commit1b72ad0c3d57e4c19a90f27106e4ffd435c0e04e (patch)
tree50ec258b02e3bee5ec726d9983c462c691002669 /intern/ghost
parent12661de0875110abb63db3ac27f71bf7d926a380 (diff)
GHOST: don't instantiate assert arg
When debugging is disabled, function calls in an assert should never run.
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 c99f3dfac95..db49627b378 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) (void)(x)
+# define GHOST_ASSERT(x, info) ((void)0)
#endif // GHOST_DEBUG
#endif // __GHOST_DEBUG_H__