Avoid warning on certain debug builds.

The variable is used in the TRACE(), but that is only enabled for
DEBUG >= 2. This therefore avoids a warning on DEBUG=1 builds.

Inspired by patch in #8252 by Urias McCullough.
This commit is contained in:
Michael Lotz
2012-01-07 02:04:56 +01:00
parent 581a96616a
commit 91d012366c
+1
View File
@@ -254,6 +254,7 @@ NodeManager::ReleaseNodeReference(media_node_id id, team_id team)
#if DEBUG
int32 teamCount = teamRef->second - 1;
(void)teamCount;
#endif
if (--teamRef->second == 0)