mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-20 18:54:05 -04:00
silence compiler warning in player.c "warning: ignoring return value of
‘read’ ..."
This commit is contained in:
parent
114ec347bc
commit
1923e7b67d
@ -1804,7 +1804,9 @@ player_playback_cb(int fd, short what, void *arg)
|
|||||||
uint64_t ticks;
|
uint64_t ticks;
|
||||||
|
|
||||||
/* Acknowledge timer */
|
/* Acknowledge timer */
|
||||||
read(fd, &ticks, sizeof(ticks));
|
ret = read(fd, &ticks, sizeof(ticks));
|
||||||
|
if (ret <= 0)
|
||||||
|
DPRINTF(E_LOG, L_PLAYER, "Error reading timer.\n");
|
||||||
#endif /* __linux__ */
|
#endif /* __linux__ */
|
||||||
|
|
||||||
/* Decide how many packets to send */
|
/* Decide how many packets to send */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user