summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2010-01-04 14:25:42 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2010-01-04 14:25:42 +0000
commitbe8a17aba378d0949fd38f3bf4c841829c303386 (patch)
treeb8a1df22e69c325886192da61414f8054923e83c
parentca60fca43d3763670adcd3432cef9f409f89b114 (diff)
downloadATCD-be8a17aba378d0949fd38f3bf4c841829c303386.tar.gz
Mon Jan 4 14:25:39 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl>
* TAO_IDL/be/be_visitor_argument/argument.cpp * TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp * TAO_IDL/be/be_visitor_array/array.cpp * TAO_IDL/be/be_visitor_component/component_cs.cpp * TAO_IDL/be/be_visitor_exception/exception_ctor.cpp * TAO_IDL/be/be_visitor_field/field_ch.cpp * TAO_IDL/be/be_visitor_home/home_ex_idl.cpp * TAO_IDL/be/be_visitor_interface/interface_cs.cpp * TAO_IDL/be/be_visitor_interface/smart_proxy_ch.cpp * TAO_IDL/be/be_visitor_operation/ami_cs.cpp * TAO_IDL/be/be_visitor_operation/ami_handler_reply_stub_operation_cs.cpp * TAO_IDL/be/be_visitor_operation/remote_proxy_impl_cs.cpp * TAO_IDL/be/be_visitor_operation/rettype.cpp * TAO_IDL/be/be_visitor_sequence/buffer_type.cpp * TAO_IDL/be/be_visitor_sequence/sequence_base.cpp * TAO_IDL/be/be_visitor_structure/any_op_ch.cpp * TAO_IDL/be/be_visitor_typedef/any_op_ch.cpp * TAO_IDL/be/be_visitor_typedef/any_op_cs.cpp * TAO_IDL/be/be_visitor_typedef/cdr_op_ch.cpp * TAO_IDL/be/be_visitor_typedef/cdr_op_cs.cpp * TAO_IDL/be/be_visitor_typedef/serializer_op_ch.cpp * TAO_IDL/be/be_visitor_typedef/serializer_op_cs.cpp * TAO_IDL/be/be_visitor_typedef/typedef_ch.cpp * TAO_IDL/be/be_visitor_typedef/typedef_ci.cpp * TAO_IDL/be/be_visitor_typedef/typedef_cs.cpp * TAO_IDL/be/be_visitor_union/discriminant_ch.cpp * TAO_IDL/be/be_visitor_union/discriminant_ci.cpp * TAO_IDL/be/be_visitor_union/discriminant_cs.cpp * TAO_IDL/be/be_visitor_union_branch/private_ch.cpp * TAO_IDL/be/be_visitor_union_branch/public_assign_cs.cpp * TAO_IDL/be/be_visitor_union_branch/public_ch.cpp * TAO_IDL/be/be_visitor_union_branch/public_ci.cpp * TAO_IDL/be/be_visitor_union_branch/public_constructor_cs.cpp * TAO_IDL/be/be_visitor_union_branch/public_reset_cs.cpp * TAO_IDL/be/be_visitor_valuebox/field_ch.cpp * TAO_IDL/be/be_visitor_valuebox/field_ci.cpp * TAO_IDL/be/be_visitor_valuebox/union_member_ci.cpp * TAO_IDL/be/be_visitor_valuebox/valuebox_ci.cpp * TAO_IDL/be/be_visitor_valuetype/field_ch.cpp * TAO_IDL/be/be_visitor_valuetype/field_ci.cpp * TAO_IDL/be/be_visitor_valuetype/field_cs.cpp Initialise pointer with 0
-rw-r--r--TAO/ChangeLog45
-rw-r--r--TAO/TAO_IDL/be/be_visitor_argument/argument.cpp10
-rw-r--r--TAO/TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp20
-rw-r--r--TAO/TAO_IDL/be/be_visitor_array/array.cpp4
-rw-r--r--TAO/TAO_IDL/be/be_visitor_component/component_cs.cpp2
-rw-r--r--TAO/TAO_IDL/be/be_visitor_exception/exception_ctor.cpp18
-rw-r--r--TAO/TAO_IDL/be/be_visitor_field/field_ch.cpp14
-rw-r--r--TAO/TAO_IDL/be/be_visitor_home/home_ex_idl.cpp2
-rw-r--r--TAO/TAO_IDL/be/be_visitor_interface/interface_cs.cpp2
-rw-r--r--TAO/TAO_IDL/be/be_visitor_interface/smart_proxy_ch.cpp2
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/ami_cs.cpp2
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/ami_handler_reply_stub_operation_cs.cpp4
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/remote_proxy_impl_cs.cpp6
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/rettype.cpp14
-rw-r--r--TAO/TAO_IDL/be/be_visitor_sequence/buffer_type.cpp2
-rw-r--r--TAO/TAO_IDL/be/be_visitor_sequence/sequence_base.cpp10
-rw-r--r--TAO/TAO_IDL/be/be_visitor_structure/any_op_ch.cpp2
-rw-r--r--TAO/TAO_IDL/be/be_visitor_typedef/any_op_ch.cpp12
-rw-r--r--TAO/TAO_IDL/be/be_visitor_typedef/any_op_cs.cpp12
-rw-r--r--TAO/TAO_IDL/be/be_visitor_typedef/cdr_op_ch.cpp12
-rw-r--r--TAO/TAO_IDL/be/be_visitor_typedef/cdr_op_cs.cpp10
-rw-r--r--TAO/TAO_IDL/be/be_visitor_typedef/serializer_op_ch.cpp12
-rw-r--r--TAO/TAO_IDL/be/be_visitor_typedef/serializer_op_cs.cpp10
-rw-r--r--TAO/TAO_IDL/be/be_visitor_typedef/typedef_ch.cpp20
-rw-r--r--TAO/TAO_IDL/be/be_visitor_typedef/typedef_ci.cpp10
-rw-r--r--TAO/TAO_IDL/be/be_visitor_typedef/typedef_cs.cpp16
-rw-r--r--TAO/TAO_IDL/be/be_visitor_union/discriminant_ch.cpp4
-rw-r--r--TAO/TAO_IDL/be/be_visitor_union/discriminant_ci.cpp4
-rw-r--r--TAO/TAO_IDL/be/be_visitor_union/discriminant_cs.cpp8
-rw-r--r--TAO/TAO_IDL/be/be_visitor_union_branch/private_ch.cpp22
-rw-r--r--TAO/TAO_IDL/be/be_visitor_union_branch/public_assign_cs.cpp16
-rw-r--r--TAO/TAO_IDL/be/be_visitor_union_branch/public_ch.cpp22
-rw-r--r--TAO/TAO_IDL/be/be_visitor_union_branch/public_ci.cpp18
-rw-r--r--TAO/TAO_IDL/be/be_visitor_union_branch/public_constructor_cs.cpp10
-rw-r--r--TAO/TAO_IDL/be/be_visitor_union_branch/public_reset_cs.cpp4
-rw-r--r--TAO/TAO_IDL/be/be_visitor_valuebox/field_ch.cpp38
-rw-r--r--TAO/TAO_IDL/be/be_visitor_valuebox/field_ci.cpp18
-rw-r--r--TAO/TAO_IDL/be/be_visitor_valuebox/union_member_ci.cpp18
-rw-r--r--TAO/TAO_IDL/be/be_visitor_valuebox/valuebox_ci.cpp2
-rw-r--r--TAO/TAO_IDL/be/be_visitor_valuetype/field_ch.cpp22
-rw-r--r--TAO/TAO_IDL/be/be_visitor_valuetype/field_ci.cpp24
-rw-r--r--TAO/TAO_IDL/be/be_visitor_valuetype/field_cs.cpp20
42 files changed, 284 insertions, 239 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index 57fc8c16475..9957dc95076 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,48 @@
+Mon Jan 4 14:25:39 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl>
+
+ * TAO_IDL/be/be_visitor_argument/argument.cpp
+ * TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp
+ * TAO_IDL/be/be_visitor_array/array.cpp
+ * TAO_IDL/be/be_visitor_component/component_cs.cpp
+ * TAO_IDL/be/be_visitor_exception/exception_ctor.cpp
+ * TAO_IDL/be/be_visitor_field/field_ch.cpp
+ * TAO_IDL/be/be_visitor_home/home_ex_idl.cpp
+ * TAO_IDL/be/be_visitor_interface/interface_cs.cpp
+ * TAO_IDL/be/be_visitor_interface/smart_proxy_ch.cpp
+ * TAO_IDL/be/be_visitor_operation/ami_cs.cpp
+ * TAO_IDL/be/be_visitor_operation/ami_handler_reply_stub_operation_cs.cpp
+ * TAO_IDL/be/be_visitor_operation/remote_proxy_impl_cs.cpp
+ * TAO_IDL/be/be_visitor_operation/rettype.cpp
+ * TAO_IDL/be/be_visitor_sequence/buffer_type.cpp
+ * TAO_IDL/be/be_visitor_sequence/sequence_base.cpp
+ * TAO_IDL/be/be_visitor_structure/any_op_ch.cpp
+ * TAO_IDL/be/be_visitor_typedef/any_op_ch.cpp
+ * TAO_IDL/be/be_visitor_typedef/any_op_cs.cpp
+ * TAO_IDL/be/be_visitor_typedef/cdr_op_ch.cpp
+ * TAO_IDL/be/be_visitor_typedef/cdr_op_cs.cpp
+ * TAO_IDL/be/be_visitor_typedef/serializer_op_ch.cpp
+ * TAO_IDL/be/be_visitor_typedef/serializer_op_cs.cpp
+ * TAO_IDL/be/be_visitor_typedef/typedef_ch.cpp
+ * TAO_IDL/be/be_visitor_typedef/typedef_ci.cpp
+ * TAO_IDL/be/be_visitor_typedef/typedef_cs.cpp
+ * TAO_IDL/be/be_visitor_union/discriminant_ch.cpp
+ * TAO_IDL/be/be_visitor_union/discriminant_ci.cpp
+ * TAO_IDL/be/be_visitor_union/discriminant_cs.cpp
+ * TAO_IDL/be/be_visitor_union_branch/private_ch.cpp
+ * TAO_IDL/be/be_visitor_union_branch/public_assign_cs.cpp
+ * TAO_IDL/be/be_visitor_union_branch/public_ch.cpp
+ * TAO_IDL/be/be_visitor_union_branch/public_ci.cpp
+ * TAO_IDL/be/be_visitor_union_branch/public_constructor_cs.cpp
+ * TAO_IDL/be/be_visitor_union_branch/public_reset_cs.cpp
+ * TAO_IDL/be/be_visitor_valuebox/field_ch.cpp
+ * TAO_IDL/be/be_visitor_valuebox/field_ci.cpp
+ * TAO_IDL/be/be_visitor_valuebox/union_member_ci.cpp
+ * TAO_IDL/be/be_visitor_valuebox/valuebox_ci.cpp
+ * TAO_IDL/be/be_visitor_valuetype/field_ch.cpp
+ * TAO_IDL/be/be_visitor_valuetype/field_ci.cpp
+ * TAO_IDL/be/be_visitor_valuetype/field_cs.cpp
+ Initialise pointer with 0
+
Thu Dec 31 13:20:32 UTC 2009 Vladimir Zykov <vladimir.zykov@prismtech.com>
* tests/Bug_1330_Regression/run_test.pl:
diff --git a/TAO/TAO_IDL/be/be_visitor_argument/argument.cpp b/TAO/TAO_IDL/be/be_visitor_argument/argument.cpp
index 7cabfbea573..8ec03e0e1b8 100644
--- a/TAO/TAO_IDL/be/be_visitor_argument/argument.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_argument/argument.cpp
@@ -18,8 +18,8 @@
//
// ============================================================================
-ACE_RCSID (be_visitor_argument,
- argument,
+ACE_RCSID (be_visitor_argument,
+ argument,
"$Id$")
be_visitor_args::be_visitor_args (be_visitor_context *ctx)
@@ -45,11 +45,11 @@ be_visitor_args::type_name (be_type *node,
const char *suffix)
{
static char namebuf [NAMEBUFSIZE];
- ACE_OS::memset (namebuf,
- '\0',
+ ACE_OS::memset (namebuf,
+ '\0',
NAMEBUFSIZE);
- be_type *bt;
+ be_type *bt = 0;
// Use the typedefed name if that is the one used in the IDL defn.
if (this->ctx_->alias ())
diff --git a/TAO/TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp b/TAO/TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp
index 2736db1b783..c1846c2fda7 100644
--- a/TAO/TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp
@@ -19,8 +19,8 @@
//
// ============================================================================
-ACE_RCSID (be_visitor_argument,
- vardecl_ss,
+ACE_RCSID (be_visitor_argument,
+ vardecl_ss,
"$Id$")
@@ -75,7 +75,7 @@ int be_visitor_args_vardecl_ss::visit_array (be_array *node)
{
TAO_OutStream *os = this->ctx_->stream ();
be_argument *arg = this->ctx_->be_node_as_argument ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -85,7 +85,7 @@ int be_visitor_args_vardecl_ss::visit_array (be_array *node)
{
bt = node;
}
-
+
switch (this->direction ())
{
case AST_Argument::dir_IN:
@@ -119,7 +119,7 @@ int be_visitor_args_vardecl_ss::visit_enum (be_enum *node)
{
TAO_OutStream *os = this->ctx_->stream ();
be_argument *arg = this->ctx_->be_node_as_argument ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -173,7 +173,7 @@ int be_visitor_args_vardecl_ss::visit_predefined_type (be_predefined_type *node)
{
TAO_OutStream *os = this->ctx_->stream ();
be_argument *arg = this->ctx_->be_node_as_argument ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -223,7 +223,7 @@ int be_visitor_args_vardecl_ss::visit_predefined_type (be_predefined_type *node)
case AST_Argument::dir_INOUT:
case AST_Argument::dir_OUT:
switch (pt)
- {
+ {
case AST_PredefinedType::PT_boolean:
case AST_PredefinedType::PT_short:
case AST_PredefinedType::PT_long:
@@ -258,7 +258,7 @@ int be_visitor_args_vardecl_ss::visit_sequence (be_sequence *node)
{
TAO_OutStream *os = this->ctx_->stream ();
be_argument *arg = this->ctx_->be_node_as_argument ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -386,7 +386,7 @@ be_visitor_args_vardecl_ss::emit_common (be_type *node)
{
TAO_OutStream *os = this->ctx_->stream ();
be_argument *arg = this->ctx_->be_node_as_argument ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -421,7 +421,7 @@ be_visitor_args_vardecl_ss::emit_common2 (be_type *node)
{
TAO_OutStream *os = this->ctx_->stream ();
be_argument *arg = this->ctx_->be_node_as_argument ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
diff --git a/TAO/TAO_IDL/be/be_visitor_array/array.cpp b/TAO/TAO_IDL/be/be_visitor_array/array.cpp
index 0ce6c5133ad..8cf597218ff 100644
--- a/TAO/TAO_IDL/be/be_visitor_array/array.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_array/array.cpp
@@ -185,7 +185,7 @@ int
be_visitor_array::visit_node (be_type *node)
{
TAO_OutStream *os = this->ctx_->stream ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -212,7 +212,7 @@ int
be_visitor_array::emit_common (be_type *node)
{
TAO_OutStream *os = this->ctx_->stream ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
diff --git a/TAO/TAO_IDL/be/be_visitor_component/component_cs.cpp b/TAO/TAO_IDL/be/be_visitor_component/component_cs.cpp
index d6cd9ec762b..3e55de44a9c 100644
--- a/TAO/TAO_IDL/be/be_visitor_component/component_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_component/component_cs.cpp
@@ -43,7 +43,7 @@ be_visitor_component_cs::visit_component (be_component *node)
return 0;
}
- be_type *bt;
+ be_type *bt = 0;
// Set the right type.
if (this->ctx_->alias ())
diff --git a/TAO/TAO_IDL/be/be_visitor_exception/exception_ctor.cpp b/TAO/TAO_IDL/be/be_visitor_exception/exception_ctor.cpp
index 5cdd7112219..752c9874e87 100644
--- a/TAO/TAO_IDL/be/be_visitor_exception/exception_ctor.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_exception/exception_ctor.cpp
@@ -132,7 +132,7 @@ int be_visitor_exception_ctor::visit_field (be_field *node)
int be_visitor_exception_ctor::visit_array (be_array *node)
{
TAO_OutStream *os = this->ctx_->stream ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -166,7 +166,7 @@ int be_visitor_exception_ctor::visit_array (be_array *node)
int be_visitor_exception_ctor::visit_enum (be_enum *node)
{
TAO_OutStream *os = this->ctx_->stream ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -192,7 +192,7 @@ int be_visitor_exception_ctor::visit_enum (be_enum *node)
int be_visitor_exception_ctor::visit_interface (be_interface *node)
{
TAO_OutStream *os = this->ctx_->stream ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -218,7 +218,7 @@ int be_visitor_exception_ctor::visit_interface (be_interface *node)
int be_visitor_exception_ctor::visit_interface_fwd (be_interface_fwd *node)
{
TAO_OutStream *os = this->ctx_->stream ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -259,7 +259,7 @@ int be_visitor_exception_ctor::visit_valuetype_fwd (be_valuetype_fwd *node)
int be_visitor_exception_ctor::visit_predefined_type (be_predefined_type *node)
{
TAO_OutStream *os = this->ctx_->stream ();
- be_type *bt;
+ be_type *bt = 0;
be_typedef *td = this->ctx_->alias ();
if (td != 0)
@@ -320,7 +320,7 @@ int be_visitor_exception_ctor::visit_predefined_type (be_predefined_type *node)
int be_visitor_exception_ctor::visit_sequence (be_sequence *node)
{
TAO_OutStream *os = this->ctx_->stream ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -364,7 +364,7 @@ int be_visitor_exception_ctor::visit_string (be_string *node)
int be_visitor_exception_ctor::visit_structure (be_structure *node)
{
TAO_OutStream *os = this->ctx_->stream ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -392,7 +392,7 @@ int be_visitor_exception_ctor::visit_structure (be_structure *node)
int be_visitor_exception_ctor::visit_union (be_union *node)
{
TAO_OutStream *os = this->ctx_->stream ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -437,7 +437,7 @@ int be_visitor_exception_ctor::visit_typedef (be_typedef *node)
int be_visitor_exception_ctor::emit_common (be_type *node)
{
TAO_OutStream *os = this->ctx_->stream ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
diff --git a/TAO/TAO_IDL/be/be_visitor_field/field_ch.cpp b/TAO/TAO_IDL/be/be_visitor_field/field_ch.cpp
index dbc90dd7d4d..8b7b7a590a6 100644
--- a/TAO/TAO_IDL/be/be_visitor_field/field_ch.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_field/field_ch.cpp
@@ -79,7 +79,7 @@ int
be_visitor_field_ch::visit_array (be_array *node)
{
TAO_OutStream *os = this->ctx_->stream ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -148,7 +148,7 @@ int
be_visitor_field_ch::visit_enum (be_enum *node)
{
TAO_OutStream *os = this->ctx_->stream ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -236,7 +236,7 @@ int
be_visitor_field_ch::emit_common (be_type *node)
{
TAO_OutStream *os = this->ctx_->stream ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -270,7 +270,7 @@ int
be_visitor_field_ch::visit_predefined_type (be_predefined_type *node)
{
TAO_OutStream *os = this->ctx_->stream ();
- be_type *bt;
+ be_type *bt = 0;
be_typedef *td = this->ctx_->alias ();
if (td != 0)
@@ -305,7 +305,7 @@ int
be_visitor_field_ch::visit_sequence (be_sequence *node)
{
TAO_OutStream *os = this->ctx_->stream ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -409,7 +409,7 @@ int
be_visitor_field_ch::visit_structure (be_structure *node)
{
TAO_OutStream *os = this->ctx_->stream ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -486,7 +486,7 @@ int
be_visitor_field_ch::visit_union (be_union *node)
{
TAO_OutStream *os = this->ctx_->stream ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
diff --git a/TAO/TAO_IDL/be/be_visitor_home/home_ex_idl.cpp b/TAO/TAO_IDL/be/be_visitor_home/home_ex_idl.cpp
index 18946b72863..51d1c7f9dc4 100644
--- a/TAO/TAO_IDL/be/be_visitor_home/home_ex_idl.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_home/home_ex_idl.cpp
@@ -69,7 +69,7 @@ be_visitor_home_ex_idl::visit_home (be_home *node)
int
be_visitor_home_ex_idl::visit_attribute (be_attribute *node)
{
- bool rd_only = node->readonly ();
+ bool const rd_only = node->readonly ();
// Keep output statements separate because of side effects.
// No need to check for anonymous array - anonymous types not
diff --git a/TAO/TAO_IDL/be/be_visitor_interface/interface_cs.cpp b/TAO/TAO_IDL/be/be_visitor_interface/interface_cs.cpp
index 8e5617e9a39..811a951aeea 100644
--- a/TAO/TAO_IDL/be/be_visitor_interface/interface_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_interface/interface_cs.cpp
@@ -42,7 +42,7 @@ be_visitor_interface_cs::visit_interface (be_interface *node)
return 0;
}
- be_type *bt;
+ be_type *bt = 0;
// Set the right type.
if (this->ctx_->alias ())
diff --git a/TAO/TAO_IDL/be/be_visitor_interface/smart_proxy_ch.cpp b/TAO/TAO_IDL/be/be_visitor_interface/smart_proxy_ch.cpp
index e496357fd83..9b3b5b54b2f 100644
--- a/TAO/TAO_IDL/be/be_visitor_interface/smart_proxy_ch.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_interface/smart_proxy_ch.cpp
@@ -41,7 +41,7 @@ be_visitor_interface_smart_proxy_ch::~be_visitor_interface_smart_proxy_ch (void)
int be_visitor_interface_smart_proxy_ch::visit_interface (be_interface *node)
{
TAO_OutStream *os = this->ctx_->stream ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/ami_cs.cpp b/TAO/TAO_IDL/be/be_visitor_operation/ami_cs.cpp
index c0bfaaa1bbf..a5925da6fc4 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/ami_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/ami_cs.cpp
@@ -289,7 +289,7 @@ int
be_visitor_operation_ami_cs::visit_argument (be_argument *node)
{
TAO_OutStream *os = this->ctx_->stream ();
- be_type *bt; // argument type
+ be_type *bt = 0; // argument type
// Retrieve the type for this argument.
bt = be_type::narrow_from_decl (node->field_type ());
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_reply_stub_operation_cs.cpp b/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_reply_stub_operation_cs.cpp
index 54bc8a0a4ad..a17b1f890c7 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_reply_stub_operation_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/ami_handler_reply_stub_operation_cs.cpp
@@ -61,7 +61,7 @@ be_visitor_operation_ami_handler_reply_stub_operation_cs::visit_operation (
be_operation *node
)
{
- be_type *bt;
+ be_type *bt = 0;
be_visitor_context ctx;
TAO_OutStream *os = this->ctx_->stream ();
@@ -297,7 +297,7 @@ be_visitor_operation_ami_handler_reply_stub_operation_cs::visit_argument (
)
{
TAO_OutStream *os = this->ctx_->stream ();
- be_type *bt;
+ be_type *bt = 0;
// Retrieve the type for this argument.
bt = be_type::narrow_from_decl (node->field_type ());
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/remote_proxy_impl_cs.cpp b/TAO/TAO_IDL/be/be_visitor_operation/remote_proxy_impl_cs.cpp
index 49834dd76e3..b6c72a81241 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/remote_proxy_impl_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/remote_proxy_impl_cs.cpp
@@ -79,7 +79,7 @@ be_visitor_operation_remote_proxy_impl_cs::visit_operation (
be_decl* scope = be_scope::narrow_from_scope (node->defined_in ())->decl ();
be_interface *interface = be_interface::narrow_from_decl (scope);
- *os <<" " << interface->full_remote_proxy_impl_name ()
+ *os <<" " << interface->full_remote_proxy_impl_name ()
<< "::" << node->local_name ();
// Generate the argument list with the appropriate mapping (same as
@@ -98,7 +98,7 @@ be_visitor_operation_remote_proxy_impl_cs::visit_operation (
}
// Generate the code for the operation body.
- return this->gen_stub_operation_body (node,
+ return this->gen_stub_operation_body (node,
bt);
}
@@ -108,7 +108,7 @@ be_visitor_operation_remote_proxy_impl_cs::visit_argument (be_argument *node)
// This method is used to generate the ParamData table entry.
TAO_OutStream *os = this->ctx_->stream ();
- be_type *bt;
+ be_type *bt = 0;
// Retrieve the type for this argument.
bt = be_type::narrow_from_decl (node->field_type ());
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/rettype.cpp b/TAO/TAO_IDL/be/be_visitor_operation/rettype.cpp
index 32eec296aa0..c11e30e7645 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/rettype.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/rettype.cpp
@@ -18,8 +18,8 @@
//
// ============================================================================
-ACE_RCSID (be_visitor_operation,
- rettype,
+ACE_RCSID (be_visitor_operation,
+ rettype,
"$Id$")
@@ -82,7 +82,7 @@ be_visitor_operation_rettype::visit_native (be_native *node)
int
be_visitor_operation_rettype::visit_predefined_type (be_predefined_type *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -93,9 +93,9 @@ be_visitor_operation_rettype::visit_predefined_type (be_predefined_type *node)
{
bt = node;
}
-
+
AST_PredefinedType::PredefinedType pt = node->pt ();
-
+
if (pt != AST_PredefinedType::PT_void)
{
*os << "::";
@@ -264,7 +264,7 @@ be_visitor_operation_rettype::visit_valuebox (be_valuebox *node)
const char *
be_visitor_operation_rettype::type_name (be_type *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -275,6 +275,6 @@ be_visitor_operation_rettype::type_name (be_type *node)
{
bt = node;
}
-
+
return bt->full_name ();
}
diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/buffer_type.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/buffer_type.cpp
index ad68909d8fb..c95662846b6 100644
--- a/TAO/TAO_IDL/be/be_visitor_sequence/buffer_type.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_sequence/buffer_type.cpp
@@ -42,7 +42,7 @@ int
be_visitor_sequence_buffer_type::visit_node (be_type *node)
{
TAO_OutStream *os = this->ctx_->stream ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/sequence_base.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/sequence_base.cpp
index abf654712a0..344aaa52c37 100644
--- a/TAO/TAO_IDL/be/be_visitor_sequence/sequence_base.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_sequence/sequence_base.cpp
@@ -18,8 +18,8 @@
//
// ============================================================================
-ACE_RCSID (be_visitor_sequence,
- sequence_base,
+ACE_RCSID (be_visitor_sequence,
+ sequence_base,
"$Id$")
// ****************************************************************
@@ -52,7 +52,7 @@ int
be_visitor_sequence_base::visit_node (be_type *node)
{
TAO_OutStream *os = this->ctx_->stream ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -207,7 +207,7 @@ int
be_visitor_sequence_base_template_args::visit_interface (be_interface *node)
{
TAO_OutStream *os = this->ctx_->stream ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -238,7 +238,7 @@ be_visitor_sequence_base_template_args::visit_interface_fwd (
)
{
TAO_OutStream *os = this->ctx_->stream ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
diff --git a/TAO/TAO_IDL/be/be_visitor_structure/any_op_ch.cpp b/TAO/TAO_IDL/be/be_visitor_structure/any_op_ch.cpp
index 3d30576a792..a296c638a10 100644
--- a/TAO/TAO_IDL/be/be_visitor_structure/any_op_ch.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_structure/any_op_ch.cpp
@@ -81,7 +81,7 @@ be_visitor_structure_any_op_ch::visit_structure (be_structure *node)
int
be_visitor_structure_any_op_ch::visit_field (be_field *node)
{
- be_type *bt;
+ be_type *bt = 0;
// First generate the type information.
bt = be_type::narrow_from_decl (node->field_type ());
diff --git a/TAO/TAO_IDL/be/be_visitor_typedef/any_op_ch.cpp b/TAO/TAO_IDL/be/be_visitor_typedef/any_op_ch.cpp
index d9cc78b84f0..16d6a33b9ba 100644
--- a/TAO/TAO_IDL/be/be_visitor_typedef/any_op_ch.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_typedef/any_op_ch.cpp
@@ -72,7 +72,7 @@ be_visitor_typedef_any_op_ch::visit_typedef (be_typedef *node)
// the type maybe. In the latter, we just need typedefs for the type and all
// associated _var, _out, and other types.
- be_type *bt; // base type
+ be_type *bt = 0; // base type
if (this->ctx_->tdef ())
{
@@ -144,7 +144,7 @@ be_visitor_typedef_any_op_ch::visit_typedef (be_typedef *node)
int
be_visitor_typedef_any_op_ch::visit_array (be_array *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -175,7 +175,7 @@ be_visitor_typedef_any_op_ch::visit_array (be_array *node)
int
be_visitor_typedef_any_op_ch::visit_enum (be_enum *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -205,7 +205,7 @@ be_visitor_typedef_any_op_ch::visit_enum (be_enum *node)
int
be_visitor_typedef_any_op_ch::visit_sequence (be_sequence *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -235,7 +235,7 @@ be_visitor_typedef_any_op_ch::visit_sequence (be_sequence *node)
int
be_visitor_typedef_any_op_ch::visit_structure (be_structure *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -265,7 +265,7 @@ be_visitor_typedef_any_op_ch::visit_structure (be_structure *node)
int
be_visitor_typedef_any_op_ch::visit_union (be_union *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
diff --git a/TAO/TAO_IDL/be/be_visitor_typedef/any_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_typedef/any_op_cs.cpp
index ef462d72fbd..e0947404ea1 100644
--- a/TAO/TAO_IDL/be/be_visitor_typedef/any_op_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_typedef/any_op_cs.cpp
@@ -71,7 +71,7 @@ be_visitor_typedef_any_op_cs::visit_typedef (be_typedef *node)
// the type maybe. In the latter, we just need typedefs for the type and all
// associated _var, _out, and other types.
- be_type *bt; // base type
+ be_type *bt = 0; // base type
if (this->ctx_->tdef ())
{
@@ -144,7 +144,7 @@ be_visitor_typedef_any_op_cs::visit_typedef (be_typedef *node)
int
be_visitor_typedef_any_op_cs::visit_array (be_array *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ()) // typedef of a typedef
bt = this->ctx_->alias ();
@@ -172,7 +172,7 @@ be_visitor_typedef_any_op_cs::visit_array (be_array *node)
int
be_visitor_typedef_any_op_cs::visit_enum (be_enum *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ()) // typedef of a typedef
bt = this->ctx_->alias ();
@@ -199,7 +199,7 @@ be_visitor_typedef_any_op_cs::visit_enum (be_enum *node)
int
be_visitor_typedef_any_op_cs::visit_sequence (be_sequence *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ()) // typedef of a typedef
bt = this->ctx_->alias ();
@@ -226,7 +226,7 @@ be_visitor_typedef_any_op_cs::visit_sequence (be_sequence *node)
int
be_visitor_typedef_any_op_cs::visit_structure (be_structure *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ()) // typedef of a typedef
bt = this->ctx_->alias ();
@@ -253,7 +253,7 @@ be_visitor_typedef_any_op_cs::visit_structure (be_structure *node)
int
be_visitor_typedef_any_op_cs::visit_union (be_union *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ()) // typedef of a typedef
bt = this->ctx_->alias ();
diff --git a/TAO/TAO_IDL/be/be_visitor_typedef/cdr_op_ch.cpp b/TAO/TAO_IDL/be/be_visitor_typedef/cdr_op_ch.cpp
index b752d7e0a2b..f6874a22e59 100644
--- a/TAO/TAO_IDL/be/be_visitor_typedef/cdr_op_ch.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_typedef/cdr_op_ch.cpp
@@ -71,7 +71,7 @@ be_visitor_typedef_cdr_op_ch::visit_typedef (be_typedef *node)
// the type maybe. In the latter, we just need typedefs for the type and all
// associated _var, _out, and other types.
- be_type *bt; // base type
+ be_type *bt = 0; // base type
if (this->ctx_->tdef ())
{
@@ -144,7 +144,7 @@ be_visitor_typedef_cdr_op_ch::visit_typedef (be_typedef *node)
int
be_visitor_typedef_cdr_op_ch::visit_array (be_array *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -175,7 +175,7 @@ be_visitor_typedef_cdr_op_ch::visit_array (be_array *node)
int
be_visitor_typedef_cdr_op_ch::visit_enum (be_enum *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -205,7 +205,7 @@ be_visitor_typedef_cdr_op_ch::visit_enum (be_enum *node)
int
be_visitor_typedef_cdr_op_ch::visit_sequence (be_sequence *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -235,7 +235,7 @@ be_visitor_typedef_cdr_op_ch::visit_sequence (be_sequence *node)
int
be_visitor_typedef_cdr_op_ch::visit_structure (be_structure *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -265,7 +265,7 @@ be_visitor_typedef_cdr_op_ch::visit_structure (be_structure *node)
int
be_visitor_typedef_cdr_op_ch::visit_union (be_union *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
diff --git a/TAO/TAO_IDL/be/be_visitor_typedef/cdr_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_typedef/cdr_op_cs.cpp
index 12f23bcfa90..014d7f5a4ba 100644
--- a/TAO/TAO_IDL/be/be_visitor_typedef/cdr_op_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_typedef/cdr_op_cs.cpp
@@ -67,7 +67,7 @@ be_visitor_typedef_cdr_op_cs::visit_typedef (be_typedef *node)
// the type maybe. In the latter, we just need typedefs for the type and all
// associated _var, _out, and other types.
- be_type *bt; // base type
+ be_type *bt = 0; // base type
if (this->ctx_->tdef ())
{
@@ -140,7 +140,7 @@ be_visitor_typedef_cdr_op_cs::visit_typedef (be_typedef *node)
int
be_visitor_typedef_cdr_op_cs::visit_array (be_array *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ()) // typedef of a typedef
{
@@ -172,7 +172,7 @@ be_visitor_typedef_cdr_op_cs::visit_array (be_array *node)
int
be_visitor_typedef_cdr_op_cs::visit_sequence (be_sequence *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ()) // typedef of a typedef
{
@@ -203,7 +203,7 @@ be_visitor_typedef_cdr_op_cs::visit_sequence (be_sequence *node)
int
be_visitor_typedef_cdr_op_cs::visit_structure (be_structure *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ()) // typedef of a typedef
{
@@ -234,7 +234,7 @@ be_visitor_typedef_cdr_op_cs::visit_structure (be_structure *node)
int
be_visitor_typedef_cdr_op_cs::visit_union (be_union *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ()) // typedef of a typedef
{
diff --git a/TAO/TAO_IDL/be/be_visitor_typedef/serializer_op_ch.cpp b/TAO/TAO_IDL/be/be_visitor_typedef/serializer_op_ch.cpp
index a2b45655ff5..b57fb33f32a 100644
--- a/TAO/TAO_IDL/be/be_visitor_typedef/serializer_op_ch.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_typedef/serializer_op_ch.cpp
@@ -72,7 +72,7 @@ be_visitor_typedef_serializer_op_ch::visit_typedef (be_typedef *node)
// the type maybe. In the latter, we just need typedefs for the type and all
// associated _var, _out, and other types.
- be_type *bt; // base type
+ be_type *bt = 0; // base type
if (this->ctx_->tdef ())
{
@@ -145,7 +145,7 @@ be_visitor_typedef_serializer_op_ch::visit_typedef (be_typedef *node)
int
be_visitor_typedef_serializer_op_ch::visit_array (be_array *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -176,7 +176,7 @@ be_visitor_typedef_serializer_op_ch::visit_array (be_array *node)
int
be_visitor_typedef_serializer_op_ch::visit_enum (be_enum *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -206,7 +206,7 @@ be_visitor_typedef_serializer_op_ch::visit_enum (be_enum *node)
int
be_visitor_typedef_serializer_op_ch::visit_sequence (be_sequence *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -236,7 +236,7 @@ be_visitor_typedef_serializer_op_ch::visit_sequence (be_sequence *node)
int
be_visitor_typedef_serializer_op_ch::visit_structure (be_structure *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -266,7 +266,7 @@ be_visitor_typedef_serializer_op_ch::visit_structure (be_structure *node)
int
be_visitor_typedef_serializer_op_ch::visit_union (be_union *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
diff --git a/TAO/TAO_IDL/be/be_visitor_typedef/serializer_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_typedef/serializer_op_cs.cpp
index b1bb8a1c76b..8e44708dead 100644
--- a/TAO/TAO_IDL/be/be_visitor_typedef/serializer_op_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_typedef/serializer_op_cs.cpp
@@ -68,7 +68,7 @@ be_visitor_typedef_serializer_op_cs::visit_typedef (be_typedef *node)
// the type maybe. In the latter, we just need typedefs for the type and all
// associated _var, _out, and other types.
- be_type *bt; // base type
+ be_type *bt = 0; // base type
if (this->ctx_->tdef ())
{
@@ -141,7 +141,7 @@ be_visitor_typedef_serializer_op_cs::visit_typedef (be_typedef *node)
int
be_visitor_typedef_serializer_op_cs::visit_array (be_array *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ()) // typedef of a typedef
{
@@ -173,7 +173,7 @@ be_visitor_typedef_serializer_op_cs::visit_array (be_array *node)
int
be_visitor_typedef_serializer_op_cs::visit_sequence (be_sequence *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ()) // typedef of a typedef
{
@@ -204,7 +204,7 @@ be_visitor_typedef_serializer_op_cs::visit_sequence (be_sequence *node)
int
be_visitor_typedef_serializer_op_cs::visit_structure (be_structure *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ()) // typedef of a typedef
{
@@ -235,7 +235,7 @@ be_visitor_typedef_serializer_op_cs::visit_structure (be_structure *node)
int
be_visitor_typedef_serializer_op_cs::visit_union (be_union *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ()) // typedef of a typedef
{
diff --git a/TAO/TAO_IDL/be/be_visitor_typedef/typedef_ch.cpp b/TAO/TAO_IDL/be/be_visitor_typedef/typedef_ch.cpp
index ba71d200918..beb6b042d04 100644
--- a/TAO/TAO_IDL/be/be_visitor_typedef/typedef_ch.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_typedef/typedef_ch.cpp
@@ -59,7 +59,7 @@ be_visitor_typedef_ch::visit_typedef (be_typedef *node)
// the type maybe. In the latter, we just need typedefs for the type and all
// associated _var, _out, and other types.
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->tdef ())
{
@@ -150,7 +150,7 @@ be_visitor_typedef_ch::visit_array (be_array *node)
TAO_OutStream *os = this->ctx_->stream ();
be_typedef *tdef = this->ctx_->tdef ();
be_decl *scope = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Is the base type an alias to an array node or an actual array node.
if (this->ctx_->alias ())
@@ -270,7 +270,7 @@ be_visitor_typedef_ch::visit_enum (be_enum *node)
TAO_OutStream *os = this->ctx_->stream ();
be_typedef *tdef = this->ctx_->tdef ();
be_decl *scope = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Typedef of a typedef?
if (this->ctx_->alias ())
@@ -314,7 +314,7 @@ be_visitor_typedef_ch::visit_interface (be_interface *node)
TAO_OutStream *os = this->ctx_->stream ();
be_typedef *tdef = this->ctx_->tdef ();
be_decl *scope = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Typedef of a typedef?
if (this->ctx_->alias ())
@@ -363,7 +363,7 @@ be_visitor_typedef_ch::visit_predefined_type (be_predefined_type *node)
TAO_OutStream *os = this->ctx_->stream ();
be_typedef *tdef = this->ctx_->tdef ();
be_decl *scope = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Typedef of a typedef?
if (this->ctx_->alias ())
@@ -442,7 +442,7 @@ be_visitor_typedef_ch::visit_sequence (be_sequence *node)
TAO_OutStream *os = this->ctx_->stream ();
be_typedef *tdef = this->ctx_->tdef ();
be_decl *scope = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Typedef of a typedef?
if (this->ctx_->alias ())
@@ -490,7 +490,7 @@ be_visitor_typedef_ch::visit_structure (be_structure *node)
TAO_OutStream *os = this->ctx_->stream ();
be_typedef *tdef = this->ctx_->tdef ();
be_decl *scope = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Typedef of a typedef?
if (this->ctx_->alias ())
@@ -536,7 +536,7 @@ be_visitor_typedef_ch::visit_union (be_union *node)
TAO_OutStream *os = this->ctx_->stream ();
be_typedef *tdef = this->ctx_->tdef ();
be_decl *scope = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Typedef of a typedef?
if (this->ctx_->alias ())
@@ -582,7 +582,7 @@ be_visitor_typedef_ch::visit_valuebox (be_valuebox *node)
TAO_OutStream *os = this->ctx_->stream ();
be_typedef *tdef = this->ctx_->tdef ();
be_decl *scope = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Typedef of a typedef?
if (this->ctx_->alias ())
@@ -618,7 +618,7 @@ be_visitor_typedef_ch::visit_valuetype (be_valuetype *node)
TAO_OutStream *os = this->ctx_->stream ();
be_typedef *tdef = this->ctx_->tdef ();
be_decl *scope = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Typedef of a typedef?
if (this->ctx_->alias ())
diff --git a/TAO/TAO_IDL/be/be_visitor_typedef/typedef_ci.cpp b/TAO/TAO_IDL/be/be_visitor_typedef/typedef_ci.cpp
index bbda773b42f..fff13e232c4 100644
--- a/TAO/TAO_IDL/be/be_visitor_typedef/typedef_ci.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_typedef/typedef_ci.cpp
@@ -59,7 +59,7 @@ be_visitor_typedef_ci::visit_typedef (be_typedef *node)
// the type maybe. In the latter, we just need typedefs for the type and all
// associated _var, _out, and other types.
- be_type *bt; // base type
+ be_type *bt = 0; // base type
if (this->ctx_->tdef ())
{
@@ -133,7 +133,7 @@ be_visitor_typedef_ci::visit_array (be_array *node)
{
TAO_OutStream *os = this->ctx_->stream (); // output stream
be_typedef *tdef = this->ctx_->tdef (); // typedef node
- be_type *bt;
+ be_type *bt = 0;
// This doesn't catch 'typedef of a typedef' if the node is
// imported, so we check for that below before generating
@@ -227,7 +227,7 @@ be_visitor_typedef_ci::visit_array (be_array *node)
int
be_visitor_typedef_ci::visit_sequence (be_sequence *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ()) // typedef of a typedef
{
@@ -258,7 +258,7 @@ be_visitor_typedef_ci::visit_sequence (be_sequence *node)
int
be_visitor_typedef_ci::visit_structure (be_structure *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ()) // typedef of a typedef
{
@@ -289,7 +289,7 @@ be_visitor_typedef_ci::visit_structure (be_structure *node)
int
be_visitor_typedef_ci::visit_union (be_union *node)
{
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ()) // typedef of a typedef
{
diff --git a/TAO/TAO_IDL/be/be_visitor_typedef/typedef_cs.cpp b/TAO/TAO_IDL/be/be_visitor_typedef/typedef_cs.cpp
index 647a18ab3c1..c17693c7226 100644
--- a/TAO/TAO_IDL/be/be_visitor_typedef/typedef_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_typedef/typedef_cs.cpp
@@ -18,8 +18,8 @@
//
// ============================================================================
-ACE_RCSID (be_visitor_typedef,
- typedef_cs,
+ACE_RCSID (be_visitor_typedef,
+ typedef_cs,
"$Id$")
// ******************************************************
@@ -59,7 +59,7 @@ be_visitor_typedef_cs::visit_typedef (be_typedef *node)
// the type maybe. In the latter, we just need typedefs for the type and all
// associated _var, _out, and other types.
- be_type *bt; // base type
+ be_type *bt = 0; // base type
if (this->ctx_->tdef ())
{
@@ -78,7 +78,7 @@ be_visitor_typedef_cs::visit_typedef (be_typedef *node)
ACE_ERROR_RETURN ((LM_ERROR,
"(%N:%l) be_visitor_typedef_ch::"
"visit_typedef - "
- "bad primitive base type\n"),
+ "bad primitive base type\n"),
-1);
}
@@ -88,7 +88,7 @@ be_visitor_typedef_cs::visit_typedef (be_typedef *node)
ACE_ERROR_RETURN ((LM_ERROR,
"(%N:%l) be_visitor_typedef_ch::"
"visit_typedef - "
- "failed to accept visitor\n"),
+ "failed to accept visitor\n"),
-1);
}
@@ -108,7 +108,7 @@ be_visitor_typedef_cs::visit_typedef (be_typedef *node)
ACE_ERROR_RETURN ((LM_ERROR,
"(%N:%l) be_visitor_typedef_ch::"
"visit_typedef - "
- "bad base type\n"),
+ "bad base type\n"),
-1);
}
@@ -118,7 +118,7 @@ be_visitor_typedef_cs::visit_typedef (be_typedef *node)
ACE_ERROR_RETURN ((LM_ERROR,
"(%N:%l) be_visitor_typedef_ch::"
"visit_typedef - "
- "failed to accept visitor\n"),
+ "failed to accept visitor\n"),
-1);
}
@@ -133,7 +133,7 @@ be_visitor_typedef_cs::visit_typedef (be_typedef *node)
ACE_ERROR_RETURN ((LM_ERROR,
"(%N:%l) be_visitor_typedef_cs::"
"visit_typedef - "
- "TypeCode definition failed\n"),
+ "TypeCode definition failed\n"),
-1);
}
diff --git a/TAO/TAO_IDL/be/be_visitor_union/discriminant_ch.cpp b/TAO/TAO_IDL/be/be_visitor_union/discriminant_ch.cpp
index 5cb90656c74..3000070664f 100644
--- a/TAO/TAO_IDL/be/be_visitor_union/discriminant_ch.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_union/discriminant_ch.cpp
@@ -42,7 +42,7 @@ be_visitor_union_discriminant_ch::visit_enum (be_enum *node)
{
// Get the enclosing union backend.
be_union *bu = this->ctx_->be_node_as_union ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -96,7 +96,7 @@ be_visitor_union_discriminant_ch::visit_predefined_type (be_predefined_type
{
// get the enclosing union backend.
be_union *bu = this->ctx_->be_node_as_union ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
diff --git a/TAO/TAO_IDL/be/be_visitor_union/discriminant_ci.cpp b/TAO/TAO_IDL/be/be_visitor_union/discriminant_ci.cpp
index 1b5c70a3a50..ceb5d435f18 100644
--- a/TAO/TAO_IDL/be/be_visitor_union/discriminant_ci.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_union/discriminant_ci.cpp
@@ -42,7 +42,7 @@ be_visitor_union_discriminant_ci::visit_enum (be_enum *node)
{
be_union *bu =
this->ctx_->be_node_as_union ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -136,7 +136,7 @@ be_visitor_union_discriminant_ci::visit_predefined_type (
be_union *bu =
this->ctx_->be_node_as_union ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
diff --git a/TAO/TAO_IDL/be/be_visitor_union/discriminant_cs.cpp b/TAO/TAO_IDL/be/be_visitor_union/discriminant_cs.cpp
index e49c96162e9..cd5170d0c32 100644
--- a/TAO/TAO_IDL/be/be_visitor_union/discriminant_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_union/discriminant_cs.cpp
@@ -18,8 +18,8 @@
//
// ============================================================================
-ACE_RCSID (be_visitor_union,
- discriminant_cs,
+ACE_RCSID (be_visitor_union,
+ discriminant_cs,
"$Id$")
// *************************************************************************
@@ -42,7 +42,7 @@ be_visitor_union_discriminant_cs::visit_enum (be_enum *node)
{
be_union *bu =
this->ctx_->be_node_as_union (); // get the enclosing union backend
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -69,7 +69,7 @@ be_visitor_union_discriminant_cs::visit_enum (be_enum *node)
ACE_ERROR_RETURN ((LM_ERROR,
"(%N:%l) be_visitor_union_discriminant_cs::"
"visit_enum - "
- "codegen failed\n"),
+ "codegen failed\n"),
-1);
}
}
diff --git a/TAO/TAO_IDL/be/be_visitor_union_branch/private_ch.cpp b/TAO/TAO_IDL/be/be_visitor_union_branch/private_ch.cpp
index c6a0be19dff..cf156d87d95 100644
--- a/TAO/TAO_IDL/be/be_visitor_union_branch/private_ch.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_union_branch/private_ch.cpp
@@ -74,7 +74,7 @@ be_visitor_union_branch_private_ch::visit_array (be_array *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -124,7 +124,7 @@ be_visitor_union_branch_private_ch::visit_enum (be_enum *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node
if (this->ctx_->alias ())
@@ -163,7 +163,7 @@ be_visitor_union_branch_private_ch::visit_interface (be_interface *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node
if (this->ctx_->alias ())
@@ -202,7 +202,7 @@ be_visitor_union_branch_private_ch::visit_interface_fwd (be_interface_fwd *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node
if (this->ctx_->alias ())
@@ -241,7 +241,7 @@ be_visitor_union_branch_private_ch::visit_valuebox (be_valuebox *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node
if (this->ctx_->alias ())
@@ -280,7 +280,7 @@ be_visitor_union_branch_private_ch::visit_valuetype (be_valuetype *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node
if (this->ctx_->alias ())
@@ -319,7 +319,7 @@ be_visitor_union_branch_private_ch::visit_valuetype_fwd (be_valuetype_fwd *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node
if (this->ctx_->alias ())
@@ -360,7 +360,7 @@ be_visitor_union_branch_private_ch::visit_predefined_type (
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
be_typedef *td = this->ctx_->alias ();
// Check if we are visiting this node via a visit to a typedef node
@@ -428,7 +428,7 @@ be_visitor_union_branch_private_ch::visit_sequence (be_sequence *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node
if (this->ctx_->alias ())
@@ -503,7 +503,7 @@ be_visitor_union_branch_private_ch::visit_structure (be_structure *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node
if (this->ctx_->alias ())
@@ -573,7 +573,7 @@ be_visitor_union_branch_private_ch::visit_union (be_union *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node
if (this->ctx_->alias ())
diff --git a/TAO/TAO_IDL/be/be_visitor_union_branch/public_assign_cs.cpp b/TAO/TAO_IDL/be/be_visitor_union_branch/public_assign_cs.cpp
index 202730f42c5..b2c29d4029a 100644
--- a/TAO/TAO_IDL/be/be_visitor_union_branch/public_assign_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_union_branch/public_assign_cs.cpp
@@ -112,7 +112,7 @@ be_visitor_union_branch_public_assign_cs::visit_array (be_array *node)
this->ctx_->be_node_as_union_branch (); // get union branch
be_union *bu =
this->ctx_->be_scope_as_union (); // get the enclosing union backend
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -212,7 +212,7 @@ be_visitor_union_branch_public_assign_cs::visit_interface (be_interface *node)
this->ctx_->be_node_as_union_branch (); // get union branch
be_union *bu =
this->ctx_->be_scope_as_union (); // get the enclosing union backend
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -309,7 +309,7 @@ be_visitor_union_branch_public_assign_cs::visit_interface_fwd (
this->ctx_->be_node_as_union_branch (); // get union branch
be_union *bu =
this->ctx_->be_scope_as_union (); // get the enclosing union backend
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -424,7 +424,7 @@ be_visitor_union_branch_public_assign_cs::emit_valuetype_common (be_type *node)
this->ctx_->be_node_as_union_branch (); // get union branch
be_union *bu =
this->ctx_->be_scope_as_union (); // get the enclosing union backend
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -494,7 +494,7 @@ be_visitor_union_branch_public_assign_cs::visit_predefined_type (
this->ctx_->be_node_as_union_branch (); // get union branch
be_union *bu =
this->ctx_->be_scope_as_union (); // get the enclosing union backend
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -606,7 +606,7 @@ be_visitor_union_branch_public_assign_cs::visit_sequence (be_sequence *node)
this->ctx_->be_node_as_union_branch (); // get union branch
be_union *bu =
this->ctx_->be_scope_as_union (); // get the enclosing union backend
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -707,7 +707,7 @@ be_visitor_union_branch_public_assign_cs::visit_structure (be_structure *node)
this->ctx_->be_node_as_union_branch (); // get union branch
be_union *bu =
this->ctx_->be_scope_as_union (); // get the enclosing union backend
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -802,7 +802,7 @@ be_visitor_union_branch_public_assign_cs::visit_union (be_union *node)
this->ctx_->be_node_as_union_branch (); // get union branch
be_union *bu =
this->ctx_->be_scope_as_union (); // get the enclosing union backend
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
diff --git a/TAO/TAO_IDL/be/be_visitor_union_branch/public_ch.cpp b/TAO/TAO_IDL/be/be_visitor_union_branch/public_ch.cpp
index 5bb3f5c14fa..01f91516988 100644
--- a/TAO/TAO_IDL/be/be_visitor_union_branch/public_ch.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_union_branch/public_ch.cpp
@@ -73,7 +73,7 @@ be_visitor_union_branch_public_ch::visit_array (be_array *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -155,7 +155,7 @@ be_visitor_union_branch_public_ch::visit_enum (be_enum *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -217,7 +217,7 @@ be_visitor_union_branch_public_ch::visit_interface (be_interface *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -260,7 +260,7 @@ be_visitor_union_branch_public_ch::visit_interface_fwd (be_interface_fwd *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -303,7 +303,7 @@ be_visitor_union_branch_public_ch::visit_valuebox (be_valuebox *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -346,7 +346,7 @@ be_visitor_union_branch_public_ch::visit_valuetype (be_valuetype *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -389,7 +389,7 @@ be_visitor_union_branch_public_ch::visit_valuetype_fwd (be_valuetype_fwd *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -432,7 +432,7 @@ be_visitor_union_branch_public_ch::visit_predefined_type (be_predefined_type *no
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
be_typedef *td = this->ctx_->alias ();
// Check if we are visiting this via a visit to a typedef node.
@@ -504,7 +504,7 @@ be_visitor_union_branch_public_ch::visit_sequence (be_sequence *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -622,7 +622,7 @@ be_visitor_union_branch_public_ch::visit_structure (be_structure *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -704,7 +704,7 @@ be_visitor_union_branch_public_ch::visit_union (be_union *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
diff --git a/TAO/TAO_IDL/be/be_visitor_union_branch/public_ci.cpp b/TAO/TAO_IDL/be/be_visitor_union_branch/public_ci.cpp
index e2ea59b744e..4f34840fb76 100644
--- a/TAO/TAO_IDL/be/be_visitor_union_branch/public_ci.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_union_branch/public_ci.cpp
@@ -75,7 +75,7 @@ be_visitor_union_branch_public_ci::visit_array (be_array *node)
{
be_union_branch *ub = this->ctx_->be_node_as_union_branch ();
be_union *bu = this->ctx_->be_scope_as_union ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -208,7 +208,7 @@ be_visitor_union_branch_public_ci::visit_enum (be_enum *node)
{
be_union_branch *ub = this->ctx_->be_node_as_union_branch ();
be_union *bu = this->ctx_->be_scope_as_union ();
- be_type *bt;
+ be_type *bt = 0;
// heck if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -277,7 +277,7 @@ be_visitor_union_branch_public_ci::visit_interface (be_interface *node)
{
be_union_branch *ub = this->ctx_->be_node_as_union_branch ();
be_union *bu = this->ctx_->be_scope_as_union ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -365,7 +365,7 @@ be_visitor_union_branch_public_ci::visit_interface_fwd (be_interface_fwd *node)
{
be_union_branch *ub = this->ctx_->be_node_as_union_branch ();
be_union *bu = this->ctx_->be_scope_as_union ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -471,7 +471,7 @@ be_visitor_union_branch_public_ci::emit_valuetype_common (be_type *node)
{
be_union_branch *ub = this->ctx_->be_node_as_union_branch ();
be_union *bu = this->ctx_->be_scope_as_union ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -548,7 +548,7 @@ be_visitor_union_branch_public_ci::visit_predefined_type (
{
be_union_branch *ub = this->ctx_->be_node_as_union_branch ();
be_union *bu = this->ctx_->be_scope_as_union ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -758,7 +758,7 @@ be_visitor_union_branch_public_ci::visit_sequence (be_sequence *node)
{
be_union_branch *ub = this->ctx_->be_node_as_union_branch ();
be_union *bu = this->ctx_->be_scope_as_union ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -1007,7 +1007,7 @@ be_visitor_union_branch_public_ci::visit_structure (be_structure *node)
{
be_union_branch *ub = this->ctx_->be_node_as_union_branch ();
be_union *bu = this->ctx_->be_scope_as_union ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -1163,7 +1163,7 @@ be_visitor_union_branch_public_ci::visit_union (be_union *node)
{
be_union_branch *ub = this->ctx_->be_node_as_union_branch ();
be_union *bu = this->ctx_->be_scope_as_union ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
diff --git a/TAO/TAO_IDL/be/be_visitor_union_branch/public_constructor_cs.cpp b/TAO/TAO_IDL/be/be_visitor_union_branch/public_constructor_cs.cpp
index c225deac5b0..ba09ab2867a 100644
--- a/TAO/TAO_IDL/be/be_visitor_union_branch/public_constructor_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_union_branch/public_constructor_cs.cpp
@@ -80,7 +80,7 @@ be_visitor_union_branch_public_constructor_cs::visit_array (be_array *node)
this->ctx_->be_node_as_union_branch (); // get union branch
be_union *bu =
this->ctx_->be_scope_as_union (); // get the enclosing union backend
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -152,7 +152,7 @@ be_visitor_union_branch_public_constructor_cs::visit_predefined_type (
this->ctx_->be_node_as_union_branch (); // get union branch
be_union *bu =
this->ctx_->be_scope_as_union (); // get the enclosing union backend
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -198,7 +198,7 @@ be_visitor_union_branch_public_constructor_cs::visit_sequence (be_sequence *node
this->ctx_->be_node_as_union_branch (); // get union branch
be_union *bu =
this->ctx_->be_scope_as_union (); // get the enclosing union backend
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -235,7 +235,7 @@ be_visitor_union_branch_public_constructor_cs::visit_structure (be_structure *no
this->ctx_->be_node_as_union_branch (); // get union branch
be_union *bu =
this->ctx_->be_scope_as_union (); // get the enclosing union backend
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -297,7 +297,7 @@ be_visitor_union_branch_public_constructor_cs::visit_union (be_union *node)
this->ctx_->be_node_as_union_branch (); // get union branch
be_union *bu =
this->ctx_->be_scope_as_union (); // get the enclosing union backend
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
diff --git a/TAO/TAO_IDL/be/be_visitor_union_branch/public_reset_cs.cpp b/TAO/TAO_IDL/be/be_visitor_union_branch/public_reset_cs.cpp
index da84bfa0b13..c29b1a933ac 100644
--- a/TAO/TAO_IDL/be/be_visitor_union_branch/public_reset_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_union_branch/public_reset_cs.cpp
@@ -97,7 +97,7 @@ be_visitor_union_branch_public_reset_cs::visit_array (be_array *node)
this->ctx_->be_node_as_union_branch ();
be_union *bu =
this->ctx_->be_scope_as_union ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
@@ -454,7 +454,7 @@ be_visitor_union_branch_public_reset_cs::visit_structure (be_structure *node)
this->ctx_->be_node_as_union_branch ();
be_union *bu =
this->ctx_->be_scope_as_union ();
- be_type *bt;
+ be_type *bt = 0;
if (this->ctx_->alias ())
{
diff --git a/TAO/TAO_IDL/be/be_visitor_valuebox/field_ch.cpp b/TAO/TAO_IDL/be/be_visitor_valuebox/field_ch.cpp
index 1ac3ef40268..cf6aff77ea0 100644
--- a/TAO/TAO_IDL/be/be_visitor_valuebox/field_ch.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_valuebox/field_ch.cpp
@@ -25,8 +25,8 @@
//
// ============================================================================
-ACE_RCSID (be_visitor_valuebox,
- field_ch,
+ACE_RCSID (be_visitor_valuebox,
+ field_ch,
"$Id$")
@@ -76,7 +76,7 @@ int
be_visitor_valuebox_field_ch::visit_array (be_array *node)
{
be_decl *field = this->ctx_->node ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -101,8 +101,8 @@ be_visitor_valuebox_field_ch::visit_array (be_array *node)
char fname [NAMEBUFSIZE];
- ACE_OS::memset (fname,
- '\0',
+ ACE_OS::memset (fname,
+ '\0',
NAMEBUFSIZE);
if (bt->node_type () != AST_Decl::NT_typedef)
@@ -114,22 +114,22 @@ be_visitor_valuebox_field_ch::visit_array (be_array *node)
{
be_decl *parent =
be_scope::narrow_from_scope (bt->defined_in ())->decl ();
- ACE_OS::sprintf (fname,
- "%s::_%s",
+ ACE_OS::sprintf (fname,
+ "%s::_%s",
parent->full_name (),
bt->local_name ()->get_string ());
}
else
{
- ACE_OS::sprintf (fname,
- "_%s",
+ ACE_OS::sprintf (fname,
+ "_%s",
bt->full_name ());
}
}
else
{ // Typedefed node.
- ACE_OS::sprintf (fname,
- "%s",
+ ACE_OS::sprintf (fname,
+ "%s",
bt->full_name ());
}
@@ -149,7 +149,7 @@ int
be_visitor_valuebox_field_ch::visit_enum (be_enum *node)
{
be_decl *field = this->ctx_->node ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -185,7 +185,7 @@ int
be_visitor_valuebox_field_ch::visit_interface (be_interface *node)
{
be_decl *field = this->ctx_->node ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -221,7 +221,7 @@ int
be_visitor_valuebox_field_ch::visit_interface_fwd (be_interface_fwd *node)
{
be_decl *field = this->ctx_->node ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -271,7 +271,7 @@ int
be_visitor_valuebox_field_ch::visit_predefined_type (be_predefined_type *node)
{
be_decl *field = this->ctx_->node ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -324,7 +324,7 @@ int
be_visitor_valuebox_field_ch::visit_sequence (be_sequence *node)
{
be_decl *field = this->ctx_->node ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -362,7 +362,7 @@ int
be_visitor_valuebox_field_ch::visit_string (be_string *node)
{
be_decl *field = this->ctx_->node ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -413,7 +413,7 @@ int
be_visitor_valuebox_field_ch::visit_structure (be_structure *node)
{
be_decl *field = this->ctx_->node ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -471,7 +471,7 @@ int
be_visitor_valuebox_field_ch::visit_union (be_union *node)
{
be_decl *field = this->ctx_->node ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
diff --git a/TAO/TAO_IDL/be/be_visitor_valuebox/field_ci.cpp b/TAO/TAO_IDL/be/be_visitor_valuebox/field_ci.cpp
index c183b8ef2cc..8abb9c245df 100644
--- a/TAO/TAO_IDL/be/be_visitor_valuebox/field_ci.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_valuebox/field_ci.cpp
@@ -69,7 +69,7 @@ be_visitor_valuebox_field_ci::visit_array (be_array *node)
{
be_decl *field = this->ctx_->node ();
be_valuebox *vb_node = be_valuebox::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -158,7 +158,7 @@ be_visitor_valuebox_field_ci::visit_enum (be_enum *node)
{
be_decl *field = this->ctx_->node ();
be_valuebox *vb_node = be_valuebox::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -196,7 +196,7 @@ be_visitor_valuebox_field_ci::visit_interface (be_interface *node)
{
be_decl *field = this->ctx_->node ();
be_valuebox *vb_node = be_valuebox::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -243,7 +243,7 @@ be_visitor_valuebox_field_ci::visit_interface_fwd (be_interface_fwd *node)
{
be_decl *field = this->ctx_->node ();
be_valuebox *vb_node = be_valuebox::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -318,7 +318,7 @@ be_visitor_valuebox_field_ci::visit_predefined_type (be_predefined_type *node)
{
be_decl *field = this->ctx_->node ();
be_valuebox *vb_node = be_valuebox::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -382,7 +382,7 @@ be_visitor_valuebox_field_ci::visit_sequence (be_sequence *node)
{
be_decl *field = this->ctx_->node ();
be_valuebox *vb_node = be_valuebox::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -420,7 +420,7 @@ be_visitor_valuebox_field_ci::visit_string (be_string *node)
{
be_decl *field = this->ctx_->node ();
be_valuebox *vb_node = be_valuebox::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -479,7 +479,7 @@ be_visitor_valuebox_field_ci::visit_structure (be_structure *node)
{
be_decl *field = this->ctx_->node ();
be_valuebox *vb_node = be_valuebox::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -536,7 +536,7 @@ be_visitor_valuebox_field_ci::visit_union (be_union *node)
{
be_decl *field = this->ctx_->node ();
be_valuebox *vb_node = be_valuebox::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
diff --git a/TAO/TAO_IDL/be/be_visitor_valuebox/union_member_ci.cpp b/TAO/TAO_IDL/be/be_visitor_valuebox/union_member_ci.cpp
index 792894f619a..1396c851156 100644
--- a/TAO/TAO_IDL/be/be_visitor_valuebox/union_member_ci.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_valuebox/union_member_ci.cpp
@@ -69,7 +69,7 @@ be_visitor_valuebox_union_member_ci::visit_array (be_array *node)
{
be_decl *field = this->ctx_->node ();
be_valuebox *vb_node = be_valuebox::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -157,7 +157,7 @@ be_visitor_valuebox_union_member_ci::visit_enum (be_enum *node)
{
be_decl *field = this->ctx_->node ();
be_valuebox *vb_node = be_valuebox::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -195,7 +195,7 @@ be_visitor_valuebox_union_member_ci::visit_interface (be_interface *node)
{
be_decl *field = this->ctx_->node ();
be_valuebox *vb_node = be_valuebox::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -232,7 +232,7 @@ be_visitor_valuebox_union_member_ci::visit_interface_fwd (be_interface_fwd *node
{
be_decl *field = this->ctx_->node ();
be_valuebox *vb_node = be_valuebox::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -283,7 +283,7 @@ be_visitor_valuebox_union_member_ci::visit_predefined_type (be_predefined_type *
{
be_decl *field = this->ctx_->node ();
be_valuebox *vb_node = be_valuebox::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -337,7 +337,7 @@ be_visitor_valuebox_union_member_ci::visit_sequence (be_sequence *node)
{
be_decl *field = this->ctx_->node ();
be_valuebox *vb_node = be_valuebox::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -375,7 +375,7 @@ be_visitor_valuebox_union_member_ci::visit_string (be_string *node)
{
be_decl *field = this->ctx_->node ();
be_valuebox *vb_node = be_valuebox::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -434,7 +434,7 @@ be_visitor_valuebox_union_member_ci::visit_structure (be_structure *node)
{
be_decl *field = this->ctx_->node ();
be_valuebox *vb_node = be_valuebox::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -491,7 +491,7 @@ be_visitor_valuebox_union_member_ci::visit_union (be_union *node)
{
be_decl *field = this->ctx_->node ();
be_valuebox *vb_node = be_valuebox::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
diff --git a/TAO/TAO_IDL/be/be_visitor_valuebox/valuebox_ci.cpp b/TAO/TAO_IDL/be/be_visitor_valuebox/valuebox_ci.cpp
index 8cefbec6f19..346e87df290 100644
--- a/TAO/TAO_IDL/be/be_visitor_valuebox/valuebox_ci.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_valuebox/valuebox_ci.cpp
@@ -548,7 +548,7 @@ be_visitor_valuebox_ci::visit_union (be_union *node)
// Retrieve the disriminant type.
- be_type *bt;
+ be_type *bt = 0;
bt = be_type::narrow_from_decl (node->disc_type ());
if (!bt)
diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype/field_ch.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype/field_ch.cpp
index e61f3800d68..d96d2747f6e 100644
--- a/TAO/TAO_IDL/be/be_visitor_valuetype/field_ch.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_valuetype/field_ch.cpp
@@ -73,7 +73,7 @@ be_visitor_valuetype_field_ch::visit_array (be_array *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -156,7 +156,7 @@ be_visitor_valuetype_field_ch::visit_enum (be_enum *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -215,7 +215,7 @@ be_visitor_valuetype_field_ch::visit_interface (be_interface *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -258,7 +258,7 @@ be_visitor_valuetype_field_ch::visit_interface_fwd (be_interface_fwd *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -301,7 +301,7 @@ be_visitor_valuetype_field_ch::visit_valuebox (be_valuebox *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -344,7 +344,7 @@ be_visitor_valuetype_field_ch::visit_valuetype (be_valuetype *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -393,7 +393,7 @@ be_visitor_valuetype_field_ch::visit_valuetype_fwd (be_valuetype_fwd *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -442,7 +442,7 @@ be_visitor_valuetype_field_ch::visit_predefined_type (be_predefined_type *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -516,7 +516,7 @@ be_visitor_valuetype_field_ch::visit_sequence (be_sequence *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -657,7 +657,7 @@ be_visitor_valuetype_field_ch::visit_structure (be_structure *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -742,7 +742,7 @@ be_visitor_valuetype_field_ch::visit_union (be_union *node)
{
be_decl *ub = this->ctx_->node ();
be_decl *bu = this->ctx_->scope ();
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this via a visit to a typedef node.
if (this->ctx_->alias ())
diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype/field_ci.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype/field_ci.cpp
index 9574e2bca3d..0bd8036d4d6 100644
--- a/TAO/TAO_IDL/be/be_visitor_valuetype/field_ci.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_valuetype/field_ci.cpp
@@ -20,8 +20,8 @@
//
// ============================================================================
-ACE_RCSID (be_visitor_valuetype,
- field_ci,
+ACE_RCSID (be_visitor_valuetype,
+ field_ci,
"$Id$")
be_visitor_valuetype_field_ci::be_visitor_valuetype_field_ci (
@@ -47,7 +47,7 @@ be_visitor_valuetype_field_ci::visit_field (be_field *node)
ACE_ERROR_RETURN ((LM_ERROR,
"(%N:%l) be_visitor_field_cs::"
"visit_field - "
- "Bad field type\n"),
+ "Bad field type\n"),
-1);
}
@@ -58,7 +58,7 @@ be_visitor_valuetype_field_ci::visit_field (be_field *node)
ACE_ERROR_RETURN ((LM_ERROR,
"(%N:%l) be_visitor_field_cs::"
"visit_field - "
- "codegen for field type failed\n"),
+ "codegen for field type failed\n"),
-1);
}
@@ -72,7 +72,7 @@ be_visitor_valuetype_field_ci::visit_array (be_array *node)
{
be_decl *ub = this->ctx_->node ();
be_valuetype *bu = be_valuetype::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -105,7 +105,7 @@ be_visitor_valuetype_field_ci::visit_array (be_array *node)
ACE_ERROR_RETURN ((LM_ERROR,
"(%N:%l) be_visitor_valuetype_field_ci::"
"visit_array - "
- "codegen failed\n"),
+ "codegen failed\n"),
-1);
}
}
@@ -118,7 +118,7 @@ be_visitor_valuetype_field_ci::visit_structure (be_structure *node)
{
be_decl *ub = this->ctx_->node ();
be_valuetype *bu = be_valuetype::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -135,7 +135,7 @@ be_visitor_valuetype_field_ci::visit_structure (be_structure *node)
ACE_ERROR_RETURN ((LM_ERROR,
"(%N:%l) be_visitor_valuetype_field_ci::"
"visit_structure - "
- "bad context information\n"),
+ "bad context information\n"),
-1);
}
@@ -151,7 +151,7 @@ be_visitor_valuetype_field_ci::visit_structure (be_structure *node)
ACE_ERROR_RETURN ((LM_ERROR,
"(%N:%l) be_visitor_valuetype_field_ci::"
"visit_structure - "
- "codegen failed\n"),
+ "codegen failed\n"),
-1);
}
}
@@ -164,7 +164,7 @@ be_visitor_valuetype_field_ci::visit_union (be_union *node)
{
be_decl *ub = this->ctx_->node ();
be_valuetype *bu = be_valuetype::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -181,7 +181,7 @@ be_visitor_valuetype_field_ci::visit_union (be_union *node)
ACE_ERROR_RETURN ((LM_ERROR,
"(%N:%l) be_visitor_valuetype_field_ci::"
"visit_union - "
- "bad context information\n"),
+ "bad context information\n"),
-1);
}
@@ -197,7 +197,7 @@ be_visitor_valuetype_field_ci::visit_union (be_union *node)
ACE_ERROR_RETURN ((LM_ERROR,
"(%N:%l) be_visitor_valuetype_field_ci::"
"visit_union - "
- "codegen failed\n"),
+ "codegen failed\n"),
-1);
}
}
diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype/field_cs.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype/field_cs.cpp
index f5ae7a8e2de..e372e13b9db 100644
--- a/TAO/TAO_IDL/be/be_visitor_valuetype/field_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_valuetype/field_cs.cpp
@@ -72,7 +72,7 @@ be_visitor_valuetype_field_cs::visit_array (be_array *node)
{
be_decl *ub = this->ctx_->node ();
be_valuetype *bu = be_valuetype::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -201,7 +201,7 @@ be_visitor_valuetype_field_cs::visit_enum (be_enum *node)
{
be_decl *ub = this->ctx_->node ();
be_valuetype *bu = be_valuetype::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -269,7 +269,7 @@ be_visitor_valuetype_field_cs::visit_interface (be_interface *node)
{
be_decl *ub = this->ctx_->node ();
be_valuetype *bu = be_valuetype::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -337,7 +337,7 @@ be_visitor_valuetype_field_cs::visit_interface_fwd (be_interface_fwd *node)
{
be_decl *ub = this->ctx_->node ();
be_valuetype *bu = be_valuetype::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -410,7 +410,7 @@ be_visitor_valuetype_field_cs::valuetype_common (be_type *node)
{
be_decl *ub = this->ctx_->node ();
be_valuetype *bu = be_valuetype::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -490,7 +490,7 @@ be_visitor_valuetype_field_cs::visit_valuetype_fwd (be_valuetype_fwd *node)
{
be_decl *ub = this->ctx_->node ();
be_valuetype *bu = be_valuetype::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -565,7 +565,7 @@ be_visitor_valuetype_field_cs::visit_predefined_type (be_predefined_type *node)
{
be_decl *ub = this->ctx_->node ();
be_valuetype *bu = be_valuetype::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -722,7 +722,7 @@ be_visitor_valuetype_field_cs::visit_sequence (be_sequence *node)
{
be_decl *ub = this->ctx_->node ();
be_valuetype *bu = be_valuetype::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -961,7 +961,7 @@ be_visitor_valuetype_field_cs::visit_structure (be_structure *node)
{
be_decl *ub = this->ctx_->node ();
be_valuetype *bu = be_valuetype::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())
@@ -1077,7 +1077,7 @@ be_visitor_valuetype_field_cs::visit_union (be_union *node)
{
be_decl *ub = this->ctx_->node ();
be_valuetype *bu = be_valuetype::narrow_from_decl (this->ctx_->scope ());
- be_type *bt;
+ be_type *bt = 0;
// Check if we are visiting this node via a visit to a typedef node.
if (this->ctx_->alias ())