summaryrefslogtreecommitdiff
path: root/src/VBox/Main/src-server/ClientWatcher.cpp
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2013-09-19 19:08:12 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2013-09-19 19:08:12 +0000
commit4ffbcdbfe0638d79804d8dbc3bbd173477273220 (patch)
treefd62ae67b43de887ff57a533226c981332e30674 /src/VBox/Main/src-server/ClientWatcher.cpp
parent49257f28038830a02bf0fe92cf94e79ec051315f (diff)
downloadVirtualBox-svn-4ffbcdbfe0638d79804d8dbc3bbd173477273220.tar.gz
Main/src-server/ClientWatcher: Unused var. warning.
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@48561 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Main/src-server/ClientWatcher.cpp')
-rw-r--r--src/VBox/Main/src-server/ClientWatcher.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/VBox/Main/src-server/ClientWatcher.cpp b/src/VBox/Main/src-server/ClientWatcher.cpp
index cd3f755d5f1..54bd62cb2af 100644
--- a/src/VBox/Main/src-server/ClientWatcher.cpp
+++ b/src/VBox/Main/src-server/ClientWatcher.cpp
@@ -779,6 +779,8 @@ DECLCALLBACK(int) VirtualBox::ClientWatcher::worker(RTTHREAD /* thread */, void
}
// machines lock unwinds here
+#else
+ NOREF(cnt);
#endif
}
@@ -790,6 +792,8 @@ DECLCALLBACK(int) VirtualBox::ClientWatcher::worker(RTTHREAD /* thread */, void
updateSpawned = false;
for (size_t i = 0; i < cntSpawned; ++i)
updateSpawned |= (spawnedMachines[i])->checkForSpawnFailure();
+#else
+ NOREF(cntSpawned);
#endif
/* reap child processes */