mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-29 07:58:01 -04:00
server: fix compilation error: return value ignored
This commit is contained in:
parent
b13a8f12d2
commit
72d9a13c0c
1 changed files with 1 additions and 1 deletions
2
server.c
2
server.c
|
|
@ -208,7 +208,7 @@ fdm_client(struct fdm *fdm, int fd, int events, void *data)
|
||||||
/* TODO: slightly broken, since not all data is guaranteed
|
/* TODO: slightly broken, since not all data is guaranteed
|
||||||
to be readable yet */
|
to be readable yet */
|
||||||
uint8_t dummy[ipc_hdr.size];
|
uint8_t dummy[ipc_hdr.size];
|
||||||
read(fd, dummy, ipc_hdr.size);
|
(void)!!read(fd, dummy, ipc_hdr.size);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue