Fix a compiler warning.
This commit is contained in:
parent
0d96709a72
commit
70902724a6
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ void tristate_button::calculate_size() {
|
|||
|
||||
void tristate_button::set_pressed(PRESSED_STATE new_pressed_state) {
|
||||
|
||||
STATE new_state;
|
||||
STATE new_state = state_;
|
||||
|
||||
switch (new_pressed_state) {
|
||||
case LEFT:
|
||||
|
|
Loading…
Add table
Reference in a new issue