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:
dundargoc
2023-10-20 15:10:33 +02:00
committed by dundargoc
parent e606604322
commit 5f03a1eaab
72 changed files with 536 additions and 767 deletions

View File

@@ -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)