diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-01-24 15:39:09 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-01-24 15:39:09 +0000 |
commit | c801f87e59c00f72bdeb5ce7bd0d276674665bac (patch) | |
tree | 70bff03d1cf156ecf05ee4c5c338d8ce423e64ee /TAO/orbsvcs/orbsvcs/Trader/Interpreter_Utils.cpp | |
parent | 98c0b37d4714ff774fc3ada8c9ee893c719af714 (diff) | |
download | ATCD-c801f87e59c00f72bdeb5ce7bd0d276674665bac.tar.gz |
Wed Jan 24 14:00:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Trader/Interpreter_Utils.cpp')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Trader/Interpreter_Utils.cpp | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Interpreter_Utils.cpp b/TAO/orbsvcs/orbsvcs/Trader/Interpreter_Utils.cpp index 993d47ad0e0..045c750ca75 100644 --- a/TAO/orbsvcs/orbsvcs/Trader/Interpreter_Utils.cpp +++ b/TAO/orbsvcs/orbsvcs/Trader/Interpreter_Utils.cpp @@ -14,8 +14,7 @@ sequence_type (CORBA::TypeCode* type_code { // @@ Seth, why do you use a comma to separate the two statements? CORBA::TCKind return_value = CORBA::tk_void, - type_kind = type_code->kind (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK_RETURN (return_value); + type_kind = type_code->kind (); if (type_kind == CORBA::tk_alias || type_kind == CORBA::tk_sequence) @@ -24,28 +23,23 @@ sequence_type (CORBA::TypeCode* type_code for (;;) { - CORBA::TCKind base_kind = base->kind (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK_RETURN (return_value); + CORBA::TCKind base_kind = base->kind (); if (base_kind == CORBA::tk_alias) { - base = base->content_type (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK_RETURN (return_value); + base = base->content_type (); } else break; } - CORBA::TCKind base_kind = base->kind (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK_RETURN (return_value); + CORBA::TCKind base_kind = base->kind (); if (base_kind == CORBA::tk_sequence) { - base = base->content_type (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK_RETURN (return_value); + base = base->content_type (); - base_kind = base->kind (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK_RETURN (return_value); + base_kind = base->kind (); return_value = base_kind; } } |