Skip to content

Commit

Permalink
silence ci warning
Browse files Browse the repository at this point in the history
  • Loading branch information
N-R-K committed Nov 21, 2023
1 parent 3665541 commit 60eabb6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/nnn.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 60eabb6

Please sign in to comment.