aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2016-12-08 09:23:36 -0500
committerChris Michael <cp.michael@samsung.com>2016-12-08 09:23:36 -0500
commit269089c1bea42bf6944f0e545c95f0b9b090b5aa (patch)
treeacd7ba568857595bf8596de1c43733837df47132
parentelementary: atspi accepts UTF-8 text (diff)
downloadefl-269089c1bea42bf6944f0e545c95f0b9b090b5aa.tar.gz
evas-wayland-shm: Remove unused varibles
These variables are unused (as reported by gcc), and 'ob' is not really needed in eng_update so remove that also. Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/modules/evas/engines/wayland_shm/evas_engine.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/modules/evas/engines/wayland_shm/evas_engine.c b/src/modules/evas/engines/wayland_shm/evas_engine.c
index a9a27f8884..a5e8ecd48d 100644
--- a/src/modules/evas/engines/wayland_shm/evas_engine.c
+++ b/src/modules/evas/engines/wayland_shm/evas_engine.c
@@ -140,7 +140,6 @@ static void *
eng_setup(void *info, unsigned int w, unsigned int h)
{
Evas_Engine_Info_Wayland *einfo = info;
- Render_Engine *re = NULL;
LOGFN(__FILE__, __LINE__, __FUNCTION__);
@@ -152,15 +151,13 @@ eng_update(void *data, void *info, unsigned int w, unsigned int h)
{
Evas_Engine_Info_Wayland *einfo = info;
Render_Engine *re = data;
- Outbuf *ob;
if (!einfo->info.wl_surface) return 0;
if (!einfo->info.hidden) return 1;
eng_output_resize(re, w, h);
- if (!ob) return 0;
- evas_render_engine_software_generic_update(&re->generic, ob,
+ evas_render_engine_software_generic_update(&re->generic, re->generic.ob,
w, h);
return 1;