From: <fa...@us...> - 2007-09-19 04:10:44
|
Revision: 721 http://freeglut.svn.sourceforge.net/freeglut/?rev=721&view=rev Author: fayjf Date: 2007-09-18 21:10:46 -0700 (Tue, 18 Sep 2007) Log Message: ----------- Fixing a build error on SuSE described in bug report "[ 1792047 ] freeglut_joystick.c error" Modified Paths: -------------- trunk/freeglut/freeglut/src/freeglut_joystick.c Modified: trunk/freeglut/freeglut/src/freeglut_joystick.c =================================================================== --- trunk/freeglut/freeglut/src/freeglut_joystick.c 2007-09-18 03:50:24 UTC (rev 720) +++ trunk/freeglut/freeglut/src/freeglut_joystick.c 2007-09-19 04:10:46 UTC (rev 721) @@ -1688,9 +1688,6 @@ fgInitialiseJoysticks (); - if ( !fgJoystick ) - return 0; - if ( !fgState.JoysticksInitialised ) return 0; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fa...@us...> - 2007-10-02 02:46:02
|
Revision: 733 http://freeglut.svn.sourceforge.net/freeglut/?rev=733&view=rev Author: fayjf Date: 2007-10-01 19:46:04 -0700 (Mon, 01 Oct 2007) Log Message: ----------- Removing more Win64 build warnings from joystick code Modified Paths: -------------- trunk/freeglut/freeglut/src/freeglut_joystick.c Modified: trunk/freeglut/freeglut/src/freeglut_joystick.c =================================================================== --- trunk/freeglut/freeglut/src/freeglut_joystick.c 2007-10-01 02:42:12 UTC (rev 732) +++ trunk/freeglut/freeglut/src/freeglut_joystick.c 2007-10-02 02:46:04 UTC (rev 733) @@ -1039,7 +1039,7 @@ static void fghJoystickOpen( SFG_Joystick* joy ) { - int i; + int i = 0; #if TARGET_HOST_MACINTOSH OSStatus err; #endif @@ -1061,7 +1061,7 @@ unsigned char u; # else # if defined( __linux__ ) - int counter; + int counter = 0; # endif # endif #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |