cleanup: fix some "unused" errors from -Wextra.
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 18 Sep 2010 19:17:41 +0000 (19:17 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 18 Sep 2010 19:17:41 +0000 (19:17 +0000)
commit33452f8945f21b1ce6657f993d8b58335fa91655
tree755f5eebeccf8f6ae19f4db08ef23080388d6fcb
parent8782cf716ff6203418c6af50dcce246a8fe148c9
cleanup: fix some "unused" errors from -Wextra.

As we're heading for a release we better remove as much errors as
possible and as the first step I'm removing warnings due unused
parameters, variables and functions. These tend to pollute real errors
spotted by -Wall and clang/llvm.

This does not fixes all, just the clear that could be set to
__UNUSED__, particularly to do (and I'd like some help from the
authors):

 * src/lib/engines/common/evas_font_{draw,query}.c (tasn):
   intl_props is just used while doing BIDI, but also used in other
   #ifdef blocks :-/

 * evas_map_* (raster):
   huge amount of warnings, code is quite confusing and thus I'm not
   touching it. I have no idea whenever the commented blocks or extra
   parameters are intended to be used or no.

 * src/modules/engines/fbevas_fb_main.c (raster?):
   is fb_setvt() to be used? If not do you mind removing it?

 * src/modules/engines/gl_{common,x11} (raster):
   huge amount of warnings, code is quite nested and full of #ifdefs
   that does not help to give a clear picture of what's going on.

 * src/bin/evas_cserve_main.c (raster):
   I could have ignored most of the errors, but is the code correct? I
   mean, there is no unload of images being applied. If you confirm
   none of those warnings are harmful I can flag them as unused.

 * src/lib/engines/common_8 (dottedmag):
   lots of unused functions that were acquired from common_16, they
   are unused and if they will not, then they should be removed.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52421 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
30 files changed:
src/lib/cache/evas_preload.c
src/lib/canvas/evas_map.c
src/lib/engines/common/evas_convert_gry_8.c
src/lib/engines/common/evas_font_load.c
src/lib/engines/common_8/evas_soft8_dither_mask.c
src/lib/engines/common_8/evas_soft8_main.c
src/modules/engines/buffer/evas_engine.c
src/modules/engines/fb/evas_engine.c
src/modules/engines/gl_x11/evas_engine.c
src/modules/engines/software_16/evas_engine.c
src/modules/engines/software_16_sdl/evas_engine.c
src/modules/engines/software_16_x11/evas_engine.c
src/modules/engines/software_8/evas_engine.c
src/modules/engines/software_8_x11/evas_engine.c
src/modules/engines/software_generic/evas_engine.c
src/modules/engines/software_sdl/evas_engine.c
src/modules/engines/xrender_x11/evas_engine.c
src/modules/engines/xrender_x11/evas_engine_xlib_font.c
src/modules/loaders/eet/evas_image_load_eet.c
src/modules/loaders/gif/evas_image_load_gif.c
src/modules/loaders/jpeg/evas_image_load_jpeg.c
src/modules/loaders/pmaps/evas_image_load_pmaps.c
src/modules/loaders/png/evas_image_load_png.c
src/modules/loaders/svg/evas_image_load_svg.c
src/modules/loaders/tiff/evas_image_load_tiff.c
src/modules/loaders/xpm/evas_image_load_xpm.c
src/modules/savers/eet/evas_image_save_eet.c
src/modules/savers/jpeg/evas_image_save_jpeg.c
src/modules/savers/png/evas_image_save_png.c
src/modules/savers/tiff/evas_image_save_tiff.c