diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2014-12-08 15:14:34 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2014-12-08 15:14:34 +0100 |
commit | fb5ac1fba4da66cd70dc9716381bbce7ee0d0586 (patch) | |
tree | 93694c6d3c7e027de540b1077aa7915ad6778c4d /TAO | |
parent | 4d145f355c7d363fe3d2a5bf219436abea0436be (diff) | |
download | ATCD-fb5ac1fba4da66cd70dc9716381bbce7ee0d0586.tar.gz |
Simplyfing code by using Only one exit point of the function
* TAO/orbsvcs/ImplRepo_Service/ImR_Locator_i.cpp:
Diffstat (limited to 'TAO')
-rw-r--r-- | TAO/orbsvcs/ImplRepo_Service/ImR_Locator_i.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/TAO/orbsvcs/ImplRepo_Service/ImR_Locator_i.cpp b/TAO/orbsvcs/ImplRepo_Service/ImR_Locator_i.cpp index 6254e6c583c..3907f428504 100644 --- a/TAO/orbsvcs/ImplRepo_Service/ImR_Locator_i.cpp +++ b/TAO/orbsvcs/ImplRepo_Service/ImR_Locator_i.cpp @@ -629,10 +629,11 @@ ImR_Locator_i::activate_server_by_name (const char* name, bool manual_start, if (info.null ()) { rh->send_exception ( new ImplementationRepository::NotFound ); - return; } - - this->activate_server_i (info, manual_start, rh); + else + { + this->activate_server_i (info, manual_start, rh); + } } void |