We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9bcb489 + 7d68bb0 commit b502aa4Copy full SHA for b502aa4
hashmap.h
@@ -400,15 +400,14 @@ static inline void hashmap_disable_item_counting(struct hashmap *map)
400
*/
401
static inline void hashmap_enable_item_counting(struct hashmap *map)
402
{
403
- void *item;
404
unsigned int n = 0;
405
struct hashmap_iter iter;
406
407
if (map->do_count_items)
408
return;
409
410
hashmap_iter_init(map, &iter);
411
- while ((item = hashmap_iter_next(&iter)))
+ while (hashmap_iter_next(&iter))
412
n++;
413
414
map->do_count_items = 1;
0 commit comments