diff options
author | ZyX <kp-pav@yandex.ru> | 2018-04-15 21:40:30 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2018-04-15 21:40:30 +0300 |
commit | 4a145f2036b0ff13f5db5f3aa7f35d814a1f43a5 (patch) | |
tree | 46737dbfadf1b5f5ef1cc03bf8cfa67c3bf745d1 | |
parent | 3b32e717d91934f2906c99269949efa9d88e82c8 (diff) | |
download | rneovim-4a145f2036b0ff13f5db5f3aa7f35d814a1f43a5.tar.gz rneovim-4a145f2036b0ff13f5db5f3aa7f35d814a1f43a5.tar.bz2 rneovim-4a145f2036b0ff13f5db5f3aa7f35d814a1f43a5.zip |
ops: Silence PVS/V614: regtype is always initialized
-rw-r--r-- | src/nvim/ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c index b421d81b7e..0483cc3e7a 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -5764,7 +5764,7 @@ static void set_clipboard(int name, yankreg_T *reg) list_T *args = tv_list_alloc(3); tv_list_append_list(args, lines); - tv_list_append_string(args, ®type, 1); + tv_list_append_string(args, ®type, 1); // -V614 tv_list_append_string(args, ((char[]) { (char)name }), 1); (void)eval_call_provider("clipboard", "set", args); |