summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-06-30 14:25:00 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2015-06-30 14:31:07 +0000
commit504b069701ff9c04717e2b8b9e119d51f061dfbc (patch)
treed00144676366a467d758fc76100a9c94c8437a19
parent0305721c109f1c36269dffd4c763ac57855318cf (diff)
downloadlibgit2-504b069701ff9c04717e2b8b9e119d51f061dfbc.tar.gz
checkout test: mark unused vars
-rw-r--r--tests/checkout/conflict.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/checkout/conflict.c b/tests/checkout/conflict.c
index 006dc6522..dd2dd3131 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;