Commit 0278978285107a7a34592d537243b4c89ade85cf

Patrick Steinhardt 2018-11-23T18:37:57

idxmap: remove unused foreach macros The foreach macros of the idxmap types are not used anywhere. As we are about to open-code all foreach macros for the maps in order to be able to make the khash structure internal, removing these unused macros will leave a few places less that need conversion.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/idxmap.h b/src/idxmap.h
index f7e903a..7fed8b9 100644
--- a/src/idxmap.h
+++ b/src/idxmap.h
@@ -49,7 +49,4 @@ void git_idxmap_icase_delete_at(git_idxmap_icase *map, size_t idx);
 void git_idxmap_delete(git_idxmap *map, const git_index_entry *key);
 void git_idxmap_icase_delete(git_idxmap_icase *map, const git_index_entry *key);
 
-#define git_idxmap_begin		kh_begin
-#define git_idxmap_end		kh_end
-
 #endif