diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2014-10-10 23:30:21 +0200 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2014-10-23 17:38:02 +0200 |
commit | dd0124f6cb6ff7da1ce8be23ec7e1137fe15958d (patch) | |
tree | e26926a32909ddb78d605f3bf447103299ae1ac5 /src/shared | |
parent | bf3d3e2bb7ae2d3854be57f28dd1403c8f7e4c3c (diff) |
hashmap: drop assert(h) from hashmap_next()
It's handled just fine by returning NULL.
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/hashmap.c | 1 |
1 files changed, 0 insertions, 1 deletions
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) |