summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_structure.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_structure.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_structure.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/TAO/TAO_IDL/be/be_structure.cpp b/TAO/TAO_IDL/be/be_structure.cpp
index b47c7b70aca..a926adf8fcd 100644
--- a/TAO/TAO_IDL/be/be_structure.cpp
+++ b/TAO/TAO_IDL/be/be_structure.cpp
@@ -629,17 +629,11 @@ be_structure::in_recursion (be_type *node)
{
be_field *field = be_field::narrow_from_decl (si->item ());
if (!field)
+ // This will be an enum value or other legitimate non-field
+ // member - in any case, no recursion.
{
si->next ();
continue;
-#if 0
- delete si;
- ACE_ERROR_RETURN ((LM_ERROR,
- ASYS_TEXT ("(%N:%l) be_structure::")
- ASYS_TEXT ("in_recursion - ")
- ASYS_TEXT ("bad field node\n")),
- 0);
-#endif // 0
}
be_type *type = be_type::narrow_from_decl (field->field_type ());
if (!type)