aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx/resource/sci_pal_1.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2009-02-15 14:26:33 +0000
committerFilippos Karapetis2009-02-15 14:26:33 +0000
commit24dc986944b1c663b0903965da482a5c03a9aa14 (patch)
tree10bed1561d1331d27b9eb22c405d07106f798d18 /engines/sci/gfx/resource/sci_pal_1.cpp
parentc3cd2b7f064ab34e668c4db58d6d7462841fa844 (diff)
downloadscummvm-rg350-24dc986944b1c663b0903965da482a5c03a9aa14.tar.gz
scummvm-rg350-24dc986944b1c663b0903965da482a5c03a9aa14.tar.bz2
scummvm-rg350-24dc986944b1c663b0903965da482a5c03a9aa14.zip
Silenced a ton of warnings, and disabled several unreferenced functions (dead code) - hopefully, compilation hasn't been broken...
svn-id: r38243
Diffstat (limited to 'engines/sci/gfx/resource/sci_pal_1.cpp')
-rw-r--r--engines/sci/gfx/resource/sci_pal_1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gfx/resource/sci_pal_1.cpp b/engines/sci/gfx/resource/sci_pal_1.cpp
index 2a127f4bb3..2f12f8180c 100644
--- a/engines/sci/gfx/resource/sci_pal_1.cpp
+++ b/engines/sci/gfx/resource/sci_pal_1.cpp
@@ -42,7 +42,7 @@ gfxr_read_pal11(int id, int *colors_nr, byte *resource, int size)
{
int start_color = resource[25];
int format = resource[32];
- int entry_size;
+ int entry_size = 0;
gfx_pixmap_color_t *retval;
byte *pal_data = resource + 37;
int _colors_nr = *colors_nr = getUInt16(resource + 29);