summaryrefslogtreecommitdiff
path: root/TAO/examples
diff options
context:
space:
mode:
authorpradeep <pradeep@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-21 15:39:50 +0000
committerpradeep <pradeep@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-21 15:39:50 +0000
commit1e564fc6a0f53fd14e6dc9ccc00e6f8cdd198ac4 (patch)
tree7d3de921fd6c1311d065dea0306ab58f8c456e3a /TAO/examples
parentad09fe13921b6f7f9622ac380e1c7353b8128895 (diff)
downloadATCD-1e564fc6a0f53fd14e6dc9ccc00e6f8cdd198ac4.tar.gz
*** empty log message ***
Diffstat (limited to 'TAO/examples')
-rw-r--r--TAO/examples/Event_Comm/Consumer_Handler.cpp3
-rw-r--r--TAO/examples/Event_Comm/Notifier_Handler.cpp5
2 files changed, 2 insertions, 6 deletions
diff --git a/TAO/examples/Event_Comm/Consumer_Handler.cpp b/TAO/examples/Event_Comm/Consumer_Handler.cpp
index 27ee3dc1e89..64b85560795 100644
--- a/TAO/examples/Event_Comm/Consumer_Handler.cpp
+++ b/TAO/examples/Event_Comm/Consumer_Handler.cpp
@@ -63,7 +63,6 @@ Consumer_Handler::init (int argc,
this->notifier_->subscribe (this->receiver_,
filtering_criteria,
ACE_TRY_ENV);
- return 0;
}
ACE_CATCHANY
{
@@ -73,7 +72,7 @@ Consumer_Handler::init (int argc,
}
ACE_ENDTRY;
- ACE_NOTREACHED (return 0;)
+ return 0;
}
int
diff --git a/TAO/examples/Event_Comm/Notifier_Handler.cpp b/TAO/examples/Event_Comm/Notifier_Handler.cpp
index f39c84037a6..0511f768150 100644
--- a/TAO/examples/Event_Comm/Notifier_Handler.cpp
+++ b/TAO/examples/Event_Comm/Notifier_Handler.cpp
@@ -115,9 +115,6 @@ Notifier_Handler::init (int argc,
Event_Comm::Notifier::_narrow (notifier_obj.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
-
- return 0;
-
}
ACE_CATCHANY
{
@@ -127,5 +124,5 @@ Notifier_Handler::init (int argc,
}
ACE_ENDTRY;
- ACE_NOTREACHED (return 0;)
+ return 0;
}