From: Ryan Flegel Date: Sun, 23 Apr 2006 18:56:54 +0000 (+0000) Subject: fixed 'uninitialised' warning X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=082ae24f45d72add668572bbc9e57bdfc8cdd106;p=supertux.git fixed 'uninitialised' warning SVN-Revision: 3406 --- 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();