mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 02:16:31 +00:00
refactor: reduce scope of locals as per the style guide 3 (#22221)
refactor: reduce scope of locals as per the style guide
This commit is contained in:
@@ -75,7 +75,6 @@ void do_debug(char *cmd)
|
||||
tasave_T typeaheadbuf;
|
||||
bool typeahead_saved = false;
|
||||
int save_ignore_script = 0;
|
||||
int n;
|
||||
char *cmdline = NULL;
|
||||
char *p;
|
||||
char *tail = NULL;
|
||||
@@ -146,7 +145,7 @@ void do_debug(char *cmd)
|
||||
}
|
||||
|
||||
// don't debug any function call, e.g. from an expression mapping
|
||||
n = debug_break_level;
|
||||
int n = debug_break_level;
|
||||
debug_break_level = -1;
|
||||
|
||||
xfree(cmdline);
|
||||
|
Reference in New Issue
Block a user