fix mixed declarations and code warning that breaks strict compilers
authorStephen Swaney <sswaney@centurytel.net>
Tue, 11 Dec 2007 15:35:39 +0000 (15:35 +0000)
committerStephen Swaney <sswaney@centurytel.net>
Tue, 11 Dec 2007 15:35:39 +0000 (15:35 +0000)
source/blender/src/drawview.c

index 362dc15ed61f1976473c0848d7e0429e7ae5c334..0d1551cc24fb532968812ffb52f32d5bc6416b40 100644 (file)
@@ -3286,9 +3286,10 @@ int update_time(void)
 
 static void draw_viewport_fps(ScrArea *sa)
 {
+       float fps;
        char printable[16];
        printable[0] = '\0';
-       float fps;
+
        if (lredrawtime == redrawtime)
                return;