From db6aa58267cad3f502f03ab80b9deb6b75320a91 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 10 Nov 2000 17:23:02 +0000 Subject: patched to silence compiler warnings (Martin Lindhe) --- progs/samples/wave.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'progs/samples') diff --git a/progs/samples/wave.c b/progs/samples/wave.c index 288bea4eb72..7ded49bedcc 100644 --- a/progs/samples/wave.c +++ b/progs/samples/wave.c @@ -186,8 +186,8 @@ static void SetColorMap(void) { static float green[3] = {0.2, 1.0, 0.2}; static float red[3] = {1.0, 0.2, 0.2}; - float *color, percent; - GLint *indexes, entries, i, j; + float *color = 0, percent; + GLint *indexes = 0, entries, i, j; entries = glutGet(GLUT_WINDOW_COLORMAP_SIZE); -- cgit v1.2.3