From 4a145f2036b0ff13f5db5f3aa7f35d814a1f43a5 Mon Sep 17 00:00:00 2001 From: ZyX Date: Sun, 15 Apr 2018 21:40:30 +0300 Subject: ops: Silence PVS/V614: regtype is always initialized --- src/nvim/ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit