summaryrefslogtreecommitdiff
path: root/string-list.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-12-09 10:25:21 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-12-10 06:41:09 (GMT)
commit3b3357626edc841a51d8885ddf6986bab5b6f778 (patch)
treec28a424e00c4fc8ca7656be02e2951396d91f9ad /string-list.c
parent5d826e972970a784bd7a7bdf587512510097b8c7 (diff)
downloadgit-3b3357626edc841a51d8885ddf6986bab5b6f778.zip
git-3b3357626edc841a51d8885ddf6986bab5b6f778.tar.gz
git-3b3357626edc841a51d8885ddf6986bab5b6f778.tar.bz2
style: the opening '{' of a function is in a separate line
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'string-list.c')
-rw-r--r--string-list.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/string-list.c b/string-list.c
index 1f6063f..a917955 100644
--- a/string-list.c
+++ b/string-list.c
@@ -155,7 +155,8 @@ static int item_is_not_empty(struct string_list_item *item, void *unused)
return *item->string != '\0';
}
-void string_list_remove_empty_items(struct string_list *list, int free_util) {
+void string_list_remove_empty_items(struct string_list *list, int free_util)
+{
filter_string_list(list, free_util, item_is_not_empty, NULL);
}