ops: Silence PVS/V614: regtype is always initialized

This commit is contained in:
ZyX
2018-04-15 21:40:30 +03:00
parent 3b32e717d9
commit 4a145f2036

View File

@@ -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, &regtype, 1);
tv_list_append_string(args, &regtype, 1); // -V614
tv_list_append_string(args, ((char[]) { (char)name }), 1);
(void)eval_call_provider("clipboard", "set", args);