summaryrefslogtreecommitdiff
path: root/tests/index/addall.c
diff options
context:
space:
mode:
authorYuang Li <yuangli88@hotmail.com>2022-06-24 13:21:48 +0100
committerYuang Li <yuangli88@hotmail.com>2022-06-24 13:21:48 +0100
commite07aa9c3c4f5d0462662e2c7fc1ae8120a29d740 (patch)
treeda61eddd173c43d09a6545f75b35360f0a48f68b /tests/index/addall.c
parent79af067665c37b6dc0b31edb35596c362b0cd9a0 (diff)
parentb7bad55e4bb0a285b073ba5e02b01d3f522fc95d (diff)
downloadlibgit2-e07aa9c3c4f5d0462662e2c7fc1ae8120a29d740.tar.gz
Merge branch 'main' into pr/pks-t/5254
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));