Skip to content

Commit bb46c0b

Browse files
committed
[libc] Remove warnings on default values
Summary: These cause issues because we compile with `-Wno-error`. Remove them for now. @SchrodingerZhu.
1 parent 40effc7 commit bb46c0b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

libc/src/__support/threads/linux/raw_mutex.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121
#ifndef LIBC_COPT_TIMEOUT_ENSURE_MONOTONICITY
2222
#define LIBC_COPT_TIMEOUT_ENSURE_MONOTONICITY 1
23-
#warning "LIBC_COPT_TIMEOUT_ENSURE_MONOTONICITY is not defined, defaulting to 1"
2423
#endif
2524

2625
#if LIBC_COPT_TIMEOUT_ENSURE_MONOTONICITY
@@ -29,8 +28,6 @@
2928

3029
#ifndef LIBC_COPT_RAW_MUTEX_DEFAULT_SPIN_COUNT
3130
#define LIBC_COPT_RAW_MUTEX_DEFAULT_SPIN_COUNT 100
32-
#warning \
33-
"LIBC_COPT_RAW_MUTEX_DEFAULT_SPIN_COUNT is not defined, defaulting to 100"
3431
#endif
3532

3633
namespace LIBC_NAMESPACE_DECL {

0 commit comments

Comments
 (0)