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:
Brian Gianforcaro 2020-08-05 02:13:30 -07:00 committed by Andreas Kling
commit 946c96dd56
Notes: sideshowbarker 2024-07-19 04:16:53 +09:00
7 changed files with 23 additions and 15 deletions

View file

@ -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;
}