summaryrefslogtreecommitdiffstats
path: root/progs/samples
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-11-10 17:23:02 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-11-10 17:23:02 +0000
commitdb6aa58267cad3f502f03ab80b9deb6b75320a91 (patch)
tree52d7cc352e2e7190b19b79ffdfb21c704b67dff1 /progs/samples
parent8e3366fda795797d92afb6877cd280cf96a6d4e7 (diff)
downloadexternal_mesa3d-db6aa58267cad3f502f03ab80b9deb6b75320a91.zip
external_mesa3d-db6aa58267cad3f502f03ab80b9deb6b75320a91.tar.gz
external_mesa3d-db6aa58267cad3f502f03ab80b9deb6b75320a91.tar.bz2
patched to silence compiler warnings (Martin Lindhe)
Diffstat (limited to 'progs/samples')
-rw-r--r--progs/samples/wave.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/samples/wave.c b/progs/samples/wave.c
index 288bea4..7ded49b 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);