diff options
Diffstat (limited to 'TAO/tao/DynamicInterface/Unknown_User_Exception.cpp')
-rw-r--r-- | TAO/tao/DynamicInterface/Unknown_User_Exception.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/TAO/tao/DynamicInterface/Unknown_User_Exception.cpp b/TAO/tao/DynamicInterface/Unknown_User_Exception.cpp index b1d38216ad1..46d984c0dad 100644 --- a/TAO/tao/DynamicInterface/Unknown_User_Exception.cpp +++ b/TAO/tao/DynamicInterface/Unknown_User_Exception.cpp @@ -69,12 +69,11 @@ CORBA::UnknownUserException::_raise (void) const CORBA::Exception * CORBA::UnknownUserException::_tao_duplicate (void) const { - CORBA::Exception *result; + CORBA::Exception *result = nullptr; ACE_NEW_RETURN ( result, CORBA::UnknownUserException (*this), - 0 - ); + nullptr); return result; } |