[Bf-blender-cvs] [e60259c] master: Fix for previous commit - since it's for non-debug unused vars, name it UNUSED_VARS_NDEBUG.

Bastien Montagne noreply at git.blender.org
Wed Feb 11 22:25:38 CET 2015


Commit: e60259c1cd1adf9c100a2f02ca9e3c6d9f7114de
Author: Bastien Montagne
Date:   Wed Feb 11 22:22:40 2015 +0100
Branches: master
https://developer.blender.org/rBe60259c1cd1adf9c100a2f02ca9e3c6d9f7114de

Fix for previous commit - since it's for non-debug unused vars, name it UNUSED_VARS_NDEBUG.

This commit was proudly crafted by the Commit Rate Raising Committee!

===================================================================

M	source/blender/blenlib/BLI_utildefines.h

===================================================================

diff --git a/source/blender/blenlib/BLI_utildefines.h b/source/blender/blenlib/BLI_utildefines.h
index f8f654f..c91bedc 100644
--- a/source/blender/blenlib/BLI_utildefines.h
+++ b/source/blender/blenlib/BLI_utildefines.h
@@ -590,9 +590,9 @@ extern "C" {
 
 /* for debug-only variables */
 #ifndef NDEBUG
-#  define UNUSED_VARS_DEBUG(...)
+#  define UNUSED_VARS_NDEBUG(...)
 #else
-#  define UNUSED_VARS_DEBUG UNUSED_VARS
+#  define UNUSED_VARS_NDEBUG UNUSED_VARS
 #endif
 
 /*little macro so inline keyword works*/




More information about the Bf-blender-cvs mailing list