some cleanup, correctness in naming, correctness in type (those ATOM should be BOOL)
[freeglut] / src / mswin / fg_state_mswin.c
index aada564..7c510c5 100644 (file)
@@ -327,11 +327,9 @@ int fgPlatformGlutDeviceGet ( GLenum eWhat )
 
     default:
         fgWarning( "glutDeviceGet(): missing enum handle %d", eWhat );
+        return -1;
         break;
     }
-
-    /* And now -- the failure. */
-    return -1;
 }
 
 /*