diff options
Diffstat (limited to 'tests/index/bypath.c')
-rw-r--r-- | tests/index/bypath.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/index/bypath.c b/tests/index/bypath.c index 21d3d3ed0..b32a0a789 100644 --- a/tests/index/bypath.c +++ b/tests/index/bypath.c @@ -49,13 +49,10 @@ void test_index_bypath__add_submodule_unregistered(void) void test_index_bypath__add_hidden(void) { +#ifdef GIT_WIN32 const git_index_entry *entry; bool hidden; - GIT_UNUSED(entry); - GIT_UNUSED(hidden); - -#ifdef GIT_WIN32 cl_git_mkfile("submod2/hidden_file", "you can't see me"); cl_git_pass(git_win32__hidden(&hidden, "submod2/hidden_file")); |