summaryrefslogtreecommitdiff
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
commit6fb30cb027e69345ae38e457ac19188713a458b8 (patch)
tree5efa49a4605e633c561d3baedd2276fde691916b
parent7de74e9ae325ecb8c3c7197d4db7b0d455cb427c (diff)
downloadATCD-6fb30cb027e69345ae38e457ac19188713a458b8.tar.gz
-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 ();