Skip to content
Snippets Groups Projects
Commit b502aa4f authored by Junio C Hamano's avatar Junio C Hamano
Browse files

Merge branch 'rb/hashmap-h-compilation-fix' into maint

Code clean-up.

* rb/hashmap-h-compilation-fix:
  hashmap.h: remove unused variable
parents 9bcb4891 7d68bb07
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -400,7 +400,6 @@ static inline void hashmap_disable_item_counting(struct hashmap *map)
*/
static inline void hashmap_enable_item_counting(struct hashmap *map)
{
void *item;
unsigned int n = 0;
struct hashmap_iter iter;
 
Loading
Loading
@@ -408,7 +407,7 @@ static inline void hashmap_enable_item_counting(struct hashmap *map)
return;
 
hashmap_iter_init(map, &iter);
while ((item = hashmap_iter_next(&iter)))
while (hashmap_iter_next(&iter))
n++;
 
map->do_count_items = 1;
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment