diff options
author | Filippos Karapetis | 2009-02-15 14:26:33 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-02-15 14:26:33 +0000 |
commit | 24dc986944b1c663b0903965da482a5c03a9aa14 (patch) | |
tree | 10bed1561d1331d27b9eb22c405d07106f798d18 /engines/sci/gfx/resource/sci_pal_1.cpp | |
parent | c3cd2b7f064ab34e668c4db58d6d7462841fa844 (diff) | |
download | scummvm-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.cpp | 2 |
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); |