mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 03:08:46 +00:00
Do not use uninitialized buffer name.
This commit is contained in:
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
Block a user