diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-03-05 19:39:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-05 19:39:36 +0100 |
commit | d557a4557100e3ab48a504dafcf53f544196595c (patch) | |
tree | 2440337b15c779ef5701d6d0830e24b7ac5cf689 /src/nvim/eval.c | |
parent | 2de4d3c7ac0216b9c2f268116b4dd09a38663b7d (diff) | |
parent | fff527b88de91b88db95143c470c3e9007dd443e (diff) | |
download | rneovim-d557a4557100e3ab48a504dafcf53f544196595c.tar.gz rneovim-d557a4557100e3ab48a504dafcf53f544196595c.tar.bz2 rneovim-d557a4557100e3ab48a504dafcf53f544196595c.zip |
Merge pull request #17538 from dundargoc/refactor/bugprone-signed-char-misuse
refactor: fix clang-tidy bugprone-signed-char-misuse warnings
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r-- | src/nvim/eval.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index d95b9560c2..c5c03455b7 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -4858,7 +4858,6 @@ int get_option_tv(const char **const arg, typval_T *const rettv, const bool eval long numval; char_u *stringval; int opt_type; - int c; bool working = (**arg == '+'); // has("+option") int ret = OK; int opt_flags; @@ -4877,7 +4876,7 @@ int get_option_tv(const char **const arg, typval_T *const rettv, const bool eval return OK; } - c = *option_end; + char c = *option_end; *option_end = NUL; opt_type = get_option_value(*arg, &numval, rettv == NULL ? NULL : &stringval, opt_flags); |