summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_TPC_Dispatching.cpp4
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/XML_Loader.cpp4
-rw-r--r--TAO/tao/AnyTypeCode/NVList.cpp4
3 files changed, 6 insertions, 6 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_TPC_Dispatching.cpp b/TAO/orbsvcs/orbsvcs/Event/EC_TPC_Dispatching.cpp
index 5649e048aa0..1b06a04dca7 100644
--- a/TAO/orbsvcs/orbsvcs/Event/EC_TPC_Dispatching.cpp
+++ b/TAO/orbsvcs/orbsvcs/Event/EC_TPC_Dispatching.cpp
@@ -132,7 +132,7 @@ TAO_EC_TPC_Dispatching::shutdown (void)
MAPTYPE::ITERATOR iter = this->consumer_task_map_.begin ();
while (! iter.done())
{
- MAPTYPE::ENTRY* entry;
+ MAPTYPE::ENTRY* entry = 0;
if (! iter.next(entry))
continue;
@@ -147,7 +147,7 @@ TAO_EC_TPC_Dispatching::shutdown (void)
iter = this->consumer_task_map_.begin ();
while (! iter.done())
{
- MAPTYPE::ENTRY* entry;
+ MAPTYPE::ENTRY* entry = 0;
if (! iter.next(entry))
continue;
diff --git a/TAO/orbsvcs/orbsvcs/Notify/XML_Loader.cpp b/TAO/orbsvcs/orbsvcs/Notify/XML_Loader.cpp
index fbd1138e13c..7dd33e5deb6 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/XML_Loader.cpp
+++ b/TAO/orbsvcs/orbsvcs/Notify/XML_Loader.cpp
@@ -34,7 +34,7 @@ namespace {
{
const char * name = attrs->getQName (i);
const char * value = attrs->getValue (i);
- if (ACE_OS::strcmp (name,
+ if (ACE_OS::strcmp (name,
TAO_VERSIONED_NAMESPACE_NAME::TAO_Notify::TOPOLOGY_ID_NAME) == 0)
{
id = ACE_OS::atoi (value);
@@ -180,7 +180,7 @@ namespace TAO_Notify
if (this->live_)
{
ACE_ASSERT (object_stack_.size () > 0);
- Topology_Object* cur;
+ Topology_Object* cur = 0;
if (object_stack_.top (cur) == 0)
{
ACE_DECLARE_NEW_ENV;
diff --git a/TAO/tao/AnyTypeCode/NVList.cpp b/TAO/tao/AnyTypeCode/NVList.cpp
index 492bd605ed7..b07e186305c 100644
--- a/TAO/tao/AnyTypeCode/NVList.cpp
+++ b/TAO/tao/AnyTypeCode/NVList.cpp
@@ -82,7 +82,7 @@ CORBA::NVList::~NVList (void)
for (iter.first (); !iter.done (); iter.advance ())
{
- CORBA::NamedValue_ptr *nv;
+ CORBA::NamedValue_ptr *nv = 0;
(void) iter.next (nv);
delete *nv;
}
@@ -415,7 +415,7 @@ CORBA::NVList::_tao_decode (TAO_InputCDR &incoming,
for (i.first (); !i.done (); i.advance ())
{
- CORBA::NamedValue_ptr *item;
+ CORBA::NamedValue_ptr *item = 0;
(void) i.next (item);
CORBA::NamedValue_ptr nv = *item;