diff options
Diffstat (limited to 'cpp/src/Ice/ThreadPool.cpp')
-rw-r--r-- | cpp/src/Ice/ThreadPool.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/Ice/ThreadPool.cpp b/cpp/src/Ice/ThreadPool.cpp index e80c1bed13f..dc965a78033 100644 --- a/cpp/src/Ice/ThreadPool.cpp +++ b/cpp/src/Ice/ThreadPool.cpp @@ -506,6 +506,8 @@ IceInternal::ThreadPool::finish(const EventHandlerPtr& handler, bool closeNow) _workQueue->queue(new FinishedWorkItem(handler, !closeNow)); return closeNow; #else + UNREFERENCED_PARAMETER(closeNow); + // If there are no pending asynchronous operations, we can call finish on the handler now. if(!handler->_pending) { |