Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed Nov 17, 2024
1 parent 4c65ce9 commit 5d5e7a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/nitki/queue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ void queue::clear_ready_to_read_state() noexcept
#elif CFG_OS == CFG_OS_MACOSX
{
std::array<uint8_t, 1> one_byte_buf{};
// NOLINTNEXTLINE(clang-analyzer-unix.BlockInCriticalSection, "should not block")
if (read(this->handle, one_byte_buf.data(), 1) != 1) {
ASSERT(false)
}
Expand Down

0 comments on commit 5d5e7a4

Please sign in to comment.