diff options
author | Matthew Newhook <matthew@zeroc.com> | 2008-03-13 15:56:24 +0800 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2008-03-13 15:56:24 +0800 |
commit | ca80b1da9e45035947e2f5f87cc257dafffc267a (patch) | |
tree | 4950ecce5a080851a7ccdeb64cb54cbe4d5c6cf0 /cpp/test/IceUtil/condvar/WorkQueue.cpp | |
parent | - Revert prior fix for bug 2752. (diff) | |
download | ice-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.cpp | 2 |
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); |