| 49 | static inline uintmax_t sz_fmt(size_t s) { return s; } |
| 50 | |
| 51 | void packfile_list_clear(struct packfile_list *list) |
| 52 | { |
| 53 | struct packfile_list_entry *e, *next; |
| 54 | |
| 55 | for (e = list->head; e; e = next) { |
| 56 | next = e->next; |
| 57 | free(e); |
| 58 | } |
| 59 | |
| 60 | list->head = list->tail = NULL; |
| 61 | } |
| 62 | |
| 63 | static struct packfile_list_entry *packfile_list_remove_internal(struct packfile_list *list, |
| 64 | struct packed_git *pack) |
no outgoing calls
no test coverage detected