diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-11-21 22:57:56 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-21 22:57:56 +0900 |
commit | d5e4cbabcf85152c5e630b018e489deb1a014f2f (patch) | |
tree | 61b45f6b0e4669e5d0e553ec675dee487a85e1fc /string-list.c | |
parent | d9e70a4e63d25ed0355fed5b01431f2215614007 (diff) | |
parent | 0597dd62ba428dd02b2bf280ede4cdb0b2e318c0 (diff) |
Merge branch 'sb/string-list-remove-unused' into maint
Code clean-up.
* sb/string-list-remove-unused:
string-list: remove unused function print_string_list
Diffstat (limited to 'string-list.c')
-rw-r--r-- | string-list.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/string-list.c b/string-list.c index 771c455098..1f6063f2a2 100644 --- a/string-list.c +++ b/string-list.c @@ -195,16 +195,6 @@ void string_list_clear_func(struct string_list *list, string_list_clear_func_t c list->nr = list->alloc = 0; } - -void print_string_list(const struct string_list *p, const char *text) -{ - int i; - if ( text ) - printf("%s\n", text); - for (i = 0; i < p->nr; i++) - printf("%s:%p\n", p->items[i].string, p->items[i].util); -} - struct string_list_item *string_list_append_nodup(struct string_list *list, char *string) { |