wayland_shm: Fix uninit variable

also make it an Eina_Bool
This commit is contained in:
Derek Foreman 2016-04-26 10:46:46 -05:00
parent 0a77ae5c4a
commit 6ef0fdfe2b
1 changed files with 2 additions and 2 deletions

View File

@ -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;