Unverified Commit d8086977 by Rémi Verschelde Committed by GitHub

Merge pull request #39751 from bruvzg/mingw_build_fix

Fix MinGW build (use uninitialized `ofs` variable introduced in 39701).
parents 2cd36209 439c97e0
...@@ -211,6 +211,8 @@ void JoypadWindows::setup_joypad_object(const DIDEVICEOBJECTINSTANCE *ob, int p_ ...@@ -211,6 +211,8 @@ void JoypadWindows::setup_joypad_object(const DIDEVICEOBJECTINSTANCE *ob, int p_
if (slider_count < 2) { if (slider_count < 2) {
ofs = DIJOFS_SLIDER(slider_count); ofs = DIJOFS_SLIDER(slider_count);
slider_count++; slider_count++;
} else {
return;
} }
} else } else
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment