From c03bd3329ca4fb8f76bcd46f2fe715055a52d782 Mon Sep 17 00:00:00 2001 From: Dwayne Boone Date: Thu, 23 Apr 2009 10:53:02 -0230 Subject: Fixed warning check --- cpp/src/Ice/ThreadPool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/Ice/ThreadPool.cpp') diff --git a/cpp/src/Ice/ThreadPool.cpp b/cpp/src/Ice/ThreadPool.cpp index 7c3f12dadf9..1d2352d2439 100644 --- a/cpp/src/Ice/ThreadPool.cpp +++ b/cpp/src/Ice/ThreadPool.cpp @@ -63,7 +63,7 @@ IceInternal::ThreadPool::ThreadPool(const InstancePtr& instance, const string& p } int sizeWarn = _instance->initializationData().properties->getPropertyAsInt(_prefix + ".SizeWarn"); - if(sizeWarn < size) + if(sizeWarn != 0 && sizeWarn < size) { Warning out(_instance->initializationData().logger); out << _prefix << ".SizeWarn < " << _prefix << ".Size; adjusted SizeWarn to Size (" << size << ")"; -- cgit v1.2.3