diff options
author | Brian Gianforcaro <b.gianfo@gmail.com> | 2020-08-16 17:52:56 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-17 09:17:57 +0200 |
commit | bcbac83a8bdd2ca29f70204d6c7d8202d6b01bdf (patch) | |
tree | 00eadc1aa21bec7f0855a973c6f2e99787bdcfdd /Userland/more.cpp | |
parent | 9ffbe03bdb59e53c36d92b129f4d319ed1e72781 (diff) | |
download | serenity-bcbac83a8bdd2ca29f70204d6c7d8202d6b01bdf.zip |
Userland: Explicitly ignore number of types read, found by Coverity
Diffstat (limited to 'Userland/more.cpp')
-rw-r--r-- | Userland/more.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/more.cpp b/Userland/more.cpp index 18270e09b9..4ff672000b 100644 --- a/Userland/more.cpp +++ b/Userland/more.cpp @@ -36,7 +36,7 @@ static void wait_for_key() printf("\033[7m--[ more ]--\033[0m"); fflush(stdout); char dummy; - read(key_fd, &dummy, 1); + (void)read(key_fd, &dummy, 1); printf("\n"); } |