aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2016-10-29 22:16:54 +0200
committerraysan5 <raysan5@gmail.com>2016-10-29 22:16:54 +0200
commit43fd9ffe08025a82b79ce41c22c6ae82feb2c9aa (patch)
tree009891ec6f29601277919666d6a2d01c944257a6 /src
parent02842a3e2fefe122baaf40da1bcae5548239d570 (diff)
downloadraylib-43fd9ffe08025a82b79ce41c22c6ae82feb2c9aa.tar.gz
raylib-43fd9ffe08025a82b79ce41c22c6ae82feb2c9aa.zip
Tweak to avoid warnings
Diffstat (limited to 'src')
-rw-r--r--src/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core.c b/src/core.c
index 8646bf8f..b8574f0a 100644
--- a/src/core.c
+++ b/src/core.c
@@ -208,8 +208,8 @@ static int currentMouseWheelY = 0; // Registers current mouse wheel var
// Register gamepads states
static bool gamepadReady[MAX_GAMEPADS] = { false }; // Flag to know if gamepad is ready
static float gamepadAxisState[MAX_GAMEPADS][MAX_GAMEPAD_AXIS]; // Gamepad axis state
-static char previousGamepadState[MAX_GAMEPADS][MAX_GAMEPAD_BUTTONS] = { 0 };
-static char currentGamepadState[MAX_GAMEPADS][MAX_GAMEPAD_BUTTONS] = { 0 };
+static char previousGamepadState[MAX_GAMEPADS][MAX_GAMEPAD_BUTTONS]; // Previous gamepad buttons state
+static char currentGamepadState[MAX_GAMEPADS][MAX_GAMEPAD_BUTTONS]; // Current gamepad buttons state
// Keyboard configuration
static int exitKey = KEY_ESCAPE; // Default exit key (ESC)