forked from enlightenment/efl
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>
This commit is contained in:
parent
296e8c22b0
commit
114d010fc1
|
@ -30,7 +30,9 @@ _efl_canvas_surface_wayland_eo_base_constructor(Eo *eo, Efl_Canvas_Surface_Wayla
|
|||
EOLIAN static void
|
||||
_efl_canvas_surface_wayland_eo_base_destructor(Eo *eo, Efl_Canvas_Surface_Wayland_Data *pd)
|
||||
{
|
||||
Evas_Object_Protected_Data *obj = obj = eo_data_scope_get(eo, EVAS_OBJECT_CLASS);
|
||||
Evas_Object_Protected_Data *obj;
|
||||
|
||||
obj = eo_data_scope_get(eo, EVAS_OBJECT_CLASS);
|
||||
|
||||
ENFN->image_native_shutdown(ENDT, EVAS_NATIVE_SURFACE_WL);
|
||||
eo_data_unref(eo, pd->base);
|
||||
|
|
Loading…
Reference in New Issue