Remove some warnings.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@5541 dfc29bdd-3216-0410-991c-e03cc46cb475
master
cutealien 2017-08-30 13:28:36 +00:00
parent b5d46535e7
commit 65e41da94b
1 changed files with 2 additions and 5 deletions

View File

@ -271,7 +271,7 @@ bool CGUIListBox::OnEvent(const SEvent& event)
Selected = 0;
if (Selected >= (s32)Items.size())
Selected = Items.size() - 1; // will set Selected to -1 for empty listboxes which is correct
recalculateScrollPos();
@ -442,10 +442,7 @@ bool CGUIListBox::OnEvent(const SEvent& event)
}
}
break;
case EET_LOG_TEXT_EVENT:
case EET_USER_EVENT:
case EET_JOYSTICK_INPUT_EVENT:
case EGUIET_FORCE_32_BIT:
default:
break;
}
}