demos: silence warning
authorBrian Paul <brianp@vmware.com>
Thu, 30 Apr 2009 23:03:54 +0000 (17:03 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 30 Apr 2009 23:03:54 +0000 (17:03 -0600)
progs/demos/dinoshade.c

index 41b19d5a9284651240b2ee1ceb069c6b033c48ec..cbf8751e257358b27c117e4f0df7c94dc46e11f8 100644 (file)
@@ -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);