Also update local_connect's unused var name for MSVC

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
This commit is contained in:
Carlos Martín Nieto 2011-07-05 21:15:03 +02:00 committed by Vicent Marti
parent 3827c923b8
commit 6507743400

View File

@ -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))