derekf pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=6ef0fdfe2b53f2575499b91f59cfcf86d7879c47

commit 6ef0fdfe2b53f2575499b91f59cfcf86d7879c47
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Tue Apr 26 10:46:46 2016 -0500

    wayland_shm: Fix uninit variable
    
    also make it an Eina_Bool
---
 src/modules/evas/engines/wayland_shm/evas_dmabuf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/evas/engines/wayland_shm/evas_dmabuf.c 
b/src/modules/evas/engines/wayland_shm/evas_dmabuf.c
index a30b419..81cb806 100644
--- a/src/modules/evas/engines/wayland_shm/evas_dmabuf.c
+++ b/src/modules/evas/engines/wayland_shm/evas_dmabuf.c
@@ -19,7 +19,7 @@
    do {                            \
       sym_## xx = dlsym(lib, #xx); \
       if (!(sym_ ## xx)) {         \
-         fail = 1;                 \
+         fail = EINA_TRUE;         \
       }                            \
    } while (0)
 
@@ -83,7 +83,7 @@ _get_buffer_manager(void)
 {
    int fd;
    void *drm_intel_lib;
-   int fail;
+   Eina_Bool fail = EINA_FALSE;
 
    if (buffer_manager) return buffer_manager;
 

-- 


Reply via email to