mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2025-03-31 12:26:18 +03:00
base: Remove warnings in base/task/common/task_annotator.cc
This commit is contained in:
parent
69464f03be
commit
99e2216813
1 changed files with 2 additions and 0 deletions
|
@ -315,6 +315,8 @@ TaskAnnotator::LongTaskTracker::~LongTaskTracker() {
|
|||
TRACE_EVENT_END("scheduler.long_tasks",
|
||||
perfetto::Track::ThreadScoped(task_annotator_),
|
||||
task_end_time);
|
||||
std::ignore = pending_task_;
|
||||
std::ignore = task_annotator_;
|
||||
}
|
||||
#if !BUILDFLAG(ENABLE_BASE_TRACING)
|
||||
// Suppress the unused variable warning when TRACE_EVENT macros are turned
|
||||
|
|
Loading…
Add table
Reference in a new issue