From 6c2098ffd4ffb3f49d6330310dc771e7ee93c296 Mon Sep 17 00:00:00 2001 From: Jon Smirl Date: Thu, 16 Jun 2005 04:25:45 +0000 Subject: [PATCH] Fix a few compiler warnings --- progs/egl/demo1.c | 1 - progs/egl/demo3.c | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) 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) { -- 2.30.2