Skip to content

Commit

Permalink
clean: remove unused variable buf
Browse files Browse the repository at this point in the history
It had never been used.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
René Scharfe authored and Junio C Hamano committed May 20, 2015
1 parent dbe44fa commit 5cd83e1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions builtin/clean.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,6 @@ static void print_highlight_menu_stuff(struct menu_stuff *stuff, int **chosen)
{
struct string_list menu_list = STRING_LIST_INIT_DUP;
struct strbuf menu = STRBUF_INIT;
struct strbuf buf = STRBUF_INIT;
struct menu_item *menu_item;
struct string_list_item *string_list_item;
int i;
Expand Down Expand Up @@ -363,7 +362,6 @@ static void print_highlight_menu_stuff(struct menu_stuff *stuff, int **chosen)
pretty_print_menus(&menu_list);

strbuf_release(&menu);
strbuf_release(&buf);
string_list_clear(&menu_list, 0);
}

Expand Down

0 comments on commit 5cd83e1

Please sign in to comment.