Merge pull request #113 from chme/compilerwarnings

silence compiler warning in player.c "warning: ignoring return value"
This commit is contained in:
ejurgensen 2015-02-28 15:13:14 +01:00
commit 373e7e8ffe
1 changed files with 3 additions and 1 deletions

View File

@ -1804,7 +1804,9 @@ player_playback_cb(int fd, short what, void *arg)
uint64_t ticks;
/* 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__ */
/* Decide how many packets to send */