Commit 504b069701ff9c04717e2b8b9e119d51f061dfbc

Edward Thomson 2015-06-30T14:25:00

checkout test: mark unused vars

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/tests/checkout/conflict.c b/tests/checkout/conflict.c
index 006dc65..dd2dd31 100644
--- a/tests/checkout/conflict.c
+++ b/tests/checkout/conflict.c
@@ -161,7 +161,10 @@ static void ensure_workdir_oid(const char *path, const char *oid_str)
 
 static void ensure_workdir_mode(const char *path, int mode)
 {
-#ifndef GIT_WIN32
+#ifdef GIT_WIN32
+	GIT_UNUSED(path);
+	GIT_UNUSED(mode);
+#else
 	git_buf fullpath = GIT_BUF_INIT;
 	struct stat st;