remove redundant conditional from resetFrame

This commit is contained in:
Joel Dice 2011-03-27 21:15:54 -06:00
parent 9fe41b2afc
commit 3e92f18ab0

View File

@ -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;
}
}