calloc means it's already 0

SVN revision: 55700
This commit is contained in:
Mike Blumenkrantz 2010-12-22 22:28:58 +00:00
parent d795ae2e34
commit 045750c946
1 changed files with 1 additions and 1 deletions

View File

@ -434,7 +434,7 @@ _e_smart_add(Evas_Object *obj)
Smart_Data *sd = calloc(1, sizeof(Smart_Data));
if (!sd) return;
sd->x = sd->y = sd->w = sd->h = 0;
sd->sx = sd->sy = -1;
evas_object_smart_data_set(obj, sd);
}