mirror of
https://github.com/tmux/tmux.git
synced 2025-09-06 03:18:17 +00:00
Some unnecessary assignments and unused variables.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user