diff --git a/src/nnn.c b/src/nnn.c index 15b221d8..d8e33260 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -5185,7 +5185,8 @@ static void show_help(const char *path) } hex = *s == '\n'; } - if (write(fd, help_buf, w - help_buf)) {} // silence warning + ssize_t res = write(fd, help_buf, w - help_buf); + (void)res; // silence warning dprintf(fd, "\nLOCATIONS\n"); for (uchar_t i = 0; i < CTX_MAX; ++i)