Fixed crash in SDL_PrivateGameControllerRefreshMapping()
diff --git a/src/joystick/SDL_gamecontroller.c b/src/joystick/SDL_gamecontroller.c
index f63368e..3c6a6fa 100644
--- a/src/joystick/SDL_gamecontroller.c
+++ b/src/joystick/SDL_gamecontroller.c
@@ -1211,8 +1211,6 @@ static void SDL_PrivateGameControllerRefreshMapping(ControllerMapping_t *pContro
SDL_PushEvent(&event);
}
}
-
- controller = controller->next;
}
}