summaryrefslogtreecommitdiffstats
path: root/progs/demos/dinoshade.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-04-30 17:03:54 -0600
committerBrian Paul <[email protected]>2009-04-30 17:03:54 -0600
commit3dfe672c851756e5ee09443dfafb1295c912da31 (patch)
treeb6a472793b68ef2bad9818a0f4b660bc21d224f9 /progs/demos/dinoshade.c
parenteef79d50bf160a0278266cac56a915027538ac1e (diff)
demos: silence warning
Diffstat (limited to 'progs/demos/dinoshade.c')
-rw-r--r--progs/demos/dinoshade.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/demos/dinoshade.c b/progs/demos/dinoshade.c
index 41b19d5a928..cbf8751e257 100644
--- a/progs/demos/dinoshade.c
+++ b/progs/demos/dinoshade.c
@@ -382,7 +382,7 @@ static GLfloat floorShadow[4][4];
static void
redraw(void)
{
- int start, end;
+ int start = 0, end = 0;
if (reportSpeed) {
start = glutGet(GLUT_ELAPSED_TIME);