summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_union
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-02-07 21:55:51 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-02-07 21:55:51 +0000
commitc7c7e16553e7eb47c049708d4538eb0f3179caa6 (patch)
treeebb302c88ce9f319eabed45822611d7058c61514 /TAO/TAO_IDL/be/be_visitor_union
parent936510a1e64fa846e0a791fb435c8a41b17f23b1 (diff)
downloadATCD-c7c7e16553e7eb47c049708d4538eb0f3179caa6.tar.gz
Initialized some pointers to nodes at declaration.
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_union')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_union/union_ci.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_union/union_ci.cpp b/TAO/TAO_IDL/be/be_visitor_union/union_ci.cpp
index acbb10db206..8eaf7179a05 100644
--- a/TAO/TAO_IDL/be/be_visitor_union/union_ci.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_union/union_ci.cpp
@@ -86,8 +86,8 @@ int be_visitor_union_ci::visit_union (be_union *node)
*os << "switch (this->disc_)" << be_idt_nl;
*os << "{" << be_idt_nl;
- AST_Decl *d;
- be_union_branch *ub;
+ AST_Decl *d = 0;
+ be_union_branch *ub = 0;
UTL_ScopeActiveIterator *si =
new UTL_ScopeActiveIterator (node,
UTL_Scope::IK_decls);