summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhuangming <huangminghuang@users.noreply.github.com>2004-01-28 21:09:37 +0000
committerhuangming <huangminghuang@users.noreply.github.com>2004-01-28 21:09:37 +0000
commit73c0e907e908d3c678ff2a30de59f062ae970b3a (patch)
tree1d26827f8a2d632d624dc23131670733c269f72c
parent653eb9046f626c16d605c82fda729a40c38a6205 (diff)
downloadATCD-73c0e907e908d3c678ff2a30de59f062ae970b3a.tar.gz
Removed some warnings in GCC
-rw-r--r--TAO/orbsvcs/FTRT_Event_Service/Event_Service/Crash_Injector.cpp3
-rw-r--r--TAO/orbsvcs/FTRT_Event_Service/Event_Service/Crash_Injector_Interceptor.cpp2
2 files changed, 4 insertions, 1 deletions
diff --git a/TAO/orbsvcs/FTRT_Event_Service/Event_Service/Crash_Injector.cpp b/TAO/orbsvcs/FTRT_Event_Service/Event_Service/Crash_Injector.cpp
index ff983081f98..c1eeb1d5816 100644
--- a/TAO/orbsvcs/FTRT_Event_Service/Event_Service/Crash_Injector.cpp
+++ b/TAO/orbsvcs/FTRT_Event_Service/Event_Service/Crash_Injector.cpp
@@ -104,6 +104,9 @@ void Crash_Injector::check_on_receive_request(const char* operation)
exit(1);
case CRASH_TIMEOUT:
this->crash_timeout();
+ break;
+ default:
+ break;
}
}
}
diff --git a/TAO/orbsvcs/FTRT_Event_Service/Event_Service/Crash_Injector_Interceptor.cpp b/TAO/orbsvcs/FTRT_Event_Service/Event_Service/Crash_Injector_Interceptor.cpp
index 23ceb715e01..bc1fdb64b00 100644
--- a/TAO/orbsvcs/FTRT_Event_Service/Event_Service/Crash_Injector_Interceptor.cpp
+++ b/TAO/orbsvcs/FTRT_Event_Service/Event_Service/Crash_Injector_Interceptor.cpp
@@ -60,7 +60,7 @@ Crash_Injector_Interceptor::send_reply (PortableInterceptor::ServerRequestInfo_p
void
Crash_Injector_Interceptor::send_exception (
- PortableInterceptor::ServerRequestInfo_ptr ri
+ PortableInterceptor::ServerRequestInfo_ptr
ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException,
PortableInterceptor::ForwardRequest))