io/FileDescriptor: add [[nodiscard]]
This commit is contained in:

committed by
Max Kellermann

parent
3e862b85d4
commit
b63a794fbe
@@ -48,7 +48,7 @@ EventPipe::Write() noexcept
|
||||
assert(w.IsDefined());
|
||||
|
||||
static constexpr std::byte buffer[1]{};
|
||||
w.Write(buffer);
|
||||
(void)w.Write(buffer);
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
|
Reference in New Issue
Block a user