diff options
author | nicm <nicm> | 2019-07-05 07:52:27 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-07-05 07:52:27 +0000 |
commit | 55c694a4679ee225b1962db63671422f3e641fc6 (patch) | |
tree | a52f4d877fdec7e260f839358ed71ec042527283 | |
parent | 6a489fa7f6360bcd9c0d6b87546d3eb6b0a3654a (diff) | |
download | rtmux-55c694a4679ee225b1962db63671422f3e641fc6.tar.gz rtmux-55c694a4679ee225b1962db63671422f3e641fc6.tar.bz2 rtmux-55c694a4679ee225b1962db63671422f3e641fc6.zip |
Do not use uninitialized buffer name.
-rw-r--r-- | window-copy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/window-copy.c b/window-copy.c index a7cb5dfa..28d728bb 100644 --- a/window-copy.c +++ b/window-copy.c @@ -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; |