summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>1999-07-10 03:34:54 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>1999-07-10 03:34:54 +0000
commitd2d6eb67ff39f73f1f763bdd4355796ce5d182b0 (patch)
treec2d35569a88cb9e9e4e5edc1506cb11911c8544a
parentc2deadeec8d86c060a75fa51c153d48676e99b05 (diff)
downloadATCD-d2d6eb67ff39f73f1f763bdd4355796ce5d182b0.tar.gz
Minor cosmetic updates.
-rw-r--r--TAO/tao/UIOP_Profile.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/TAO/tao/UIOP_Profile.cpp b/TAO/tao/UIOP_Profile.cpp
index 93282d5ced8..20359182d8b 100644
--- a/TAO/tao/UIOP_Profile.cpp
+++ b/TAO/tao/UIOP_Profile.cpp
@@ -188,11 +188,11 @@ CORBA::ULong
TAO_UIOP_Profile::hash (CORBA::ULong max,
CORBA::Environment &)
{
- CORBA::ULong hashval;
+ CORBA::ULong hashval = 0;
// Just grab a bunch of convenient bytes and hash them; could do
// more (rendezvous_point, full key, exponential hashing)
- // but no real need to do so except if performance requires a more
+ // but no real need to do so except if performance requires a more
// costly hash.
hashval = this->object_key_.length () *
@@ -314,9 +314,6 @@ TAO_UIOP_Profile::decode (TAO_InputCDR& cdr)
return -1;
}
- // We could use this->rendezvous_point(rendezvous) to set and check the
- // rendezvous point. However, it is safe to assume that it is valid
- // since it should only have been encoded if it was valid.
this->object_addr_.set (rendezvous);
// Clean up