* evas: Remove some llvm warning.

SVN revision: 42938
This commit is contained in:
Cedric BAIL 2009-10-07 12:47:01 +00:00
parent c6267c9fb9
commit ef2d2ddfda
5 changed files with 13 additions and 3 deletions

View File

@ -184,6 +184,12 @@ evas_object_smart_member_add(Evas_Object *obj, Evas_Object *smart_obj)
abort();
return;
}
if (!smart_obj->layer)
{
ERROR("No evas surface associated with smart object (%p)", smart_obj);
abort();
return;
}
if (obj->layer && smart_obj->layer
&& obj->layer->evas != smart_obj->layer->evas)
{

View File

@ -75,7 +75,7 @@ _output_setup(int w,
{
Outbuf_Depth dep;
DATA32 color_key;
DATA32 color_key = 0;
dep = OUTBUF_DEPTH_BGR_24BPP_888_888;
if (depth_type == EVAS_ENGINE_BUFFER_DEPTH_ARGB32)

View File

@ -459,7 +459,7 @@ static void
eng_output_redraws_next_update_push(void *data, void *surface __UNUSED__, int x, int y, int w, int h)
{
Render_Engine *re;
XRectangle r;
XRectangle r = { 0, 0, 0, 0 };
re = (Render_Engine *)data;

View File

@ -345,8 +345,8 @@ eng_info_free(Evas *e __UNUSED__, void *info)
static int
eng_setup(Evas *e, void *in)
{
Render_Engine *re;
Evas_Engine_Info_Software_X11 *info;
Render_Engine *re = NULL;
info = (Evas_Engine_Info_Software_X11 *)in;
if (!e->engine.data.output)

View File

@ -205,6 +205,10 @@ _xr_xlib_image_new(Ximage_Info *xinf, int w, int h, int depth)
return NULL;
}
}
else
{
return NULL;
}
xim_ok:
_xr_xlib_image_info_pool_flush(xinf, 32, (1600 * 1200 * 32 * 2));