From 9386f5d41ec57f5624c27b7f8b49dd89b3d4a419 Mon Sep 17 00:00:00 2001 From: Nicolas Hillegeer Date: Thu, 3 Jul 2014 21:27:25 +0200 Subject: profiling: move static to function scope It wasn't used anywhere else, our coding guidelines mandate the tightest scope possible. --- src/nvim/ex_cmds2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/nvim/ex_cmds2.c b/src/nvim/ex_cmds2.c index 4eb1839d40..c87f134ea2 100644 --- a/src/nvim/ex_cmds2.c +++ b/src/nvim/ex_cmds2.c @@ -746,13 +746,14 @@ void dbg_breakpoint(char_u *name, linenr_T lnum) } static char_u *profile_fname = NULL; -static proftime_T pause_time; /* * ":profile cmd args" */ void ex_profile(exarg_T *eap) { + static proftime_T pause_time; + char_u *e; int len; -- cgit