From 24dc986944b1c663b0903965da482a5c03a9aa14 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 15 Feb 2009 14:26:33 +0000 Subject: Silenced a ton of warnings, and disabled several unreferenced functions (dead code) - hopefully, compilation hasn't been broken... svn-id: r38243 --- engines/sci/gfx/operations.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engines/sci/gfx/operations.cpp') diff --git a/engines/sci/gfx/operations.cpp b/engines/sci/gfx/operations.cpp index 110f52a52c..665a00459c 100644 --- a/engines/sci/gfx/operations.cpp +++ b/engines/sci/gfx/operations.cpp @@ -111,6 +111,8 @@ _gfxop_alloc_colors(gfx_state_t *state, gfx_pixmap_color_t *colors, int colors_n gfx_alloc_color(state->driver->mode->palette, colors + i); } +#if 0 +// Unreferenced - removed static void _gfxop_free_colors(gfx_state_t *state, gfx_pixmap_color_t *colors, int colors_nr) { @@ -122,7 +124,7 @@ _gfxop_free_colors(gfx_state_t *state, gfx_pixmap_color_t *colors, int colors_nr for (i = 0; i < colors_nr; i++) gfx_free_color(state->driver->mode->palette, colors + i); } - +#endif int _gfxop_clip(rect_t *rect, rect_t clipzone) /* Returns 1 if nothing is left */ -- cgit v1.2.3