summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-04-30 17:03:54 -0600
committerBrian Paul <brianp@vmware.com>2009-04-30 17:03:54 -0600
commit3dfe672c851756e5ee09443dfafb1295c912da31 (patch)
treeb6a472793b68ef2bad9818a0f4b660bc21d224f9
parenteef79d50bf160a0278266cac56a915027538ac1e (diff)
demos: silence warning
-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 41b19d5a92..cbf8751e25 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);