Some unnecessary assignments and unused variables.

This commit is contained in:
nicm
2020-04-09 13:52:31 +00:00
parent c4d0089edb
commit b96ac80901
6 changed files with 7 additions and 12 deletions

View File

@@ -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);
}