raster pushed a commit to branch master.

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

commit c6119802d13af20ad5fdc85e35b0eacf1d87c82e
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Fri Dec 13 21:08:31 2013 +0900

    edje - lib - remove useless memset as later memcpy overwrites
    
    this removes a useless memset that does nothing usefule as a later
    memcpy (not far down from it) will overwrite it anyway.
---
 src/lib/edje/edje_calc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c
index 830c225..dbb1464 100644
--- a/src/lib/edje/edje_calc.c
+++ b/src/lib/edje/edje_calc.c
@@ -228,7 +228,6 @@ _edje_get_description_by_orientation(Edje *ed, 
Edje_Part_Description_Common *src
               Edje_Part_Description_##Type *Name;                       \
               Name = eina_mempool_malloc(ce->mp_rtl.Short,              \
                     sizeof (Edje_Part_Description_##Type));             \
-              memset(Name, 0, sizeof(Edje_Part_Description_##Type));    \
               desc_rtl = &Name->common;                                 \
               memsize = sizeof(Edje_Part_Description_##Type);           \
               break;                                                    \

-- 


Reply via email to