eina: warning removed from eina_debug_timer

Reviewers: stanluk, lukasz.stanislawski

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D5500
This commit is contained in:
Pawel Aksiutowicz 2017-11-21 11:17:51 +09:00 committed by Jean-Philippe Andre
parent 599a36b8ee
commit c7bedc2b23
1 changed files with 2 additions and 1 deletions

View File

@ -190,7 +190,8 @@ _eina_debug_timer_init(void)
{
eina_spinlock_new(&_lock);
#ifndef _WIN32
pipe(pipeToThread);
if (pipe(pipeToThread) == -1)
return EINA_FALSE;
#endif
return EINA_TRUE;
}