fetch: don't redundantly NULL something calloc() gave us
[gitweb.git] / oidset.h
index 783abceccd11e1786c7d6b54b2848f3eeb6d4983..40ec5f87fe208e8e15feeb29ff0bb9d6325f44f8 100644 (file)
--- a/oidset.h
+++ b/oidset.h
@@ -27,7 +27,7 @@ struct oidset {
 
 static inline void oidset_init(struct oidset *set, size_t initial_size)
 {
-       return oidmap_init(&set->map, initial_size);
+       oidmap_init(&set->map, initial_size);
 }
 
 /**