Make if-checks asserts, because those cases are not expected anymore.
This commit is contained in:
parent
059b031f4d
commit
32f1010977
@ -579,9 +579,9 @@ namespace cling {
|
||||
WrapInput(Wrapper, WrapperName);
|
||||
|
||||
const Transaction* lastT = m_IncrParser->Compile(Wrapper, CO);
|
||||
assert(lastT->getState() == Transaction::kCommitted && "Must be committed");
|
||||
if (lastT->getIssuedDiags() == Transaction::kNone)
|
||||
if (lastT->getState() == Transaction::kCommitted
|
||||
&& RunFunction(lastT->getWrapperFD()) < kExeFirstError)
|
||||
if (RunFunction(lastT->getWrapperFD()) < kExeFirstError)
|
||||
return Interpreter::kSuccess;
|
||||
|
||||
return Interpreter::kFailure;
|
||||
|
Loading…
Reference in New Issue
Block a user