summaryrefslogtreecommitdiff
path: root/cpp/test/IceUtil/condvar/WorkQueue.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2008-03-13 15:56:24 +0800
committerMatthew Newhook <matthew@zeroc.com>2008-03-13 15:56:24 +0800
commitca80b1da9e45035947e2f5f87cc257dafffc267a (patch)
tree4950ecce5a080851a7ccdeb64cb54cbe4d5c6cf0 /cpp/test/IceUtil/condvar/WorkQueue.cpp
parent- Revert prior fix for bug 2752. (diff)
downloadice-ca80b1da9e45035947e2f5f87cc257dafffc267a.tar.bz2
ice-ca80b1da9e45035947e2f5f87cc257dafffc267a.tar.xz
ice-ca80b1da9e45035947e2f5f87cc257dafffc267a.zip
get rid of some optimizer warnings.
Diffstat (limited to 'cpp/test/IceUtil/condvar/WorkQueue.cpp')
-rw-r--r--cpp/test/IceUtil/condvar/WorkQueue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/IceUtil/condvar/WorkQueue.cpp b/cpp/test/IceUtil/condvar/WorkQueue.cpp
index 917f4bdcd63..98f64f8fffe 100644
--- a/cpp/test/IceUtil/condvar/WorkQueue.cpp
+++ b/cpp/test/IceUtil/condvar/WorkQueue.cpp
@@ -183,7 +183,7 @@ public:
{
while(true)
{
- int res;
+ int res = 0;
// This is a poll.
bool tout = _q->timedGet(res, Time::seconds(0));
_dog->touch(!tout);