Commit 5b0c63061bc68950c1d986a8688fa1bf7baaf3ad

Edward Thomson 2014-10-26T22:38:30

Remove unused warning on non-win32

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/remote.c b/src/remote.c
index 4b51642..4629175 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.
 	 */