From: John F. Fay Date: Tue, 7 Feb 2012 01:52:10 +0000 (+0000) Subject: Fixing a build warning in OpenSUSE about control reaching the end of a non-void funct... X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=a4c9efe91722d68c7a9ba3bc9ca5cddb8bfc24c9;p=freeglut Fixing a build warning in OpenSUSE about control reaching the end of a non-void function; see e-mail from Johannes Obermayr dated February 6, 2012 at 9:40 AM git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1074 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/x11/freeglut_state_x11.c b/src/x11/freeglut_state_x11.c index 1cc4d0c..ae785fe 100644 --- a/src/x11/freeglut_state_x11.c +++ b/src/x11/freeglut_state_x11.c @@ -211,6 +211,8 @@ int fgPlatformGlutGet ( GLenum eWhat ) fgWarning( "glutGet(): missing enum handle %d", eWhat ); break; } + + return -1; }