aboutsummaryrefslogtreecommitdiff
path: root/tests/poolTests.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/poolTests.c')
-rw-r--r--tests/poolTests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/poolTests.c b/tests/poolTests.c
index 26d57fb5c867..02ec62af9f37 100644
--- a/tests/poolTests.c
+++ b/tests/poolTests.c
@@ -46,7 +46,7 @@ static int testOrder(size_t numThreads, size_t queueSize)
POOL_ctx* const ctx = POOL_create(numThreads, queueSize);
ASSERT_TRUE(ctx);
data.i = 0;
- (void)ZSTD_pthread_mutex_init(&data.mutex, NULL);
+ ASSERT_FALSE(ZSTD_pthread_mutex_init(&data.mutex, NULL));
{ size_t i;
for (i = 0; i < 16; ++i) {
POOL_add(ctx, &fn, &data);