ecore: fix compilation, missing return value in ecore_thread_wait
authorJérémy Zurcher <jeremy@asynk.ch>
Wed, 7 Jan 2015 21:12:29 +0000 (22:12 +0100)
committerJérémy Zurcher <jeremy@asynk.ch>
Wed, 7 Jan 2015 21:12:29 +0000 (22:12 +0100)
@fix ecore_thread_wait return EINA_TRUE if execution is over or thread is NULL

src/lib/ecore/ecore_thread.c

index 2be9db0edcf4bfa3a2dabf98757daa329ce1f2c1..7266c09f4304a55a67ac8c98d77c2638de9c8790 100644 (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;