mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-16 07:47:22 +01:00
signal_child: use "(void) res" to silence compiler warning
Fixes https://github.com/awesomeWM/awesome/issues/2418.
This commit is contained in:
parent
c21e8b980a
commit
aaed083755
1 changed files with 1 additions and 0 deletions
|
@ -463,6 +463,7 @@ signal_child(int signum)
|
|||
{
|
||||
assert(signum == SIGCHLD);
|
||||
int res = write(sigchld_pipe[1], " ", 1);
|
||||
(void) res;
|
||||
assert(res == 1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue