mirror of
https://github.com/corda/corda.git
synced 2025-01-22 12:28:11 +00:00
remove redundant conditional from resetFrame
This commit is contained in:
parent
9fe41b2afc
commit
3e92f18ab0
@ -5556,10 +5556,7 @@ resetFrame(Context* c, Event* e)
|
||||
|
||||
for (Resource* r = c->acquiredResources; r;) {
|
||||
Resource* next = r->nextAcquired;
|
||||
Value* v = r->value;
|
||||
if (v) {
|
||||
clearSites(c, v);
|
||||
}
|
||||
clearSites(c, r->value);
|
||||
r = next;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user