diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_union/discriminant_ch.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_union/discriminant_ch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 ()) |