fix mixed declarations and code warning that breaks strict compilers
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user