From 082ae24f45d72add668572bbc9e57bdfc8cdd106 Mon Sep 17 00:00:00 2001 From: Ryan Flegel Date: Sun, 23 Apr 2006 18:56:54 +0000 Subject: [PATCH] fixed 'uninitialised' warning SVN-Revision: 3406 --- src/mainloop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainloop.cpp b/src/mainloop.cpp index 3f2f4c0e2..95104c6de 100644 --- a/src/mainloop.cpp +++ b/src/mainloop.cpp @@ -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(); -- 2.11.0