diff options
author | Patrick Steinhardt <ps@pks.im> | 2018-11-23 18:37:57 +0100 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2018-11-28 15:22:27 +0100 |
commit | 0278978285107a7a34592d537243b4c89ade85cf (patch) | |
tree | 00fce64e42d2a5cd959bfa193a5160db39367034 | |
parent | 681c58cf62a2c0d21b52b2405744398fb90c1e7a (diff) | |
download | libgit2-0278978285107a7a34592d537243b4c89ade85cf.tar.gz |
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.
-rw-r--r-- | src/idxmap.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/idxmap.h b/src/idxmap.h index f7e903a61..7fed8b9d2 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 |