diff options
Diffstat (limited to 'tests/threads/diff.c')
-rw-r--r-- | tests/threads/diff.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/threads/diff.c b/tests/threads/diff.c index 7f10a699d..5565c4bf1 100644 --- a/tests/threads/diff.c +++ b/tests/threads/diff.c @@ -18,11 +18,12 @@ static void run_in_parallel( int r, t, *id = git__calloc(threads, sizeof(int)); #ifdef GIT_THREADS git_thread *th = git__calloc(threads, sizeof(git_thread)); + cl_assert(th != NULL); #else void *th = NULL; #endif - cl_assert(id != NULL && th != NULL); + cl_assert(id != NULL); for (r = 0; r < repeats; ++r) { _repo = cl_git_sandbox_reopen(); /* reopen sandbox to flush caches */ |