diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-06-30 21:13:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-30 21:13:08 +0800 |
commit | 2493815290c4cb5b1fb97b6d010c10bdf2d47a58 (patch) | |
tree | e329e58c238f2d091b37fb7593718446a8d01088 /src/nvim/api/deprecated.c | |
parent | d191bdf9d5e54722e28ddb0cccc8eb2312a234df (diff) | |
download | rneovim-2493815290c4cb5b1fb97b6d010c10bdf2d47a58.tar.gz rneovim-2493815290c4cb5b1fb97b6d010c10bdf2d47a58.tar.bz2 rneovim-2493815290c4cb5b1fb97b6d010c10bdf2d47a58.zip |
refactor: fix clang/PVS warnings (#24213)
Diffstat (limited to 'src/nvim/api/deprecated.c')
-rw-r--r-- | src/nvim/api/deprecated.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/api/deprecated.c b/src/nvim/api/deprecated.c index 83c33db5d3..2e3ebd7c39 100644 --- a/src/nvim/api/deprecated.c +++ b/src/nvim/api/deprecated.c @@ -709,7 +709,7 @@ static void set_option_to(uint64_t channel_id, void *to, int type, String name, } } - OptVal optval = NIL_OPTVAL; + OptVal optval; if (flags & SOPT_BOOL) { VALIDATE(value.type == kObjectTypeBoolean, "Option '%s' value must be Boolean", name.data, { |