Fixing a build error on SuSE described in bug report "[ 1792047 ] freeglut_joystick...
authorJohn F. Fay <johnffay@nettally.com>
Wed, 19 Sep 2007 04:10:46 +0000 (04:10 +0000)
committerJohn F. Fay <johnffay@nettally.com>
Wed, 19 Sep 2007 04:10:46 +0000 (04:10 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@721 7f0cb862-5218-0410-a997-914c9d46530a

src/freeglut_joystick.c

index e4bd53b..a978d7f 100644 (file)
@@ -1688,9 +1688,6 @@ int fgJoystickDetect( void )
 
     fgInitialiseJoysticks ();
 
-    if ( !fgJoystick )
-        return 0;
-
     if ( !fgState.JoysticksInitialised )
         return 0;