diff options
author | Bernard Normier <bernard@zeroc.com> | 2003-04-24 16:43:00 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2003-04-24 16:43:00 +0000 |
commit | 38799e58ddb78e9ada2c63694bbf54b6746f71bf (patch) | |
tree | 40ea71b972895ad06ff92b5631bc4a73bac788f6 /cpp/test/Ice/exceptions/AllTests.cpp | |
parent | override Ice.Default.Locator to avoid iceboxadmin error message (diff) | |
download | ice-38799e58ddb78e9ada2c63694bbf54b6746f71bf.tar.bz2 ice-38799e58ddb78e9ada2c63694bbf54b6746f71bf.tar.xz ice-38799e58ddb78e9ada2c63694bbf54b6746f71bf.zip |
Eliminated numerous warnings from Sun C++ 5.4 builds
Diffstat (limited to 'cpp/test/Ice/exceptions/AllTests.cpp')
-rw-r--r-- | cpp/test/Ice/exceptions/AllTests.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/test/Ice/exceptions/AllTests.cpp b/cpp/test/Ice/exceptions/AllTests.cpp index e954f900e66..5c6badeccbe 100644 --- a/cpp/test/Ice/exceptions/AllTests.cpp +++ b/cpp/test/Ice/exceptions/AllTests.cpp @@ -1373,7 +1373,7 @@ allTests(const Ice::CommunicatorPtr& communicator, bool collocated) cout << "catching object not exist exception with AMI... " << flush; { - Ice::Identity id = Ice::stringToIdentity("does not exist"); + id = Ice::stringToIdentity("does not exist"); ThrowerPrx thrower2 = ThrowerPrx::uncheckedCast(thrower->ice_newIdentity(id)); AMI_Thrower_throwAasAObjectNotExistIPtr cb = new AMI_Thrower_throwAasAObjectNotExistI; thrower2->throwAasA_async(cb, 1); @@ -1404,8 +1404,8 @@ allTests(const Ice::CommunicatorPtr& communicator, bool collocated) { AMI_WrongOperation_noSuchOperationIPtr cb = new AMI_WrongOperation_noSuchOperationI; - WrongOperationPrx thrower2 = WrongOperationPrx::uncheckedCast(thrower); - thrower2->noSuchOperation_async(cb); + WrongOperationPrx thrower4 = WrongOperationPrx::uncheckedCast(thrower); + thrower4->noSuchOperation_async(cb); test(cb->check()); } |