diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2011-09-22 14:54:18 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2011-09-22 14:54:18 +0000 |
commit | 3b9005e397c289d42616c0064e883154b34d0cd2 (patch) | |
tree | 24df552d8a1435daf0b2f34d1a5fbb87e285b252 | |
parent | 6910103ac3bfeee80ac14afb859a33c2e05fb464 (diff) | |
download | ATCD-3b9005e397c289d42616c0064e883154b34d0cd2.tar.gz |
initialise pointer with 0
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp b/TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp index 993f6eb0225..3a2156b6445 100644 --- a/TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp +++ b/TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp @@ -431,9 +431,7 @@ TAO_PropertySet::define_property (const char *property_name, CosProperty_Hash_Key hash_key (property_name); CosProperty_Hash_Value hash_value (property_value, CosPropertyService::normal); - COSPROPERTY_HASH_ENTRY *entry_ptr; - //CosProperty_Hash_Key old_key; - //CosProperty_Hash_Value old_value; + COSPROPERTY_HASH_ENTRY *entry_ptr = 0; int ret = this->hash_table_.bind (hash_key, hash_value, |