Do not use uninitialized buffer name.

pull/1848/head
nicm 2019-07-05 07:52:27 +00:00
parent 6a489fa7f6
commit 55c694a467
1 changed files with 1 additions and 1 deletions

View File

@ -2700,7 +2700,7 @@ window_copy_append_selection(struct window_mode_entry *wme)
struct window_pane *wp = wme->wp;
char *buf;
struct paste_buffer *pb;
const char *bufdata, *bufname;
const char *bufdata, *bufname = NULL;
size_t len, bufsize;
struct screen_write_ctx ctx;