diff options
author | Johannes Schickel | 2009-05-13 18:12:17 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-05-13 18:12:17 +0000 |
commit | f0182121f79685063edb50c9647e4f6f40bd0ba6 (patch) | |
tree | 482cd6fbe9b6a8fae81a72b9c3fc03961a9eda45 /engines/sci/gfx | |
parent | b9ac179b2e601f761cc60d431a3e5428f3740935 (diff) | |
download | scummvm-rg350-f0182121f79685063edb50c9647e4f6f40bd0ba6.tar.gz scummvm-rg350-f0182121f79685063edb50c9647e4f6f40bd0ba6.tar.bz2 scummvm-rg350-f0182121f79685063edb50c9647e4f6f40bd0ba6.zip |
Fix some variable may be used uninitialized warnings.
svn-id: r40528
Diffstat (limited to 'engines/sci/gfx')
-rw-r--r-- | engines/sci/gfx/res_pic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gfx/res_pic.cpp b/engines/sci/gfx/res_pic.cpp index 5cf2b8ec6d..1e028ca3dc 100644 --- a/engines/sci/gfx/res_pic.cpp +++ b/engines/sci/gfx/res_pic.cpp @@ -1155,7 +1155,7 @@ void gfxr_draw_pic01(gfxr_pic_t *pic, int flags, int default_palette, int size, int pos = 0; int x, y; int oldx, oldy; - int pal, index; + int pal = 0, index = 0; int temp; int line_mode = style->line_mode; // NOTE: here, it is assumed that the titlebar size is always 10. This may differ depending on |