diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-02-12 18:48:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-12 18:48:49 +0100 |
commit | 5f72ab77bff1f1224be5cbbf9423bdddbc25635c (patch) | |
tree | 433c1cd4aca0b8d8b91a8b219327940957993bdb /src/nvim/ex_eval.c | |
parent | 2b1c07a1d435b541c295afad13227ebb10def57e (diff) | |
download | rneovim-5f72ab77bff1f1224be5cbbf9423bdddbc25635c.tar.gz rneovim-5f72ab77bff1f1224be5cbbf9423bdddbc25635c.tar.bz2 rneovim-5f72ab77bff1f1224be5cbbf9423bdddbc25635c.zip |
refactor: reduce scope of locals as per the style guide 3 (#22221)
refactor: reduce scope of locals as per the style guide
Diffstat (limited to 'src/nvim/ex_eval.c')
-rw-r--r-- | src/nvim/ex_eval.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/ex_eval.c b/src/nvim/ex_eval.c index 2c578564bc..1cef99297a 100644 --- a/src/nvim/ex_eval.c +++ b/src/nvim/ex_eval.c @@ -1154,7 +1154,6 @@ void do_throw(cstack_T *cstack) { int inactivate_try = false; - // // Cleanup and deactivate up to the next surrounding try conditional that // is not in its finally clause. Normally, do not deactivate the try // conditional itself, so that its ACTIVE flag can be tested below. But @@ -1162,7 +1161,7 @@ void do_throw(cstack_T *cstack) // deactivate the try conditional, too, as if the conversion had been done, // and reset the did_emsg or got_int flag, so this won't happen again at // the next surrounding try conditional. - // + #ifndef THROW_ON_ERROR_TRUE if (did_emsg && !THROW_ON_ERROR) { inactivate_try = true; |