mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
db7cd61f62
commit
9386f5d41e
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user