profiling: move static to function scope

It wasn't used anywhere else, our coding guidelines mandate the tightest
scope possible.
This commit is contained in:
Nicolas Hillegeer 2014-07-03 21:27:25 +02:00
parent db7cd61f62
commit 9386f5d41e

View File

@ -746,13 +746,14 @@ void dbg_breakpoint(char_u *name, linenr_T lnum)
} }
static char_u *profile_fname = NULL; static char_u *profile_fname = NULL;
static proftime_T pause_time;
/* /*
* ":profile cmd args" * ":profile cmd args"
*/ */
void ex_profile(exarg_T *eap) void ex_profile(exarg_T *eap)
{ {
static proftime_T pause_time;
char_u *e; char_u *e;
int len; int len;