edje: shutup you moronic GCC 4.7.

This memset is not necessary as pack_it_copy can only be accessed when
the part type is a BOX or a TABLE and thus pack_it will be defined. Sadly
GCC 4.7 is more stupid than GCC 4.6 and think that it is an unitialized data
resulting in a massive number of useless warning that could hide real warning.
This commit is contained in:
Cedric BAIL 2013-03-22 20:13:32 +09:00
parent 4a584fcc32
commit fc2124436c
1 changed files with 1 additions and 2 deletions

View File

@ -855,8 +855,7 @@ _edje_object_file_set_internal(Evas_Object *obj, const char *file, const char *g
}
else
{
pack_it_copy.spread.w = 0;
pack_it_copy.spread.h = 0;
memset(&pack_it_copy, 0, sizeof (pack_it_copy));
}
do