server: fix compilation error: return value ignored

This commit is contained in:
Daniel Eklöf 2025-08-01 09:41:37 +02:00
parent b13a8f12d2
commit 72d9a13c0c
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -208,7 +208,7 @@ fdm_client(struct fdm *fdm, int fd, int events, void *data)
/* TODO: slightly broken, since not all data is guaranteed
to be readable yet */
uint8_t dummy[ipc_hdr.size];
read(fd, dummy, ipc_hdr.size);
(void)!!read(fd, dummy, ipc_hdr.size);
return true;
}
}