common, input_common, network: fix warnings

This commit is contained in:
SachinVin 2023-06-09 22:50:37 +05:30
parent 946a32d793
commit 7e134421d5
3 changed files with 8 additions and 8 deletions

View file

@ -1018,7 +1018,7 @@ public:
}
Common::ParamPackage GetNextInput() override {
SDL_Event event;
SDL_Event event{};
while (state.event_queue.Pop(event)) {
if (event.type != SDL_JOYAXISMOTION || std::abs(event.jaxis.value / 32767.0) < 0.5) {
continue;