From dd0124f6cb6ff7da1ce8be23ec7e1137fe15958d Mon Sep 17 00:00:00 2001 From: Michal Schmidt Date: Fri, 10 Oct 2014 23:30:21 +0200 Subject: [PATCH] hashmap: drop assert(h) from hashmap_next() It's handled just fine by returning NULL. --- src/shared/hashmap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/shared/hashmap.c b/src/shared/hashmap.c index c4fde898f..8225b8ebc 100644 --- a/src/shared/hashmap.c +++ b/src/shared/hashmap.c @@ -945,7 +945,6 @@ void *hashmap_next(Hashmap *h, const void *key) { unsigned hash; struct hashmap_entry *e; - assert(h); assert(key); if (!h) -- 2.30.2