evas: less warning.

SVN revision: 66115
This commit is contained in:
Cedric BAIL 2011-12-12 13:42:24 +00:00
parent 793caf7faa
commit f4ea278a71
1 changed files with 5 additions and 1 deletions

View File

@ -198,8 +198,9 @@ evas_object_image_filled_add(Evas *e)
static void
_cleanup_tmpf(Evas_Object *obj)
{
#ifdef HAVE_SYS_MMAN_H
Evas_Object_Image *o;
o = (Evas_Object_Image *)(obj->object_data);
if (!o->tmpf) return;
#ifdef __linux__
@ -210,6 +211,9 @@ _cleanup_tmpf(Evas_Object *obj)
eina_stringshare_del(o->tmpf);
o->tmpf_fd = -1;
o->tmpf = NULL;
#else
(void) obj;
#endif
}
static void