summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-03-16 09:21:08 -0400
committerChris Michael <cpmichael@osg.samsung.com>2016-03-16 09:21:08 -0400
commit114d010fc122a9cb1ca6a2d5f87691f13950903d (patch)
tree10691bb032f3419e6c22441a7d558e6b18b7fe55 /src
parent296e8c22b039fd5669ad95375733bf214b23d71e (diff)
evas: Fix incorrect expression in efl_canvas_surface_wayland
This patch fixes an issue detected by Coverity where 'obj' is written twice with the same value CID1353365 @fix Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Diffstat (limited to 'src')
-rw-r--r--src/lib/evas/canvas/efl_canvas_surface_wayland.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_surface_wayland.c b/src/lib/evas/canvas/efl_canvas_surface_wayland.c
index 1798107079..3b1b3584df 100644
--- a/src/lib/evas/canvas/efl_canvas_surface_wayland.c
+++ b/src/lib/evas/canvas/efl_canvas_surface_wayland.c
@@ -30,7 +30,9 @@ _efl_canvas_surface_wayland_eo_base_constructor(Eo *eo, Efl_Canvas_Surface_Wayla
30EOLIAN static void 30EOLIAN static void
31_efl_canvas_surface_wayland_eo_base_destructor(Eo *eo, Efl_Canvas_Surface_Wayland_Data *pd) 31_efl_canvas_surface_wayland_eo_base_destructor(Eo *eo, Efl_Canvas_Surface_Wayland_Data *pd)
32{ 32{
33 Evas_Object_Protected_Data *obj = obj = eo_data_scope_get(eo, EVAS_OBJECT_CLASS); 33 Evas_Object_Protected_Data *obj;
34
35 obj = eo_data_scope_get(eo, EVAS_OBJECT_CLASS);
34 36
35 ENFN->image_native_shutdown(ENDT, EVAS_NATIVE_SURFACE_WL); 37 ENFN->image_native_shutdown(ENDT, EVAS_NATIVE_SURFACE_WL);
36 eo_data_unref(eo, pd->base); 38 eo_data_unref(eo, pd->base);