diff options
-rw-r--r-- | src/nvim/ops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c index 572b557ad3..5921e27282 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -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)) { |