clean: remove unused variable buf
authorRené Scharfe <l.s.r@web.de>
Tue, 19 May 2015 22:13:26 +0000 (00:13 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 20 May 2015 20:50:21 +0000 (13:50 -0700)
It had never been used.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/clean.c
index 98c103fa8b4faa83c33a62e5d7871c1e9d888c38..a9eb7723e95931fc79da4d0652a5ca7fd832f8da 100644 (file)
@@ -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;
@@ -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);
 }