mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 04:29:30 -10:00
LibC: Mark s_pending_cancellation as [[maybe_unused]]
When compiling with _DYNAMIC_LOADER set s_pending_cancellation is not used.
This commit is contained in:
1 parent
8b2cf5a416
commit
c4113a4e7a
1 file changed
+1
-1
@@ -51,7 +51,7 @@ struct CleanupHandler {
|
||||
|
||||
static thread_local SinglyLinkedList<CleanupHandler> s_cleanup_handlers;
|
||||
|
||||
static __thread bool s_pending_cancellation = false;
|
||||
[[maybe_unused]] static __thread bool s_pending_cancellation = false;
|
||||
|
||||
[[gnu::weak]] extern ErrorOr<FlatPtr> __create_new_tls_region() asm("__create_new_tls_region");
|
||||
[[gnu::weak]] extern ErrorOr<void> __free_tls_region(FlatPtr thread_pointer) asm("__free_tls_region");
|
||||
|
||||
Reference in new issue
Block a user