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:
parent
e8560dc77f
commit
a907396350
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user