From afd73e99d63fbb5a05e7be6bef0c6212e70b85ba Mon Sep 17 00:00:00 2001 From: fayjf Date: Tue, 2 Oct 2007 02:46:04 +0000 Subject: [PATCH] Removing more Win64 build warnings from joystick code git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@733 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/src/freeglut_joystick.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freeglut/freeglut/src/freeglut_joystick.c b/freeglut/freeglut/src/freeglut_joystick.c index a978d7f..547c839 100644 --- a/freeglut/freeglut/src/freeglut_joystick.c +++ b/freeglut/freeglut/src/freeglut_joystick.c @@ -1039,7 +1039,7 @@ static int fghJoystickGetOEMProductName ( SFG_Joystick* joy, char *buf, int buf_ static void fghJoystickOpen( SFG_Joystick* joy ) { - int i; + int i = 0; #if TARGET_HOST_MACINTOSH OSStatus err; #endif @@ -1061,7 +1061,7 @@ static void fghJoystickOpen( SFG_Joystick* joy ) unsigned char u; # else # if defined( __linux__ ) - int counter; + int counter = 0; # endif # endif #endif