Fixing a build warning in OpenSUSE about control reaching the end of a non-void funct...
authorJohn F. Fay <johnffay@nettally.com>
Tue, 7 Feb 2012 01:52:10 +0000 (01:52 +0000)
committerJohn F. Fay <johnffay@nettally.com>
Tue, 7 Feb 2012 01:52:10 +0000 (01:52 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1074 7f0cb862-5218-0410-a997-914c9d46530a

src/x11/freeglut_state_x11.c

index 1cc4d0c..ae785fe 100644 (file)
@@ -211,6 +211,8 @@ int fgPlatformGlutGet ( GLenum eWhat )
         fgWarning( "glutGet(): missing enum handle %d", eWhat );\r
         break;\r
     }\r
+\r
+       return -1;\r
 }\r
 \r
 \r