diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/option.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index ec5d4919ba..278cf7c608 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -2659,7 +2659,9 @@ ambw_end: clear_string_option(&curwin->w_p_lcs); } FOR_ALL_TAB_WINDOWS(tp, wp) { - set_chars_option(wp, &wp->w_p_lcs, true); + // If no error was returned above, we don't expect an error + // here, so ignore the return value. + (void)set_chars_option(wp, &wp->w_p_lcs, true); } redraw_all_later(NOT_VALID); } @@ -2674,7 +2676,9 @@ ambw_end: clear_string_option(&curwin->w_p_fcs); } FOR_ALL_TAB_WINDOWS(tp, wp) { - set_chars_option(wp, &wp->w_p_fcs, true); + // If no error was returned above, we don't expect an error + // here, so ignore the return value. + (void)set_chars_option(wp, &wp->w_p_fcs, true); } redraw_all_later(NOT_VALID); } |