From: John F. Fay Date: Wed, 19 Sep 2007 04:10:46 +0000 (+0000) Subject: Fixing a build error on SuSE described in bug report "[ 1792047 ] freeglut_joystick... X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=d194f0183a9da1a5750843869acebfe02bdd5b91;p=freeglut Fixing a build error on SuSE described in bug report "[ 1792047 ] freeglut_joystick.c error" git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@721 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/freeglut_joystick.c b/src/freeglut_joystick.c index e4bd53b..a978d7f 100644 --- a/src/freeglut_joystick.c +++ b/src/freeglut_joystick.c @@ -1688,9 +1688,6 @@ int fgJoystickDetect( void ) fgInitialiseJoysticks (); - if ( !fgJoystick ) - return 0; - if ( !fgState.JoysticksInitialised ) return 0;