mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-03 14:12:22 +00:00
tests: Do not warn for unused variable
This commit is contained in:
parent
865e2dd444
commit
cf9709b64e
@ -195,10 +195,13 @@ static void *cache_raw(void *arg)
|
||||
void test_object_cache__threadmania(void)
|
||||
{
|
||||
int try, th, max_i;
|
||||
git_thread t[THREADCOUNT];
|
||||
void *data;
|
||||
void *(*fn)(void *);
|
||||
|
||||
#ifdef GIT_THREADS
|
||||
git_thread t[THREADCOUNT];
|
||||
#endif
|
||||
|
||||
for (max_i = 0; g_data[max_i].sha != NULL; ++max_i)
|
||||
/* count up */;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user