summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-10-10 17:35:54 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-10-10 17:43:49 +0300
commit379df32a98818428b7ee40dac1d2d45a5ad725e3 (patch)
treec297cbbf71539d7a2725258735c11a6cc10db89e /platform
parent77f4670d001b12a5c7e1f50c100301c8fb1b4d1e (diff)
[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;