diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2015-06-03 14:57:37 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2015-06-09 15:55:35 +0900 |
commit | fb58613e18c53541c03c956783798fef3ab73dde (patch) | |
tree | 34f67f92a1a181e81bb7868c3fcd3e79b4e63d49 /src/modules/evas/engines/gl_x11/evas_engine.c | |
parent | b8bcc35f7a5ac2c65323ca4ed500c8de11df23f2 (diff) |
Evas: Fix shadow warning
Diffstat (limited to '')
-rw-r--r-- | src/modules/evas/engines/gl_x11/evas_engine.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/evas/engines/gl_x11/evas_engine.c b/src/modules/evas/engines/gl_x11/evas_engine.c index f3dce21e2b..23e00179c4 100644 --- a/src/modules/evas/engines/gl_x11/evas_engine.c +++ b/src/modules/evas/engines/gl_x11/evas_engine.c | |||
@@ -933,7 +933,7 @@ evgl_eng_indirect_surface_create(EVGL_Engine *evgl EINA_UNUSED, void *data, | |||
933 | int msaa = 0, depth = 0, stencil = 0; | 933 | int msaa = 0, depth = 0, stencil = 0; |
934 | Visual *visual = NULL; | 934 | Visual *visual = NULL; |
935 | Eina_Bool retried = EINA_FALSE; | 935 | Eina_Bool retried = EINA_FALSE; |
936 | int val; | 936 | EGLint val = 0; |
937 | 937 | ||
938 | /* Now we need to iterate over all EGL configurations to check the compatible | 938 | /* Now we need to iterate over all EGL configurations to check the compatible |
939 | * ones and finally check their visual ID. */ | 939 | * ones and finally check their visual ID. */ |
@@ -1010,7 +1010,6 @@ try_again: | |||
1010 | DBG("Found %d potential configurations", num); | 1010 | DBG("Found %d potential configurations", num); |
1011 | for (i = 0; (i < num) && !found; i++) | 1011 | for (i = 0; (i < num) && !found; i++) |
1012 | { | 1012 | { |
1013 | EGLint val = 0; | ||
1014 | VisualID visid = 0; | 1013 | VisualID visid = 0; |
1015 | XVisualInfo *xvi, vi_in; | 1014 | XVisualInfo *xvi, vi_in; |
1016 | XRenderPictFormat *fmt; | 1015 | XRenderPictFormat *fmt; |