Commit 6507743400b8189d31aa49f775fd06b2ed504fbd

Carlos Martín Nieto 2011-07-05T21:15:03

Also update local_connect's unused var name for MSVC Signed-off-by: Carlos Martín Nieto <cmn@elego.de>

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/transport_local.c b/src/transport_local.c
index bdb75ad..a9f6678 100644
--- a/src/transport_local.c
+++ b/src/transport_local.c
@@ -33,7 +33,7 @@ static int local_connect(git_transport *transport, int GIT_UNUSED(direction))
 	transport_local *t = (transport_local *) transport;
 	const char *path;
 	const char file_prefix[] = "file://";
-	GIT_UNUSED_ARG(dir);
+	GIT_UNUSED_ARG(direction);
 
 	/* The repo layer doesn't want the prefix */
 	if (!git__prefixcmp(transport->url, file_prefix))