summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@samsung.com>2013-11-18 18:20:35 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-11-18 19:21:06 +0900
commitde135600565624f44f49e55164f9439e0ca55219 (patch)
tree7a98513d8938b69f68b0838ebec65c918d4089e6 /src
parent30fa53c13ddc19d9142a599bda2b55f698e78bb9 (diff)
evas: those if (re) are useless indeed.
Should fix CID 1129611 and CID 1129612 from this week coverity scan.
Diffstat (limited to 'src')
-rw-r--r--src/modules/evas/engines/gl_x11/evas_engine.c4
1 files changed, 2 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 b40dcbb14e..d25610f1f3 100644
--- a/src/modules/evas/engines/gl_x11/evas_engine.c
+++ b/src/modules/evas/engines/gl_x11/evas_engine.c
@@ -3080,7 +3080,7 @@ eng_image_cache_flush(void *data)
3080 3080
3081 re = (Render_Engine *)data; 3081 re = (Render_Engine *)data;
3082 3082
3083 if (re) eng_window_use(re->win); 3083 eng_window_use(re->win);
3084 3084
3085 tmp_size = evas_common_image_get_cache(); 3085 tmp_size = evas_common_image_get_cache();
3086 evas_common_image_set_cache(0); 3086 evas_common_image_set_cache(0);
@@ -3096,7 +3096,7 @@ eng_image_cache_set(void *data, int bytes)
3096 3096
3097 re = (Render_Engine *)data; 3097 re = (Render_Engine *)data;
3098 3098
3099 if (re) eng_window_use(re->win); 3099 eng_window_use(re->win);
3100 3100
3101 evas_common_image_set_cache(bytes); 3101 evas_common_image_set_cache(bytes);
3102 evas_common_rgba_image_scalecache_size_set(bytes); 3102 evas_common_rgba_image_scalecache_size_set(bytes);