hashmap: drop assert(h) from hashmap_next()
It's handled just fine by returning NULL.
This commit is contained in:
@@ -945,7 +945,6 @@ void *hashmap_next(Hashmap *h, const void *key) {
|
||||
unsigned hash;
|
||||
struct hashmap_entry *e;
|
||||
|
||||
assert(h);
|
||||
assert(key);
|
||||
|
||||
if (!h)
|
||||
|
||||
Reference in New Issue
Block a user