From 13ee1384ef0004bd9fa6e4d2b832b49ce2e8a032 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sun, 27 Mar 2011 20:32:19 -0500 Subject: Fix two unused variable warnings in gcc 4.6 Seen with -Wunused-but-set-variable. Signed-off-by: Dan McGee Signed-off-by: Junio C Hamano --- http-fetch.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'http-fetch.c') diff --git a/http-fetch.c b/http-fetch.c index 923904f97..3af4c71bd 100644 --- a/http-fetch.c +++ b/http-fetch.c @@ -8,7 +8,6 @@ static const char http_fetch_usage[] = "git http-fetch " int main(int argc, const char **argv) { - const char *prefix; struct walker *walker; int commits_on_stdin = 0; int commits; @@ -60,7 +59,7 @@ int main(int argc, const char **argv) if (argv[arg]) str_end_url_with_slash(argv[arg], &url); - prefix = setup_git_directory(); + setup_git_directory(); git_config(git_default_config, NULL); -- cgit v1.2.1