eina: forgotten initialization.
authorcedric <cedric>
Mon, 2 May 2011 13:09:38 +0000 (13:09 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 2 May 2011 13:09:38 +0000 (13:09 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59121 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/include/eina_inline_lock_posix.x

index 7fc64bd..3f6c8d3 100644 (file)
@@ -102,7 +102,7 @@ eina_lock_free(Eina_Lock *mutex)
 static inline Eina_Lock_Result
 eina_lock_take(Eina_Lock *mutex)
 {
-   Eina_Bool ret;
+   Eina_Bool ret = EINA_FALSE;
    int ok;
 
 #ifdef EINA_HAVE_DEBUG_THREADS