summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-11-17 10:06:55 -0500
committerChris Michael <cp.michael@samsung.com>2015-11-17 10:06:55 -0500
commite04146f7dec24fa1769519b57fc996a1ddd33af5 (patch)
treeab1ea12003148091507e3f61737698a19c470ab6
parente29da3ca694d62f9c0049e1d8d65f8f95e6bf455 (diff)
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>
-rw-r--r--src/lib/ector/cairo/ector_renderer_cairo_shape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ector/cairo/ector_renderer_cairo_shape.c b/src/lib/ector/cairo/ector_renderer_cairo_shape.c
index 5f6f1b44b9..2672be54af 100644
--- a/src/lib/ector/cairo/ector_renderer_cairo_shape.c
+++ b/src/lib/ector/cairo/ector_renderer_cairo_shape.c
@@ -259,7 +259,7 @@ _ector_renderer_cairo_shape_eo_base_constructor(Eo *obj, Ector_Renderer_Cairo_Sh
259 USE(obj, cairo_path_destroy, NULL); 259 USE(obj, cairo_path_destroy, NULL);
260 USE(obj, cairo_move_to, NULL); 260 USE(obj, cairo_move_to, NULL);
261 261
262 obj = eo_do_super_ret(obj, ECTOR_RENDERER_CAIRO_SHAPE_CLASS, obj, obj = eo_constructor()); 262 obj = eo_do_super_ret(obj, ECTOR_RENDERER_CAIRO_SHAPE_CLASS, obj, eo_constructor());
263 if (!obj) return NULL; 263 if (!obj) return NULL;
264 264
265 pd->shape = eo_data_xref(obj, ECTOR_RENDERER_GENERIC_SHAPE_MIXIN, obj); 265 pd->shape = eo_data_xref(obj, ECTOR_RENDERER_GENERIC_SHAPE_MIXIN, obj);