*: Fix clint errors

This commit is contained in:
ZyX
2017-07-18 01:21:23 +03:00
parent 25f669049c
commit 25c6ac1af6
3 changed files with 3 additions and 3 deletions

View File

@@ -110,7 +110,7 @@ bool try_end(Error *err)
{ {
// Note: all globals manipulated here should be saved/restored in // Note: all globals manipulated here should be saved/restored in
// try_enter/try_leave. // try_enter/try_leave.
--trylevel; trylevel--;
// Without this it stops processing all subsequent VimL commands and // Without this it stops processing all subsequent VimL commands and
// generates strange error messages if I e.g. try calling Test() in a // generates strange error messages if I e.g. try calling Test() in a

View File

@@ -564,7 +564,7 @@ static void discard_exception(except_T *excp, int was_finished)
*/ */
void discard_current_exception(void) void discard_current_exception(void)
{ {
discard_exception(current_exception, FALSE); discard_exception(current_exception, false);
// Note: all globals manipulated here should be saved/restored in // Note: all globals manipulated here should be saved/restored in
// try_enter/try_leave. // try_enter/try_leave.
current_exception = NULL; current_exception = NULL;