diff options
author | nicm <nicm> | 2020-04-09 13:52:31 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-04-09 13:52:31 +0000 |
commit | b96ac809018c461b55aed66459a68a71dd08047f (patch) | |
tree | e8a3ea7ce40ff18088c0113ee76d1c4f834b3999 /window-buffer.c | |
parent | c4d0089edb802763619724e405ac2715542969d5 (diff) | |
download | rtmux-b96ac809018c461b55aed66459a68a71dd08047f.tar.gz rtmux-b96ac809018c461b55aed66459a68a71dd08047f.tar.bz2 rtmux-b96ac809018c461b55aed66459a68a71dd08047f.zip |
Some unnecessary assignments and unused variables.
Diffstat (limited to 'window-buffer.c')
-rw-r--r-- | window-buffer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/window-buffer.c b/window-buffer.c index bbc5c744..37707233 100644 --- a/window-buffer.c +++ b/window-buffer.c @@ -348,9 +348,8 @@ window_buffer_do_paste(void *modedata, void *itemdata, struct client *c, { struct window_buffer_modedata *data = modedata; struct window_buffer_itemdata *item = itemdata; - struct paste_buffer *pb; - if ((pb = paste_get_name(item->name)) != NULL) + if (paste_get_name(item->name) != NULL) mode_tree_run_command(c, NULL, data->command, item->name); } |