Bug 3985 - missing check for return value
Summary: missing check for return value
Status: NEW
Alias: None
Product: DAnCE
Classification: Unclassified
Component: LocalityManager (show other bugs)
Version: 1.0.3
Hardware: All Linux
: P3 normal
Assignee: DOC Center Support List (internal)
URL:
Depends on:
Blocks:
 
Reported: 2011-08-08 02:11 CDT by Johnny Willemsen
Modified: 2011-12-14 08:34 CST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johnny Willemsen 2011-08-08 02:11:14 CDT
Unchecked call
A function was called without checking the return value. Prevent inferred that the return value should be checked based on the checked calls shown below.

Calling function "bool DAnCE::Utility::extract_and_throw_exception<Deployment::StartError>(CORBA::Any const &)" without checking return value (as is done elsewhere 6 out of 7 times).

/home/build/ACE/coverity/ACE_wrappers/TAO/DAnCE/dance/DAnCE_Utility.cpp
445  	        }
446  	      else if (ex_id == Deployment::_tc_StartError->id ())
447  	        {
Event check_return: Calling function "bool DAnCE::Utility::extract_and_throw_exception<Deployment::StartError>(CORBA::Any const &)" without checking return value (as is done elsewhere 6 out of 7 times).
Event unchecked_value: No check of the return value of "DAnCE::Utility::extract_and_throw_exception<Deployment::StartError>(excep)".
448  	          extract_and_throw_exception<Deployment::StartError> (excep);
449  	        }
450  	      else if (ex_id == Deployment::_tc_StopError->id ())
451  	        {