aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hdb/ai-use.cpp2
-rw-r--r--engines/hdb/window.cpp4
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,