From: Jon Smirl Date: Thu, 16 Jun 2005 04:25:45 +0000 (+0000) Subject: Fix a few compiler warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6c2098ffd4ffb3f49d6330310dc771e7ee93c296;p=mesa.git Fix a few compiler warnings --- diff --git a/progs/egl/demo1.c b/progs/egl/demo1.c index 7f65176be13..9ef17e38b7d 100644 --- a/progs/egl/demo1.c +++ b/progs/egl/demo1.c @@ -92,7 +92,6 @@ main(int argc, char *argv[]) EGLContext ctx; EGLSurface pbuffer; EGLConfig configs[10]; - EGLint numConfigs, i; EGLBoolean b; const EGLint pbufAttribs[] = { EGL_WIDTH, 500, diff --git a/progs/egl/demo3.c b/progs/egl/demo3.c index f6e3bc56e47..6c7358400f9 100644 --- a/progs/egl/demo3.c +++ b/progs/egl/demo3.c @@ -56,6 +56,7 @@ static void Reshape(int width, int height) windH = (GLint)height; } +#if 0 static void RotateColorMask(void) { static GLint rotation = 0; @@ -80,6 +81,7 @@ static void RotateColorMask(void) break; } } +#endif static void Viewport(GLint row, GLint column) {