mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
build(lint): remove unnecessary clint.py rules
Uncrustify is the source of truth where possible. Remove any redundant checks from clint.py.
This commit is contained in:
@@ -159,19 +159,28 @@ static char dollar_command[2] = { '$', 0 };
|
||||
|
||||
static void save_dbg_stuff(struct dbg_stuff *dsp)
|
||||
{
|
||||
dsp->trylevel = trylevel; trylevel = 0;
|
||||
dsp->force_abort = force_abort; force_abort = false;
|
||||
dsp->caught_stack = caught_stack; caught_stack = NULL;
|
||||
dsp->vv_exception = v_exception(NULL);
|
||||
dsp->vv_throwpoint = v_throwpoint(NULL);
|
||||
dsp->trylevel = trylevel;
|
||||
trylevel = 0;
|
||||
dsp->force_abort = force_abort;
|
||||
force_abort = false;
|
||||
dsp->caught_stack = caught_stack;
|
||||
caught_stack = NULL;
|
||||
dsp->vv_exception = v_exception(NULL);
|
||||
dsp->vv_throwpoint = v_throwpoint(NULL);
|
||||
|
||||
// Necessary for debugging an inactive ":catch", ":finally", ":endtry".
|
||||
dsp->did_emsg = did_emsg; did_emsg = false;
|
||||
dsp->got_int = got_int; got_int = false;
|
||||
dsp->did_throw = did_throw; did_throw = false;
|
||||
dsp->need_rethrow = need_rethrow; need_rethrow = false;
|
||||
dsp->check_cstack = check_cstack; check_cstack = false;
|
||||
dsp->current_exception = current_exception; current_exception = NULL;
|
||||
dsp->did_emsg = did_emsg;
|
||||
did_emsg = false;
|
||||
dsp->got_int = got_int;
|
||||
got_int = false;
|
||||
dsp->did_throw = did_throw;
|
||||
did_throw = false;
|
||||
dsp->need_rethrow = need_rethrow;
|
||||
need_rethrow = false;
|
||||
dsp->check_cstack = check_cstack;
|
||||
check_cstack = false;
|
||||
dsp->current_exception = current_exception;
|
||||
current_exception = NULL;
|
||||
}
|
||||
|
||||
static void restore_dbg_stuff(struct dbg_stuff *dsp)
|
||||
|
Reference in New Issue
Block a user