From a4c9efe91722d68c7a9ba3bc9ca5cddb8bfc24c9 Mon Sep 17 00:00:00 2001 From: "John F. Fay" Date: Tue, 7 Feb 2012 01:52:10 +0000 Subject: [PATCH] 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 --- src/x11/freeglut_state_x11.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 1.7.10.4