summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-04 23:56:39 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-04 23:56:39 +0000
commit308fa72408cb341f954ba3e4b2fc402579195e3f (patch)
tree03d7ff28009b3a4526408b94b54b2cc71d671546
parent6797128d2629f9773af0fbe31d8937ce752e807b (diff)
downloadATCD-308fa72408cb341f954ba3e4b2fc402579195e3f.tar.gz
Removed incorrect error output from a couple of default switch cases.
-rw-r--r--TAO/TAO_IDL/be/be_visitor_array/cdr_op_ci.cpp15
1 files changed, 3 insertions, 12 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_array/cdr_op_ci.cpp b/TAO/TAO_IDL/be/be_visitor_array/cdr_op_ci.cpp
index 6a80fd71496..808646a479d 100644
--- a/TAO/TAO_IDL/be/be_visitor_array/cdr_op_ci.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_array/cdr_op_ci.cpp
@@ -503,12 +503,7 @@ be_visitor_array_cdr_op_ci::visit_node (be_type *bt)
}
}
default:
- // error
- ACE_ERROR_RETURN ((LM_ERROR,
- "(%N:%l) be_visitor_array_cdr_op_ci::"
- "visit_predefined_type - "
- "bad node type\n"),
- -1);
+ break;
}
if (bt->node_type () == AST_Decl::NT_array)
{
@@ -555,13 +550,9 @@ be_visitor_array_cdr_op_ci::visit_node (be_type *bt)
*os << ".in ()";
}
}
+ break;
default:
- // error
- ACE_ERROR_RETURN ((LM_ERROR,
- "(%N:%l) be_visitor_array_cdr_op_ci::"
- "visit_predefined_type - "
- "bad node type\n"),
- -1);
+ break;
}
if (bt->node_type () == AST_Decl::NT_array)
{