ecore: fix compilation, missing return value in ecore_thread_wait

@fix ecore_thread_wait return EINA_TRUE if execution is over or thread is NULL
This commit is contained in:
Jérémy Zurcher 2015-01-07 22:12:29 +01:00
parent bf9c5873fb
commit cb670931d6
1 changed files with 1 additions and 1 deletions

View File

@ -780,7 +780,7 @@ ecore_thread_wait(Ecore_Thread *thread, double wait)
Ecore_Pthread_Worker *worker = (Ecore_Pthread_Worker*) thread;
Ecore_Thread_Waiter waiter;
if (!thread) return ;
if (!thread) return EINA_TRUE;
waiter.data = worker->data;
waiter.func_end = worker->func_end;