shithub: rgbds

Download patch

ref: 5334fc334e610b34c781891ea52072067d5f8b88
parent: f97663aa375e4220ca9c78f4b3215e987384dfac
author: Jakub Kądziołka <kuba@kadziolka.net>
date: Fri Apr 16 09:32:11 EDT 2021

Don't report hashmap collisions

This doesn't seem to be very useful, and keeping this "feature" is
difficult.

--- a/src/link/symbol.c
+++ b/src/link/symbol.c
@@ -54,10 +54,7 @@
 	}
 
 	/* 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)