mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
Kernel: Suppress remaining unobserved KResult return codes
These are all cases where there is no clear and easy fix, I've left FIXME bread crumbs so that these can hopefully be fixed over time.
This commit is contained in:
parent
d67069d922
commit
946c96dd56
Notes:
sideshowbarker
2024-07-19 04:16:53 +09:00
Author: https://github.com/bgianfo
Commit: 946c96dd56
Pull-request: https://github.com/SerenityOS/serenity/pull/3001
Reviewed-by: https://github.com/awesomekling
7 changed files with 23 additions and 15 deletions
|
@ -70,7 +70,8 @@ FileDescription::~FileDescription()
|
|||
socket()->detach(*this);
|
||||
if (is_fifo())
|
||||
static_cast<FIFO*>(m_file.ptr())->detach(m_fifo_direction);
|
||||
m_file->close();
|
||||
// FIXME: Should this error path be observed somehow?
|
||||
(void)m_file->close();
|
||||
m_inode = nullptr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue