diff options
author | Brian Paul <[email protected]> | 2000-11-10 17:23:02 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-11-10 17:23:02 +0000 |
commit | db6aa58267cad3f502f03ab80b9deb6b75320a91 (patch) | |
tree | 52d7cc352e2e7190b19b79ffdfb21c704b67dff1 /progs/samples/wave.c | |
parent | 8e3366fda795797d92afb6877cd280cf96a6d4e7 (diff) |
patched to silence compiler warnings (Martin Lindhe)
Diffstat (limited to 'progs/samples/wave.c')
-rw-r--r-- | progs/samples/wave.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |