diff options
author | Johannes Schickel | 2009-03-08 20:51:30 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-03-08 20:51:30 +0000 |
commit | e123621cf99117143b7d80e70b911086daad766a (patch) | |
tree | bc36d5ade5a3b0375829b3ea765ccede1cc00fe7 | |
parent | 77d056654fd37119b70b1be1c3b63365beeb377d (diff) | |
download | scummvm-rg350-e123621cf99117143b7d80e70b911086daad766a.tar.gz scummvm-rg350-e123621cf99117143b7d80e70b911086daad766a.tar.bz2 scummvm-rg350-e123621cf99117143b7d80e70b911086daad766a.zip |
Fix warning.
svn-id: r39244
-rw-r--r-- | engines/sci/gfx/palette.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/gfx/palette.cpp b/engines/sci/gfx/palette.cpp index f7beb3f474..a42b773725 100644 --- a/engines/sci/gfx/palette.cpp +++ b/engines/sci/gfx/palette.cpp @@ -100,7 +100,9 @@ void Palette::unmerge() { assert(pi < (int)_parent->_size); assert(_parent->_colors[pi].refcount != 0); assert(_parent->_colors[pi].refcount != PALENTRY_FREE); +#ifdef DEBUG_MERGE int old = _parent->_colors[pi].refcount; +#endif if (_parent->_colors[pi].refcount != PALENTRY_LOCKED) _parent->_colors[pi].refcount--; if (_parent->_colors[pi].refcount == 0) { |