HDB: Fix warnings

This commit is contained in:
Eugene Sandulenko 2019-07-05 13:25:50 +02:00
parent 5f8e3fab2c
commit 9a0e685f0e
2 changed files with 3 additions and 3 deletions

View file

@ -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;
}

View file

@ -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,