Fix warning with gcc
This commit is contained in:
parent
2308356ddb
commit
7b2f40f2f1
1 changed files with 1 additions and 2 deletions
|
@ -208,7 +208,6 @@ void CleanButtons()
|
|||
static int GetButtonStatus(const ButtonAction *button, int UnderCursor)
|
||||
{
|
||||
int res = 0;
|
||||
int action;
|
||||
int i;
|
||||
|
||||
Assert(button);
|
||||
|
@ -228,7 +227,7 @@ static int GetButtonStatus(const ButtonAction *button, int UnderCursor)
|
|||
}
|
||||
}
|
||||
|
||||
action = UnitActionNone;
|
||||
unsigned int action = UnitActionNone;
|
||||
switch (button->Action) {
|
||||
case ButtonStop:
|
||||
action = UnitActionStill;
|
||||
|
|
Loading…
Add table
Reference in a new issue