From 5b0c63061bc68950c1d986a8688fa1bf7baaf3ad Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Sun, 26 Oct 2014 22:38:30 -0400 Subject: [PATCH] Remove unused warning on non-win32 --- src/remote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/remote.c b/src/remote.c index 4b516420f..4629175d0 100644 --- a/src/remote.c +++ b/src/remote.c @@ -116,9 +116,9 @@ static int get_check_cert(int *out, git_repository *repo) static int canonicalize_url(git_buf *out, const char *in) { +#ifdef GIT_WIN32 const char *c; -#ifdef GIT_WIN32 /* Given a UNC path like \\server\path, we need to convert this * to //server/path for compatibility with core git. */