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 | |
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')
-rw-r--r-- | cpp/test/Freeze/dbmap/Client.cpp | 8 | ||||
-rw-r--r-- | cpp/test/Freeze/dbmap/dbmap.dsp | 6 |
2 files changed, 6 insertions, 8 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 } diff --git a/cpp/test/Freeze/dbmap/dbmap.dsp b/cpp/test/Freeze/dbmap/dbmap.dsp index 94a7ce4acb4..9fd5a8f3617 100644 --- a/cpp/test/Freeze/dbmap/dbmap.dsp +++ b/cpp/test/Freeze/dbmap/dbmap.dsp @@ -120,8 +120,7 @@ USERDEP__DUMMY="..\..\..\bin\slice2freeze.exe" "..\..\..\lib\slice.lib" InputPath=dummy.ice
BuildCmds= \
- ..\..\..\bin\slice2freeze.exe --dict Test::ByteIntMap,byte,int --dict-index Test::ByteIntMap ByteIntMap \
-
+ ..\..\..\bin\slice2freeze.exe --dict Test::ByteIntMap,byte,int --dict-index Test::ByteIntMap ByteIntMap
"ByteIntMap.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
@@ -137,8 +136,7 @@ USERDEP__DUMMY="..\..\..\bin\slice2freeze.exe" InputPath=dummy.ice
BuildCmds= \
- ..\..\..\bin\slice2freeze.exe --dict Test::ByteIntMap,byte,int --dict-index Test::ByteIntMap ByteIntMap \
-
+ ..\..\..\bin\slice2freeze.exe --dict Test::ByteIntMap,byte,int --dict-index Test::ByteIntMap ByteIntMap
"ByteIntMap.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
|