Codacy fix

This commit is contained in:
Linus Probert 2018-02-14 23:24:08 +01:00
parent 65806c1285
commit 9c10c76266
1 changed files with 1 additions and 2 deletions

View File

@ -55,14 +55,13 @@ static void
handle_mouse_motion_event(Menu *m, SDL_Event *event) handle_mouse_motion_event(Menu *m, SDL_Event *event)
{ {
LinkedList *items; LinkedList *items;
MenuItem *item;
int current_select; int current_select;
bool activeItemFound = false; bool activeItemFound = false;
items = m->items; items = m->items;
current_select = 0; current_select = 0;
while (items) { while (items) {
item = items->data; MenuItem *item = items->data;
items = items->next; items = items->next;
item->button->hover = false; item->button->hover = false;