summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-10 17:42:19 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-10-10 17:42:19 +0200
commit3c413cf00850c279f55b30075960f25de53e38f2 (patch)
tree47d46e52b4095de12841e96c20b104683e10ed5c /platform
parentc4837bd400b9d78d7b58e83b19e78643a4fda101 (diff)
parent379df32a98818428b7ee40dac1d2d45a5ad725e3 (diff)
Merge pull request #67200 from bruvzg/fix_win_gcc_warn
[Windows] Fix GCC MinGW warnings.
Diffstat (limited to 'platform')
-rw-r--r--platform/windows/joypad_windows.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/windows/joypad_windows.h b/platform/windows/joypad_windows.h
index d239471a5c..56a9f3e9c9 100644
--- a/platform/windows/joypad_windows.h
+++ b/platform/windows/joypad_windows.h
@@ -85,6 +85,8 @@ private:
last_pad = -1;
attached = false;
confirmed = false;
+ di_joy = nullptr;
+ guid = {};
for (int i = 0; i < MAX_JOY_BUTTONS; i++) {
last_buttons[i] = false;