forked from weaselab/conflict-set
Remove some branches
This commit is contained in:
1 parent
0fbc8b0190
commit
608b4fb6c7
1 file changed
+1
-8
+1
-8
@@ -1376,14 +1376,7 @@ bool checkRangeRead(Node *n, std::span<const uint8_t> begin,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!checkRangeLeftSide.ok) {
|
return checkRangeLeftSide.ok & checkRangeRightSide.ok;
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if (!checkRangeRightSide.ok) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Returns a pointer to the newly inserted node. caller is reponsible for
|
// Returns a pointer to the newly inserted node. caller is reponsible for
|
||||||
|
|||||||
Reference in new issue
Block a user