evas filter: silent coverity on self assignment
authorAmitesh Singh <amitesh.sh@samsung.com>
Wed, 14 Oct 2015 15:34:52 +0000 (21:04 +0530)
committerAmitesh Singh <amitesh.sh@samsung.com>
Wed, 14 Oct 2015 15:38:20 +0000 (21:08 +0530)
This is a false alarm. Just to make coverity happy, use eo_do
instead of eo_do_ret

CID: 1316017

src/lib/evas/canvas/evas_filter_mixin.c

index 2722a48..e93fa70 100644 (file)
@@ -293,7 +293,7 @@ _evas_filter_efl_gfx_filter_program_set(Eo *eo_obj, Evas_Filter_Data *pd,
         eina_stringshare_replace(&fcow->name, name);
         if (code)
           {
-             alpha = eo_do_ret(eo_obj, alpha, evas_filter_input_alpha());
+             eo_do(eo_obj, alpha = evas_filter_input_alpha());
              pgm = evas_filter_program_new(fcow->name, alpha);
              evas_filter_program_source_set_all(pgm, fcow->sources);
              evas_filter_program_data_set_all(pgm, fcow->data);