Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 504b069

Browse files
committed
checkout test: mark unused vars
1 parent 0305721 commit 504b069

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/checkout/conflict.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,10 @@ static void ensure_workdir_oid(const char *path, const char *oid_str)
161161

162162
static void ensure_workdir_mode(const char *path, int mode)
163163
{
164-
#ifndef GIT_WIN32
164+
#ifdef GIT_WIN32
165+
GIT_UNUSED(path);
166+
GIT_UNUSED(mode);
167+
#else
165168
git_buf fullpath = GIT_BUF_INIT;
166169
struct stat st;
167170

0 commit comments

Comments
 (0)