evas: removing unwanted operation in interface create
authorGodly T.Alias <godlytalias@yahoo.co.in>
Fri, 13 Oct 2017 18:59:43 +0000 (11:59 -0700)
committerCedric Bail <cedric@osg.samsung.com>
Fri, 13 Oct 2017 18:59:46 +0000 (11:59 -0700)
Summary: Signed-off-by: Godly T.Alias <godlytalias@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 <cedric@osg.samsung.com>
src/lib/evas/canvas/evas_smart.c

index e93c3fc..b33ccae 100644 (file)
@@ -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++;