mirror of
https://github.com/neovim/neovim.git
synced 2025-11-28 13:10:44 +00:00
clipboard: missing return NULL when provider not available
This commit is contained in:
@@ -5317,6 +5317,7 @@ static struct yankreg* adjust_clipboard_name(int *name, bool quiet, bool writing
|
||||
if (!quiet) {
|
||||
EMSG("clipboard: provider is not available");
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
return &y_regs[*name == '*' ? STAR_REGISTER : PLUS_REGISTER];
|
||||
} else if ((*name == NUL) && (cb_flags & CB_UNNAMEDMASK)) {
|
||||
|
||||
Reference in New Issue
Block a user