ecore: removed warning from ecore_anim

Reviewers: stanluk, lukasz.stanislawski, jpeg

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D5535
This commit is contained in:
Pawel Aksiutowicz 2017-12-04 19:35:06 +09:00 committed by Jean-Philippe Andre
parent c41480e46c
commit 767eefbf21
1 changed files with 4 additions and 1 deletions

View File

@ -255,7 +255,10 @@ _timer_tick_core(void *data EINA_UNUSED, Ecore_Thread *thread)
{ {
if (pollincoming[i].data.ptr == INPUT_TIMER_TIMERFD) if (pollincoming[i].data.ptr == INPUT_TIMER_TIMERFD)
{ {
read(timerfd, &timerfdbuf, sizeof(timerfdbuf)); if (read(timerfd, &timerfdbuf, sizeof(timerfdbuf)) == -1)
{
ERR("Cannot read from timer descriptor. %m.");
}
data_timeout = EINA_TRUE; data_timeout = EINA_TRUE;
} }
else if (pollincoming[i].data.ptr == INPUT_TIMER_CONTROL) else if (pollincoming[i].data.ptr == INPUT_TIMER_CONTROL)