diff options
author | Eugene Sandulenko | 2019-07-05 13:25:50 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:12 +0200 |
commit | 9a0e685f0e76ceca6d525e81ea167483472af73a (patch) | |
tree | e63431ae9545eb96d7ef378de1d043f083fa4a0c /engines | |
parent | 5f8e3fab2cba60d04f4748936cbe31b0b273ed57 (diff) | |
download | scummvm-rg350-9a0e685f0e76ceca6d525e81ea167483472af73a.tar.gz scummvm-rg350-9a0e685f0e76ceca6d525e81ea167483472af73a.tar.bz2 scummvm-rg350-9a0e685f0e76ceca6d525e81ea167483472af73a.zip |
HDB: Fix warnings
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/ai-use.cpp | 2 | ||||
-rw-r--r-- | engines/hdb/window.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/hdb/ai-use.cpp b/engines/hdb/ai-use.cpp index f48b9e620a..806491fe7b 100644 --- a/engines/hdb/ai-use.cpp +++ b/engines/hdb/ai-use.cpp @@ -147,7 +147,7 @@ bool AI::useSwitchOn(AIEntity *e, int x, int y, int targetX, int targetY, int of } bool AI::useSwitch2(AIEntity *e, int x, int y, int targetX, int targetY) { - int i = 10; + // int i = 10; // unused return true; } diff --git a/engines/hdb/window.cpp b/engines/hdb/window.cpp index d78ea00d62..7637ffca24 100644 --- a/engines/hdb/window.cpp +++ b/engines/hdb/window.cpp @@ -590,7 +590,7 @@ void Window::closeMsg() { void Window::drawInventory() { int baseX, drawX, drawY; - static uint32 timer = g_hdb->getTimeSlice() + 300; + // static uint32 timer = g_hdb->getTimeSlice() + 300; // unused AIEntity *e, *sel; char string[8]; int gems, mstones; @@ -712,7 +712,7 @@ void Window::openDeliveries(bool animate) { void Window::drawDeliveries() { int baseX, drawX, drawY; DlvEnt *d; - static uint32 timer = g_hdb->getTimeSlice() + 300; + //static uint32 timer = g_hdb->getTimeSlice() + 300; //unused int crazySounds[kNumCrazy] = { SND_GUI_INPUT, |