cedric pushed a commit to branch master.

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

commit 295403769b2cc49f9e79f4231bbabc858821018b
Author: Godly T.Alias <godlytal...@yahoo.co.in>
Date:   Fri Oct 13 11:59:43 2017 -0700

    evas: removing unwanted operation in interface create
    
    Summary: Signed-off-by: Godly T.Alias <godlytal...@yahoo.co.in>
    
    Reviewers: cedric, raster, rajeshps, prince.dubey
    
    Reviewed By: cedric
    
    Subscribers: jpeg
    
    Differential Revision: https://phab.enlightenment.org/D5288
    
    Signed-off-by: Cedric Bail <ced...@osg.samsung.com>
---
 src/lib/evas/canvas/evas_smart.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/lib/evas/canvas/evas_smart.c b/src/lib/evas/canvas/evas_smart.c
index e93c3fc0e8..b33ccaef23 100644
--- a/src/lib/evas/canvas/evas_smart.c
+++ b/src/lib/evas/canvas/evas_smart.c
@@ -255,7 +255,7 @@ _evas_smart_class_callbacks_create(Evas_Smart *s)
 static void
 _evas_smart_class_interfaces_create(Evas_Smart *s)
 {
-   unsigned int i, total_priv_sz = 0;
+   unsigned int i;
    const Evas_Smart_Class *sc;
 
    /* get number of interfaces on the smart */
@@ -278,7 +278,6 @@ _evas_smart_class_interfaces_create(Evas_Smart *s)
 
                   if (size % sizeof(void *) != 0)
                     size += sizeof(void *) - (size % sizeof(void *));
-                  total_priv_sz += size;
                }
 
              ifaces_array++;

-- 


Reply via email to