From d3a53570d7945c4f1bec7301d925cda4aa169744 Mon Sep 17 00:00:00 2001 From: ceylo Date: Fri, 29 Jan 2010 00:17:21 +0000 Subject: [PATCH] Fixed small compilation error. git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1380 4e206d99-4929-0410-ac5d-dfc041789085 --- src/SFML/Window/Cocoa/Joystick.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SFML/Window/Cocoa/Joystick.cpp b/src/SFML/Window/Cocoa/Joystick.cpp index ff2a353a..f65ac736 100644 --- a/src/SFML/Window/Cocoa/Joystick.cpp +++ b/src/SFML/Window/Cocoa/Joystick.cpp @@ -49,7 +49,7 @@ void Joystick::Initialize(unsigned int Index) JoystickState Joystick::UpdateState() { // Fill a JoystickState instance with the current joystick state - JoystickState s = {0}; + JoystickState s; return s; }