diff options
Diffstat (limited to 'TAO_IDL/be/be_visitor_root/root_cns.cpp')
-rw-r--r-- | TAO_IDL/be/be_visitor_root/root_cns.cpp | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/TAO_IDL/be/be_visitor_root/root_cns.cpp b/TAO_IDL/be/be_visitor_root/root_cns.cpp index 5da09f03cad..eac09e96d28 100644 --- a/TAO_IDL/be/be_visitor_root/root_cns.cpp +++ b/TAO_IDL/be/be_visitor_root/root_cns.cpp @@ -36,7 +36,7 @@ be_visitor_root_cns::visit_root (be_root *node) ACE_TEXT ("failed to initialize\n")), -1); } - + if (this->visit_scope (node) == -1) { ACE_ERROR_RETURN ((LM_ERROR, @@ -47,16 +47,6 @@ be_visitor_root_cns::visit_root (be_root *node) (void) tao_cg->end_ciao_conn_source (); - TAO_OutStream *rh_impl = tao_cg->ciao_ami_rh_impl_source (); - - /// If this stream has been created during the connector AST - /// pass we generate the file ending stuff here, to make sure - /// that all the AST nodes have been traversed. - if (rh_impl != 0) - { - (void) tao_cg->end_ciao_ami_rh_impl_source (); - } - return 0; } @@ -67,7 +57,7 @@ be_visitor_root_cns::init (void) int status = tao_cg->start_ciao_conn_source ( be_global->be_get_ciao_conn_src_fname ()); - + if (status == -1) { ACE_ERROR_RETURN ((LM_ERROR, |