Removing compiler warnings in MSVC 2005 build
[freeglut] / 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;