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