Fix some warnings. I don't touch gl engines for now

SVN revision: 43221
This commit is contained in:
Vincent Torri 2009-10-22 22:33:06 +00:00
parent e5046c8846
commit f60b381333
6 changed files with 18 additions and 21 deletions

View File

@ -331,7 +331,7 @@ eng_output_idle_flush(void *data)
} }
static Eina_Bool static Eina_Bool
eng_canvas_alpha_get(void *data) eng_canvas_alpha_get(void *data, void *context __UNUSED__)
{ {
Render_Engine *re; Render_Engine *re;

View File

@ -76,7 +76,6 @@ RGBA_Image *
evas_buffer_outbuf_buf_new_region_for_update(Outbuf *buf, int x, int y, int w, int h, int *cx, int *cy, int *cw, int *ch) evas_buffer_outbuf_buf_new_region_for_update(Outbuf *buf, int x, int y, int w, int h, int *cx, int *cy, int *cw, int *ch)
{ {
RGBA_Image *im; RGBA_Image *im;
DATA32 *ptr;
if (buf->priv.back_buf) if (buf->priv.back_buf)
{ {

View File

@ -672,12 +672,12 @@ eng_image_draw(void *data __UNUSED__, void *context, void *surface, void *image,
} }
static void static void
eng_image_scale_hint_set(void *data __UNUSED__, void *image, int hint) eng_image_scale_hint_set(void *data __UNUSED__, void *image __UNUSED__, int hint __UNUSED__)
{ {
} }
static int static int
eng_image_scale_hint_get(void *data __UNUSED__, void *image) eng_image_scale_hint_get(void *data __UNUSED__, void *image __UNUSED__)
{ {
return EVAS_IMAGE_SCALE_HINT_NONE; return EVAS_IMAGE_SCALE_HINT_NONE;
} }

View File

@ -543,7 +543,7 @@ eng_output_idle_flush(void *data)
} }
static Eina_Bool static Eina_Bool
eng_canvas_alpha_get(void *data, void *context) eng_canvas_alpha_get(void *data __UNUSED__, void *context __UNUSED__)
{ {
return EINA_FALSE; return EINA_FALSE;
} }

View File

@ -53,26 +53,25 @@ _JPEGFatalErrorHandler(j_common_ptr cinfo)
} }
static void static void
_JPEGErrorHandler(j_common_ptr cinfo) _JPEGErrorHandler(j_common_ptr cinfo __UNUSED__)
{ {
emptr errmgr; /* emptr errmgr; */
errmgr = (emptr) cinfo->err; /* errmgr = (emptr) cinfo->err; */
/* cinfo->err->output_message(cinfo);*/ /* cinfo->err->output_message(cinfo);*/
/* longjmp(errmgr->setjmp_buffer, 1);*/ /* longjmp(errmgr->setjmp_buffer, 1);*/
return; return;
} }
static void static void
_JPEGErrorHandler2(j_common_ptr cinfo, int msg_level) _JPEGErrorHandler2(j_common_ptr cinfo __UNUSED__, int msg_level __UNUSED__)
{ {
emptr errmgr; /* emptr errmgr; */
errmgr = (emptr) cinfo->err; /* errmgr = (emptr) cinfo->err; */
/* cinfo->err->output_message(cinfo);*/ /* cinfo->err->output_message(cinfo);*/
/* longjmp(errmgr->setjmp_buffer, 1);*/ /* longjmp(errmgr->setjmp_buffer, 1);*/
return; return;
msg_level = 0;
} }
static int static int
@ -200,6 +199,7 @@ evas_image_load_file_head_jpeg_internal(Image_Entry *ie, FILE *f)
return 1; return 1;
} }
/*
static double static double
get_time(void) get_time(void)
{ {
@ -208,6 +208,7 @@ get_time(void)
gettimeofday(&timev, NULL); gettimeofday(&timev, NULL);
return (double)timev.tv_sec + (((double)timev.tv_usec) / 1000000); return (double)timev.tv_sec + (((double)timev.tv_usec) / 1000000);
} }
*/
static int static int
evas_image_load_file_data_jpeg_internal(Image_Entry *ie, FILE *f) evas_image_load_file_data_jpeg_internal(Image_Entry *ie, FILE *f)

View File

@ -30,25 +30,22 @@ _JPEGFatalErrorHandler(j_common_ptr cinfo)
return; return;
} }
static void _JPEGErrorHandler(j_common_ptr cinfo);
static void static void
_JPEGErrorHandler(j_common_ptr cinfo) _JPEGErrorHandler(j_common_ptr cinfo __UNUSED__)
{ {
emptr errmgr; /* emptr errmgr; */
errmgr = (emptr) cinfo->err; /* errmgr = (emptr) cinfo->err; */
return; return;
} }
static void _JPEGErrorHandler2(j_common_ptr cinfo, int msg_level);
static void static void
_JPEGErrorHandler2(j_common_ptr cinfo, int msg_level) _JPEGErrorHandler2(j_common_ptr cinfo __UNUSED__, int msg_level __UNUSED__)
{ {
emptr errmgr; /* emptr errmgr; */
errmgr = (emptr) cinfo->err; /* errmgr = (emptr) cinfo->err; */
return; return;
msg_level = 0;
} }
static int static int