summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/CosEvent
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/CosEvent')
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_Event_Loader.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_TypedEventChannel.cpp4
2 files changed, 0 insertions, 6 deletions
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Event_Loader.cpp b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Event_Loader.cpp
index aff46a59bb1..a627d07245e 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Event_Loader.cpp
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Event_Loader.cpp
@@ -434,8 +434,6 @@ TAO_CEC_Event_Loader::create_object (CORBA::ORB_ptr orb,
return CORBA::Object::_nil ();
}
ACE_ENDTRY;
-
- return 0;
}
int
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_TypedEventChannel.cpp b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_TypedEventChannel.cpp
index f2eb11a7d0d..9bb41874175 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_TypedEventChannel.cpp
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_TypedEventChannel.cpp
@@ -439,8 +439,6 @@ TAO_CEC_TypedEventChannel::consumer_register_uses_interace (const char *uses_int
}
return result;
}
- // Should not get here!
- return -1;
}
// A supplier is attempting to register its supported_interface.
@@ -505,8 +503,6 @@ TAO_CEC_TypedEventChannel::supplier_register_supported_interface (const char *su
}
return result;
}
- // Should not get here!
- return -1;
}
// Function creates a NVList and populates it from the parameter information.