From e3fde986ad8665000c0cfcb817c9034334cfdc93 Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Tue, 23 Mar 2021 21:29:23 +0100 Subject: [PATCH] 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 --- src/link/section.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/link/section.c b/src/link/section.c index 823bee08..4f3a6823 100644 --- a/src/link/section.c +++ b/src/link/section.c @@ -194,11 +194,7 @@ void sect_AddSection(struct Section *section) 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); } }