mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[apps/shared/expression_model_store] Remove redundant assert
If the record is null, it means that the do-while loop has iterated too many times and there is no record left. However that situation is already asserted at the begining of the method.
This commit is contained in:
committed by
LeaNumworks
parent
a705109b91
commit
3777bcbd87
@@ -63,10 +63,6 @@ Ion::Storage::Record ExpressionModelStore::recordSatisfyingTestAtIndex(int i, Mo
|
||||
Ion::Storage::Record record;
|
||||
do {
|
||||
record = recordAtIndex(index++);
|
||||
if (record.isNull()) {
|
||||
assert(false);
|
||||
break;
|
||||
}
|
||||
if (test(privateModelForRecord(record), context)) {
|
||||
if (i == count) {
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user