Skip to content

Commit

Permalink
Merge pull request #39751 from bruvzg/mingw_build_fix
Browse files Browse the repository at this point in the history
Fix MinGW build (use uninitialized `ofs` variable introduced in 39701).
  • Loading branch information
akien-mga authored Jun 22, 2020
2 parents 2cd3620 + 439c97e commit d808697
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions platform/windows/joypad_windows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ void JoypadWindows::setup_joypad_object(const DIDEVICEOBJECTINSTANCE *ob, int p_
if (slider_count < 2) {
ofs = DIJOFS_SLIDER(slider_count);
slider_count++;
} else {
return;
}
} else
return;
Expand Down

0 comments on commit d808697

Please sign in to comment.