summaryrefslogtreecommitdiff
path: root/src/shared/hashmap.c
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2014-10-10 23:30:21 +0200
committerMichal Schmidt <mschmidt@redhat.com>2014-10-23 17:38:02 +0200
commitdd0124f6cb6ff7da1ce8be23ec7e1137fe15958d (patch)
treee26926a32909ddb78d605f3bf447103299ae1ac5 /src/shared/hashmap.c
parentbf3d3e2bb7ae2d3854be57f28dd1403c8f7e4c3c (diff)
hashmap: drop assert(h) from hashmap_next()
It's handled just fine by returning NULL.
Diffstat (limited to 'src/shared/hashmap.c')
-rw-r--r--src/shared/hashmap.c1
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)