mirror of https://github.com/tmux/tmux.git
Do not use uninitialized buffer name.
parent
6a489fa7f6
commit
55c694a467
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue