1
1
mirror of https://github.com/jarun/nnn.git synced 2024-09-11 04:55:25 +03:00

silence ci warning

This commit is contained in:
NRK 2023-11-21 20:50:45 +06:00
parent 3665541dac
commit 60eabb6170

View File

@ -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)