Some more cleanup
This commit is contained in:
1 parent
6155b6416a
commit
ea0fd25a73
60 files changed
+731
-1011
No files matched your search
@@ -220,8 +220,7 @@ struct Object *allocate_object(struct ObjectNode *objList) {
|
||||
// If no unimportant object exists, then the object pool is exhausted.
|
||||
if (unimportantObj == NULL) {
|
||||
// We've met with a terrible fate.
|
||||
while (TRUE) {
|
||||
}
|
||||
while (TRUE) {}
|
||||
} else {
|
||||
// If an unimportant object does exist, unload it and take its slot.
|
||||
unload_object(unimportantObj);
|
||||
|
||||
Reference in new issue
Block a user