Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-06-30 17:25:00 +0300
committerEdward Thomson <ethomson@edwardthomson.com>2015-06-30 17:31:07 +0300
commit504b069701ff9c04717e2b8b9e119d51f061dfbc (patch)
treed00144676366a467d758fc76100a9c94c8437a19 /tests/checkout
parent0305721c109f1c36269dffd4c763ac57855318cf (diff)
checkout test: mark unused vars
Diffstat (limited to 'tests/checkout')
-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;