shithub: rgbds

Download patch

ref: e3fde986ad8665000c0cfcb817c9034334cfdc93
parent: aa99ed056c44b93449c3333e104858009bde357d
author: ISSOtm <eldredhabert0@gmail.com>
date: Tue Mar 23 17:29:23 EDT 2021

Remove hashmap collision warning

It was only used to check hashmap collision rate in the wild,
but it no longer has a purpose and produces spurious messages

--- a/src/link/section.c
+++ b/src/link/section.c
@@ -194,11 +194,7 @@
 		     section->name, typeNames[section->type]);
 	} else {
 		/* If not, add it */
-		bool collided = hash_AddElement(sections, section->name,
-						section);
-
-		if (beVerbose && collided)
-			warnx("Section hashmap collision occurred!");
+		hash_AddElement(sections, section->name, section);
 	}
 }