From dd0124f6cb6ff7da1ce8be23ec7e1137fe15958d Mon Sep 17 00:00:00 2001 From: Michal Schmidt Date: Fri, 10 Oct 2014 23:30:21 +0200 Subject: 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(-) (limited to 'src/shared/hashmap.c') diff --git a/src/shared/hashmap.c b/src/shared/hashmap.c index c4fde898f8..8225b8ebcc 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) -- cgit v1.2.3-54-g00ecf