diff options
author | Bernard Normier <bernard@zeroc.com> | 2004-09-28 04:36:39 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2004-09-28 04:36:39 +0000 |
commit | 1708bd45d35a10a93764c3e3297683e28aadbc79 (patch) | |
tree | 996d3d309a842de7a93ffb6e894cb83f097eb2b8 /cpp/test/Freeze/dbmap/Client.cpp | |
parent | Fixed build failure (diff) | |
download | ice-1708bd45d35a10a93764c3e3297683e28aadbc79.tar.bz2 ice-1708bd45d35a10a93764c3e3297683e28aadbc79.tar.xz ice-1708bd45d35a10a93764c3e3297683e28aadbc79.zip |
Fixed VC6 build
Diffstat (limited to 'cpp/test/Freeze/dbmap/Client.cpp')
-rw-r--r-- | cpp/test/Freeze/dbmap/Client.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/test/Freeze/dbmap/Client.cpp b/cpp/test/Freeze/dbmap/Client.cpp index 3b83d9de0d8..3a8d6218f99 100644 --- a/cpp/test/Freeze/dbmap/Client.cpp +++ b/cpp/test/Freeze/dbmap/Client.cpp @@ -491,11 +491,11 @@ run(const CommunicatorPtr& communicator, const string& envName, const string&dbN populateDB(connection, m); size_t length = alphabet.size(); - for(size_t j = 0; j < length; ++j) + for(size_t k = 0; k < length; ++k) { - p = m.findByValue(static_cast<Int>(j)); + p = m.findByValue(static_cast<Int>(k)); test(p != m.end()); - test(p->first == alphabet[j]); + test(p->first == alphabet[k]); test(++p == m.end()); } @@ -529,7 +529,7 @@ run(const CommunicatorPtr& communicator, const string& envName, const string&dbN p.set(18); test(false); } - catch(const DatabaseException& ex) + catch(const DatabaseException&) { // Expected } |