Don't report hashmap collisions

This doesn't seem to be very useful, and keeping this "feature" is
difficult.
This commit is contained in:
Jakub Kądziołka
2021-04-16 13:32:11 +02:00
committed by Eldred Habert
parent f97663aa37
commit 5334fc334e

View File

@@ -54,10 +54,7 @@ void sym_AddSymbol(struct Symbol *symbol)
} }
/* If not, add it */ /* If not, add it */
bool collided = hash_AddElement(symbols, symbol->name, symbol); hash_AddElement(symbols, symbol->name, symbol);
if (beVerbose && collided)
warnx("Symbol hashmap collision occurred!");
} }
struct Symbol *sym_GetSymbol(char const *name) struct Symbol *sym_GetSymbol(char const *name)