From 160e6afdb8dc36b7d3a982a0411e633be165d2f4 Mon Sep 17 00:00:00 2001 From: Stephen Swaney Date: Tue, 11 Dec 2007 15:35:39 +0000 Subject: [PATCH] fix mixed declarations and code warning that breaks strict compilers --- source/blender/src/drawview.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/blender/src/drawview.c b/source/blender/src/drawview.c index 362dc15ed61..0d1551cc24f 100644 --- a/source/blender/src/drawview.c +++ b/source/blender/src/drawview.c @@ -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;