We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b6a6b7 commit fcb30a0Copy full SHA for fcb30a0
libc/test/integration/src/pthread/pthread_barrier_test.cpp
@@ -26,7 +26,7 @@
26
pthread_barrier_t barrier;
27
LIBC_NAMESPACE::cpp::Atomic<int> counter;
28
29
-void *increment_counter_and_wait(void *args) {
+void *increment_counter_and_wait([[maybe_unused]] void *args) {
30
counter.fetch_add(1);
31
return reinterpret_cast<void *>(
32
LIBC_NAMESPACE::pthread_barrier_wait(&barrier));
@@ -102,7 +102,7 @@ void reused_barrier_test() {
102
LIBC_NAMESPACE::pthread_barrier_destroy(&barrier);
103
}
104
105
-void *barrier_wait(void *in) {
+void *barrier_wait([[maybe_unused]] void *in) {
106
107
108
0 commit comments