summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_sequence/any_op_cs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_sequence/any_op_cs.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_sequence/any_op_cs.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/any_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/any_op_cs.cpp
index e9fe0189bca..fb60b2eb2e4 100644
--- a/TAO/TAO_IDL/be/be_visitor_sequence/any_op_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_sequence/any_op_cs.cpp
@@ -221,12 +221,6 @@ be_visitor_sequence_any_op_cs::visit_sequence (be_sequence *node)
<< ")" << be_uidt_nl
<< "{" << be_idt_nl
- << "if (0 == &_tao_elem) // Trying to de-reference NULL object"
- << be_idt_nl
- << "_tao_any <<= static_cast< ::" << node->name ()
- << " *>( 0 ); // Use non-copying insertion of a NULL" << be_uidt_nl
- << "else" << be_idt_nl
-
<< "TAO::Any_Dual_Impl_T< ::" << node->name () << ">::insert_copy ("
<< be_idt << be_idt_nl
<< "_tao_any," << be_nl
@@ -301,12 +295,6 @@ be_visitor_sequence_any_op_cs::visit_sequence (be_sequence *node)
<< be_uidt_nl
<< "{" << be_idt_nl
- << "if (0 == &_tao_elem) // Trying to de-reference NULL object"
- << be_idt_nl
- << "_tao_any <<= static_cast<" << node->name ()
- << " *>( 0 ); // Use non-copying insertion of a NULL" << be_uidt_nl
- << "else" << be_idt_nl
-
<< "TAO::Any_Dual_Impl_T<" << node->name () << ">::insert_copy ("
<< be_idt << be_idt_nl
<< "_tao_any," << be_nl