From 504b069701ff9c04717e2b8b9e119d51f061dfbc Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Tue, 30 Jun 2015 14:25:00 +0000 Subject: [PATCH] checkout test: mark unused vars --- tests/checkout/conflict.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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;