oops! fix bugs hinted by compiler warnings!

SVN revision: 37635
This commit is contained in:
Gustavo Sverzut Barbieri 2008-11-14 21:33:10 +00:00
parent d5f5e6eb55
commit 4ce0cbc6ea
1 changed files with 2 additions and 2 deletions

View File

@ -287,7 +287,7 @@ _evas_object_box_remove_at_default(Evas_Object *o, Evas_Object_Box_Data *priv, u
for (l = priv->children, i = 0; l != NULL; l = l->next, i++)
{
Evas_Object_Box_Option *opt;
Evas_Object_Box_Option *opt = l->data;
Evas_Object *obj = opt->obj;
if (i == pos)
@ -405,8 +405,8 @@ _evas_object_box_smart_class_new(void)
Evas_Object *
evas_object_box_add(Evas *evas)
{
static Evas_Smart *smart = NULL;
Evas_Object *o;
Evas_Smart *smart;
if (!smart)
smart = _evas_object_box_smart_class_new();