mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
ops: Silence PVS/V614: regtype is always initialized
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user