Make it even simpler.

git-svn-id: http://root.cern.ch/svn/root/trunk@46631 27541ba8-7e3a-0410-8455-c3a389f83636
This commit is contained in:
Vassil Vassilev 2012-10-18 09:38:39 +00:00
parent e8560dc77f
commit a907396350

View File

@ -556,13 +556,10 @@ namespace cling {
m_IncrParser->Compile(Wrapper, CO);
// get the result
if (RunFunction(WrapperName, RetTy, V)) { // Why we have to pass-in
// the type again?
if (RunFunction(WrapperName, RetTy, V))
return Interpreter::kSuccess;
} else {
if (V)
else if (V)
*V = StoredValueRef::invalidValue();
}
return Interpreter::kFailure;
}