diff options
author | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-13 18:14:01 +0000 |
---|---|---|
committer | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-13 18:14:01 +0000 |
commit | 56cc6884bb06f4aa286113ec6b6836c17198b550 (patch) | |
tree | d13468fb7ef99a3c845cacdb95bb7d3747f97736 /TAO/orbsvcs/tests/ImplRepo/nestea_i.cpp | |
parent | 76d79e118f0223583624e5f53971a5ac7dd7453e (diff) | |
download | ATCD-56cc6884bb06f4aa286113ec6b6836c17198b550.tar.gz |
Removed a warning
Diffstat (limited to 'TAO/orbsvcs/tests/ImplRepo/nestea_i.cpp')
-rw-r--r-- | TAO/orbsvcs/tests/ImplRepo/nestea_i.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/TAO/orbsvcs/tests/ImplRepo/nestea_i.cpp b/TAO/orbsvcs/tests/ImplRepo/nestea_i.cpp index 0df205d1dc7..90a6bab52da 100644 --- a/TAO/orbsvcs/tests/ImplRepo/nestea_i.cpp +++ b/TAO/orbsvcs/tests/ImplRepo/nestea_i.cpp @@ -60,10 +60,7 @@ Nestea_i::crush (CORBA::Long cans, if (TAO_debug_level) ACE_DEBUG ((LM_DEBUG, "Nestea_i::crush %d cans\n", cans)); - if (cans > this->cans_) - this->cans_ = 0; - else - this->cans_ -= cans; + this->cans_ -= cans; if (this->shutdown_ != 0) TAO_ORB_Core_instance ()->orb ()->shutdown (); |