diff options
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/barrier.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/barrier.h b/src/shared/barrier.h index c55e311344..d4ad2a419b 100644 --- a/src/shared/barrier.h +++ b/src/shared/barrier.h @@ -91,6 +91,6 @@ static inline bool barrier_is_aborted(Barrier *b) { } static inline bool barrier_place_and_sync(Barrier *b) { - barrier_place(b); + (void)barrier_place(b); return barrier_sync(b); } |