diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_typedef/typedef_ci.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_typedef/typedef_ci.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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 { |