Skip to content

Commit 2c2a752

Browse files
committed
avoid unreachable code generated from IDL map
1 parent 36cf075 commit 2c2a752

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

TAO/TAO_IDL/be/be_visitor_map/cdr_op_cs.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,15 @@ be_visitor_map_cdr_op_cs::visit_map (be_map *node)
5757
<< node->name() << "&)"
5858
<< be_uidt_nl
5959
<< "{" << be_idt_nl
60-
<< "throw ::CORBA::NO_IMPLEMENT ();" << be_nl
61-
<< "return false;" << be_uidt_nl
60+
<< "throw ::CORBA::NO_IMPLEMENT ();" << be_uidt_nl
6261
<< "}" << be_nl_2;
6362

6463
*os << "::CORBA::Boolean operator>> ("<< be_idt_nl
6564
<< "TAO_InputCDR &," << be_nl
6665
<< node->name() << "&)"
6766
<< be_uidt_nl
6867
<< "{" << be_idt_nl
69-
<< "throw ::CORBA::NO_IMPLEMENT ();" << be_nl
70-
<< "return false;" << be_uidt_nl
68+
<< "throw ::CORBA::NO_IMPLEMENT ();" << be_uidt_nl
7169
<< "}" << be_nl_2;
7270

7371
if (be_global->gen_ostream_operators ())

0 commit comments

Comments
 (0)