[Bf-blender-cvs] [b2d6443] gooseberry: Cleanup: unused macro warning

Campbell Barton noreply at git.blender.org
Fri Mar 6 17:24:38 CET 2015


Commit: b2d6443ed05619cf346d03d223d89d0084a32dc2
Author: Campbell Barton
Date:   Fri Mar 6 02:18:40 2015 +1100
Branches: gooseberry
https://developer.blender.org/rBb2d6443ed05619cf346d03d223d89d0084a32dc2

Cleanup: unused macro warning

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

M	source/blender/compositor/intern/COM_WorkScheduler.cpp

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

diff --git a/source/blender/compositor/intern/COM_WorkScheduler.cpp b/source/blender/compositor/intern/COM_WorkScheduler.cpp
index 8445dee..673920e 100644
--- a/source/blender/compositor/intern/COM_WorkScheduler.cpp
+++ b/source/blender/compositor/intern/COM_WorkScheduler.cpp
@@ -111,7 +111,9 @@ static void **g_highlightedNodesRead;
 }
 #endif  /* COM_CURRENT_THREADING_MODEL == COM_TM_QUEUE */
 #else
+#  if COM_CURRENT_THREADING_MODEL != COM_TM_NOTHREAD
 #define HIGHLIGHT(wp) {}
+#  endif
 #endif
 
 void COM_startReadHighlights()




More information about the Bf-blender-cvs mailing list