fixed 'uninitialised' warning
authorRyan Flegel <rflegel@gmail.com>
Sun, 23 Apr 2006 18:56:54 +0000 (18:56 +0000)
committerRyan Flegel <rflegel@gmail.com>
Sun, 23 Apr 2006 18:56:54 +0000 (18:56 +0000)
SVN-Revision: 3406

src/mainloop.cpp

index 3f2f4c0..95104c6 100644 (file)
@@ -122,7 +122,7 @@ MainLoop::run()
 {
   DrawingContext context; 
   
-  unsigned int frame_count;
+  unsigned int frame_count = 0;
   float fps_fps = 0;
   Uint32 fps_ticks = SDL_GetTicks();
   Uint32 fps_nextframe_ticks = SDL_GetTicks();