Skip to content

Commit ae31826

Browse files
committed
logger: Mark submit_failures unused
New clang caught on to the fact that submit_failures is set, but never read. Mark it unused for now. Signed-off-by: Alexander Shishkin <alex@ash.works>
1 parent 37ea456 commit ae31826

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/logger.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ void __asan_error_report()
4040
# endif /* __has_feature(address_sanitizer) */
4141
#endif /* __has_feature */
4242

43-
static thread_local unsigned long submit_failures = 0;
43+
static thread_local __unused unsigned long submit_failures = 0;
4444

4545
/*
4646
* Chain multiple log sinks together, so that we can have

0 commit comments

Comments
 (0)