diff options
author | Bartosz Miera <bartopik@gmail.com> | 2019-07-29 00:52:24 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-07-29 00:52:24 +0200 |
commit | 16727dcf1e76b5a0b47a3b3b499780d58f4a043a (patch) | |
tree | 5a4547161516c3d51afd1dd935b1b2045f02463d /src/nvim/option.c | |
parent | 7cc2b723d43c73653daa41fcfac623632faa9695 (diff) | |
download | rneovim-16727dcf1e76b5a0b47a3b3b499780d58f4a043a.tar.gz rneovim-16727dcf1e76b5a0b47a3b3b499780d58f4a043a.tar.bz2 rneovim-16727dcf1e76b5a0b47a3b3b499780d58f4a043a.zip |
clang/"dead assignments" #10620
Also revert possibly-wrong change in f_sign_getplaced() from
652be3cb0040.
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index 35151ab81c..40c1358fa5 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -3508,7 +3508,9 @@ static char_u *set_chars_option(win_T *wp, char_u **varp) { int round, i, len, entries; char_u *p, *s; - int c1 = 0, c2 = 0, c3 = 0; + int c1; + int c2 = 0; + int c3 = 0; struct chars_tab { int *cp; ///< char value @@ -3575,7 +3577,7 @@ static char_u *set_chars_option(win_T *wp, char_u **varp) if (STRNCMP(p, tab[i].name, len) == 0 && p[len] == ':' && p[len + 1] != NUL) { - c1 = c2 = c3 = 0; + c2 = c3 = 0; s = p + len + 1; // TODO(bfredl): use schar_T representation and utfc_ptr2len |