Merge pull request #39751 from bruvzg/mingw_build_fix

Fix MinGW build (use uninitialized `ofs` variable introduced in 39701).
This commit is contained in:
Rémi Verschelde 2020-06-22 13:07:14 +02:00 committed by GitHub
commit d808697760
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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;