Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Swaney <sswaney@centurytel.net>2007-12-11 18:35:39 +0300
committerStephen Swaney <sswaney@centurytel.net>2007-12-11 18:35:39 +0300
commit160e6afdb8dc36b7d3a982a0411e633be165d2f4 (patch)
treec5e6177bfebc4d62590ca13523dc7ed26d7a59c0 /source/blender/src/drawview.c
parent65758a9a20807b3ee6ae470f76b4fe3d0cb382f6 (diff)
fix mixed declarations and code warning that breaks strict compilers
Diffstat (limited to 'source/blender/src/drawview.c')
-rw-r--r--source/blender/src/drawview.c3
1 files changed, 2 insertions, 1 deletions
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;