summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/startup_completed_task.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/startup_completed_task.cc b/runtime/startup_completed_task.cc
index 9358d48acc..a9a06bb0e1 100644
--- a/runtime/startup_completed_task.cc
+++ b/runtime/startup_completed_task.cc
@@ -82,7 +82,7 @@ void StartupCompletedTask::Run(Thread* self) {
// - accessing the image space metadata section when we madvise it
// - accessing dex caches when we free them
static struct EmptyClosure : Closure {
- void Run(Thread* thread ATTRIBUTE_UNUSED) override {}
+ void Run([[maybe_unused]] Thread* thread) override {}
} closure;
runtime->GetThreadList()->RunCheckpoint(&closure);