raster pushed a commit to branch efl-1.11. http://git.enlightenment.org/core/efl.git/commit/?id=f021031e7c3f50ecee22e420d11e58d2f453a6df
commit f021031e7c3f50ecee22e420d11e58d2f453a6df Author: Carsten Haitzler (Rasterman) <[email protected]> Date: Thu Sep 4 21:02:12 2014 +0900 efl 1.11 - remove ok dup var warning --- src/lib/ecore_x/xlib/ecore_x_vsync.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/ecore_x/xlib/ecore_x_vsync.c b/src/lib/ecore_x/xlib/ecore_x_vsync.c index 36400fb..f68efb2 100644 --- a/src/lib/ecore_x/xlib/ecore_x_vsync.c +++ b/src/lib/ecore_x/xlib/ecore_x_vsync.c @@ -385,8 +385,6 @@ _drm_init(void) // only do this on new kernels = let's say 3.14 and up. 3.16 definitely // works { - Eina_Bool ok = EINA_FALSE; - FILE *fp = fopen("/proc/sys/kernel/osrelease", "r"); if (fp) { @@ -403,6 +401,7 @@ _drm_init(void) } if (!ok) return 0; } + ok = EINA_FALSE; snprintf(buf, sizeof(buf), "/dev/dri/card1"); if (stat(buf, &st) == 0) --
