summaryrefslogtreecommitdiff
path: root/TAO/tao/DiffServPolicy
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-02-21 08:00:23 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-02-21 08:00:23 +0000
commit12ecb3a241f73b682771c967d71e16507520eeb0 (patch)
tree5efa49a4605e633c561d3baedd2276fde691916b /TAO/tao/DiffServPolicy
parent329cd0be357d1b9357dc70a6e913d8cae7f11209 (diff)
downloadATCD-12ecb3a241f73b682771c967d71e16507520eeb0.tar.gz
Diffstat (limited to 'TAO/tao/DiffServPolicy')
-rw-r--r--TAO/tao/DiffServPolicy/DiffServ_Network_Priority_Hook.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/TAO/tao/DiffServPolicy/DiffServ_Network_Priority_Hook.cpp b/TAO/tao/DiffServPolicy/DiffServ_Network_Priority_Hook.cpp
index 721a08cbc9a..0d6c8feb200 100644
--- a/TAO/tao/DiffServPolicy/DiffServ_Network_Priority_Hook.cpp
+++ b/TAO/tao/DiffServPolicy/DiffServ_Network_Priority_Hook.cpp
@@ -65,7 +65,7 @@ void
TAO_DiffServ_Network_Priority_Hook::set_dscp_codepoint (
TAO_ServerRequest &req, TAO_Root_POA &poa)
{
- CORBA::Long dscp_codepoint;
+ CORBA::Long dscp_codepoint = 0;
TAO_Service_Context &request_service_context =
req.request_service_context ();
@@ -88,10 +88,6 @@ TAO_DiffServ_Network_Priority_Hook::set_dscp_codepoint (
{
dscp_codepoint = poa.cached_policies ().reply_diffserv_codepoint ();
}
- else
- {
- dscp_codepoint = 0;
- }
TAO_Connection_Handler *connection_handler =
req.transport ()->connection_handler ();