From 49f429018e5ef50db730439132a443c0bb1967e7 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Thu, 23 Jun 2016 17:41:22 +0200 Subject: [PATCH] Win32: Fix code analysis warning --- src/win32_joystick.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win32_joystick.c b/src/win32_joystick.c index dfaf9992..012213ea 100644 --- a/src/win32_joystick.c +++ b/src/win32_joystick.c @@ -176,7 +176,7 @@ static int compareJoystickObjects(const void* first, const void* second) // static GLFWbool supportsXInput(const GUID* guid) { - UINT i, count; + UINT i, count = 0; RAWINPUTDEVICELIST* ridl; GLFWbool result = GLFW_FALSE;