raster pushed a commit to branch efl-1.20.

http://git.enlightenment.org/core/efl.git/commit/?id=ea7d87f05f7d65651853b601f9b03ce7a807dca5

commit ea7d87f05f7d65651853b601f9b03ce7a807dca5
Author: Subodh Kumar <[email protected]>
Date:   Mon Oct 16 13:27:35 2017 -0700

    edje_edit: duplicate assignment to variable.
    
    Summary:
    Avoid duplicate assignment to same variable.
    @fix
    
    Reviewers: cedric, jpeg
    
    Reviewed By: cedric, jpeg
    
    Subscribers: shilpasingh, jpeg
    
    Differential Revision: https://phab.enlightenment.org/D5275
    
    Signed-off-by: Cedric BAIL <[email protected]>
---
 src/lib/edje/edje_edit.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c
index 16839baea5..f3fb546bca 100644
--- a/src/lib/edje/edje_edit.c
+++ b/src/lib/edje/edje_edit.c
@@ -14186,9 +14186,6 @@ fill:
         size_abs = ((img->image.fill.abs_x == 0) && (img->image.fill.abs_y == 
0)) ? EINA_FALSE : EINA_TRUE;
      }
 
-
-
-   attr_amount = smooth + type;
    attr_orig_amount = orig_rel + orig_abs;
    attr_size_amount = size_rel + size_abs;
    attr_amount = smooth + type + attr_orig_amount + attr_size_amount;
@@ -14532,9 +14529,6 @@ fill_proxy:
         size_abs = ((pro->proxy.fill.abs_x == 0) && (pro->proxy.fill.abs_y == 
0)) ? EINA_FALSE : EINA_TRUE;
      }
 
-
-
-   attr_amount = smooth + type;
    attr_orig_amount = orig_rel + orig_abs;
    attr_size_amount = size_rel + size_abs;
    attr_amount = smooth + type + attr_orig_amount + attr_size_amount;

-- 


Reply via email to