Browse Source

Fixed GCC warning.

bkaradzic 12 years ago
parent
commit
e6eaea7591
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/renderer_d3d.h

+ 1 - 1
src/renderer_d3d.h

@@ -74,7 +74,7 @@ namespace bgfx
 				if (NULL != _ptr) \
 				if (NULL != _ptr) \
 				{ \
 				{ \
 					ULONG count = _ptr->Release(); \
 					ULONG count = _ptr->Release(); \
-					_check(_expected == count, "RefCount is %d (expected %d).", count, _expected); \
+					_check(_expected == count, "RefCount is %d (expected %d).", count, _expected); BX_UNUSED(count); \
 					_ptr = NULL; \
 					_ptr = NULL; \
 				} \
 				} \
 			} while (0)
 			} while (0)