summaryrefslogtreecommitdiffstats
path: root/window-buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'window-buffer.c')
-rw-r--r--window-buffer.c3
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);
}