From b96ac809018c461b55aed66459a68a71dd08047f Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 9 Apr 2020 13:52:31 +0000 Subject: Some unnecessary assignments and unused variables. --- window-buffer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'window-buffer.c') 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); } -- cgit