Fix XCode Analyse false positive
This commit is contained in:
parent
a384c61f7a
commit
770f25f335
|
@ -110,6 +110,7 @@ namespace backend {
|
||||||
currentBlock++;
|
currentBlock++;
|
||||||
if (currentBlock >= blocks.size()) {
|
if (currentBlock >= blocks.size()) {
|
||||||
Reset();
|
Reset();
|
||||||
|
*commandId = EndOfBlock;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
currentPtr = AlignPtr(blocks[currentBlock].block, alignof(uint32_t));
|
currentPtr = AlignPtr(blocks[currentBlock].block, alignof(uint32_t));
|
||||||
|
|
Loading…
Reference in New Issue