Skip to content

Commit 265ec3c

Browse files
committed
Merge branch 'nkari82-master'
2 parents fc210a2 + a2851a4 commit 265ec3c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

atomicops.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,7 @@ namespace moodycamel
442442
assert(initialCount >= 0);
443443
kern_return_t rc = semaphore_create(mach_task_self(), &m_sema, SYNC_POLICY_FIFO, initialCount);
444444
assert(rc == KERN_SUCCESS);
445+
AE_UNUSED(rc);
445446
}
446447

447448
AE_NO_TSAN ~Semaphore()
@@ -501,6 +502,7 @@ namespace moodycamel
501502
assert(initialCount >= 0);
502503
int rc = sem_init(&m_sema, 0, initialCount);
503504
assert(rc == 0);
505+
AE_UNUSED(rc);
504506
}
505507

506508
AE_NO_TSAN ~Semaphore()

0 commit comments

Comments
 (0)