mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Refactor to avoid redundant obj_CheckAssertions function
This commit is contained in:
@@ -28,7 +28,6 @@
|
||||
|
||||
static std::deque<std::vector<Symbol>> symbolLists;
|
||||
static std::vector<std::vector<FileStackNode>> nodes;
|
||||
static std::deque<Assertion> assertions;
|
||||
|
||||
// Helper functions for reading object files
|
||||
|
||||
@@ -632,10 +631,6 @@ void obj_ReadFile(char const *fileName, unsigned int fileID) {
|
||||
}
|
||||
}
|
||||
|
||||
void obj_CheckAssertions() {
|
||||
patch_CheckAssertions(assertions);
|
||||
}
|
||||
|
||||
void obj_Setup(unsigned int nbFiles) {
|
||||
nodes.resize(nbFiles);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user