mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Don't report hashmap collisions
This doesn't seem to be very useful, and keeping this "feature" is difficult.
This commit is contained in:
committed by
Eldred Habert
parent
f97663aa37
commit
5334fc334e
@@ -54,10 +54,7 @@ void sym_AddSymbol(struct Symbol *symbol)
|
||||
}
|
||||
|
||||
/* If not, add it */
|
||||
bool collided = hash_AddElement(symbols, symbol->name, symbol);
|
||||
|
||||
if (beVerbose && collided)
|
||||
warnx("Symbol hashmap collision occurred!");
|
||||
hash_AddElement(symbols, symbol->name, symbol);
|
||||
}
|
||||
|
||||
struct Symbol *sym_GetSymbol(char const *name)
|
||||
|
||||
Reference in New Issue
Block a user