aboutsummaryrefslogtreecommitdiffstats
path: root/progs/redbook/picksquare.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-11-10 17:23:02 +0000
committerBrian Paul <[email protected]>2000-11-10 17:23:02 +0000
commitdb6aa58267cad3f502f03ab80b9deb6b75320a91 (patch)
tree52d7cc352e2e7190b19b79ffdfb21c704b67dff1 /progs/redbook/picksquare.c
parent8e3366fda795797d92afb6877cd280cf96a6d4e7 (diff)
patched to silence compiler warnings (Martin Lindhe)
Diffstat (limited to 'progs/redbook/picksquare.c')
-rw-r--r--progs/redbook/picksquare.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/redbook/picksquare.c b/progs/redbook/picksquare.c
index 0a12aa0facd..b68117c2787 100644
--- a/progs/redbook/picksquare.c
+++ b/progs/redbook/picksquare.c
@@ -88,7 +88,7 @@ void drawSquares(GLenum mode)
void processHits (GLint hits, GLuint buffer[])
{
unsigned int i, j;
- GLuint ii, jj, names, *ptr;
+ GLuint ii = 0, jj = 0, names, *ptr;
printf ("hits = %d\n", hits);
ptr = (GLuint *) buffer;