diff options
Diffstat (limited to 'TAO/TAO_IDL/util/utl_string.cpp')
-rw-r--r-- | TAO/TAO_IDL/util/utl_string.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/TAO/TAO_IDL/util/utl_string.cpp b/TAO/TAO_IDL/util/utl_string.cpp index 8514b944c00..692c5ba37a6 100644 --- a/TAO/TAO_IDL/util/utl_string.cpp +++ b/TAO/TAO_IDL/util/utl_string.cpp @@ -178,19 +178,8 @@ UTL_String::compare (UTL_String *s) * Check that the names are typed consistently */ if (result == I_TRUE && ACE_OS::strcmp (p_str, s->get_string ()) != 0) - { - // Prevents redundant error reporting if we're in this branch. - result = I_FALSE; + idl_global->err ()->name_case_error (p_str, s->get_string ()); - if (idl_global->case_diff_error ()) - { - idl_global->err ()->name_case_error (p_str, s->get_string ()); - } - else - { - idl_global->err ()->name_case_warning (p_str, s->get_string ()); - } - } return result; } |