From 379df32a98818428b7ee40dac1d2d45a5ad725e3 Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Mon, 10 Oct 2022 17:35:54 +0300 Subject: [Windows] Fix GCC MinGW warnings. --- platform/windows/joypad_windows.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'platform/windows') 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; -- cgit v1.2.3