summaryrefslogtreecommitdiff
path: root/builtin/clean.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2015-05-20 00:13:26 +0200
committerJunio C Hamano <gitster@pobox.com>2015-05-20 13:50:21 -0700
commit5cd83e18851445cdc20d5842b53373fe15554ae9 (patch)
treebe75db001ac16a982a6b9b1c8c48cf375e23f135 /builtin/clean.c
parentdbe44faadb87f88e092f3dac387f96070268137a (diff)
downloadgit-5cd83e18851445cdc20d5842b53373fe15554ae9.tar.gz
clean: remove unused variable buf
It had never been used. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/clean.c')
-rw-r--r--builtin/clean.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/builtin/clean.c b/builtin/clean.c
index 98c103fa8b..a9eb7723e9 100644
--- a/builtin/clean.c
+++ b/builtin/clean.c
@@ -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);
}