fix mixed declarations and code warning that breaks strict compilers

This commit is contained in:
Stephen Swaney
2007-12-11 15:35:39 +00:00
parent 65758a9a20
commit 160e6afdb8

View File

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