Skip to content

Commit e01c9b0

Browse files
committed
Add [[maybe_unused]] annotation to signal_handler_is_from_sanitizer
1 parent 4d47934 commit e01c9b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ typedef void (*sa_sigaction_t)(int, siginfo_t *, void *);
4747

4848
namespace __sanitizer {
4949

50-
static atomic_uint8_t signal_handler_is_from_sanitizer[64];
50+
[[maybe_unused]] static atomic_uint8_t signal_handler_is_from_sanitizer[64];
5151

5252
u32 GetUid() {
5353
return getuid();

0 commit comments

Comments
 (0)