ector: Fix incorrect expression
Coverity reports that 'obj' is written twice with the same value here., so fix this with a proper call to eo_do_super_ret NB: Fixes Coverity CID1339786 @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
e29da3ca69
commit
e04146f7de
|
@ -259,7 +259,7 @@ _ector_renderer_cairo_shape_eo_base_constructor(Eo *obj, Ector_Renderer_Cairo_Sh
|
|||
USE(obj, cairo_path_destroy, NULL);
|
||||
USE(obj, cairo_move_to, NULL);
|
||||
|
||||
obj = eo_do_super_ret(obj, ECTOR_RENDERER_CAIRO_SHAPE_CLASS, obj, obj = eo_constructor());
|
||||
obj = eo_do_super_ret(obj, ECTOR_RENDERER_CAIRO_SHAPE_CLASS, obj, eo_constructor());
|
||||
if (!obj) return NULL;
|
||||
|
||||
pd->shape = eo_data_xref(obj, ECTOR_RENDERER_GENERIC_SHAPE_MIXIN, obj);
|
||||
|
|
Loading…
Reference in New Issue