mirror of https://gitee.com/bigwinds/arangodb
suppress "potential null pointer dereference" warning
This commit is contained in:
parent
1b03991eec
commit
9d7f893511
|
@ -1056,6 +1056,7 @@ std::unique_ptr<aql::ExecutionBlock> IResearchViewNode::createBlock(
|
|||
writableOutputRegisters->emplace(reg);
|
||||
}
|
||||
TRI_ASSERT(writableOutputRegisters->size() == 1 + numScoreRegisters);
|
||||
TRI_ASSERT(writableOutputRegisters->begin() != writableOutputRegisters->end());
|
||||
TRI_ASSERT(firstOutputRegister == *std::min_element(writableOutputRegisters->begin(),
|
||||
writableOutputRegisters->end()));
|
||||
aql::ExecutorInfos infos = createRegisterInfos(calcInputRegs(), std::move(writableOutputRegisters));
|
||||
|
|
Loading…
Reference in New Issue