summaryrefslogtreecommitdiff
path: root/tests/index/addall.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/index/addall.c')
-rw-r--r--tests/index/addall.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/index/addall.c b/tests/index/addall.c
index d1ef31daf..6f95f6386 100644
--- a/tests/index/addall.c
+++ b/tests/index/addall.c
@@ -318,11 +318,9 @@ void test_index_addall__files_in_folders(void)
void test_index_addall__hidden_files(void)
{
+#ifdef GIT_WIN32
git_index *index;
- GIT_UNUSED(index);
-
-#ifdef GIT_WIN32
addall_create_test_repo(true);
cl_git_pass(git_repository_index(&index, g_repo));