mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 18:05:07 +00:00
Kernel: Fix build break from missing KResult [[nodiscard]] suppressions
Missed this somehow in previous change.
This commit is contained in:
parent
fa666f6897
commit
c4c6d9367d
2 changed files with 6 additions and 3 deletions
|
@ -639,7 +639,8 @@ void Process::finalize()
|
|||
if (!description_or_error.is_error()) {
|
||||
auto& description = description_or_error.value();
|
||||
auto json = m_perf_event_buffer->to_json(m_pid, m_executable ? m_executable->absolute_path() : "");
|
||||
description->write(json.data(), json.size());
|
||||
// FIXME: Should this error path be surfaced somehow?
|
||||
(void)description->write(json.data(), json.size());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue