Dead assignment, found with clang.

pull/1/head
Nicholas Marriott 2010-04-04 19:04:09 +00:00
parent b02cd35354
commit 46d5c14b17
1 changed files with 1 additions and 2 deletions

View File

@ -44,12 +44,11 @@ int
cmd_paste_buffer_exec(struct cmd *self, struct cmd_ctx *ctx)
{
struct cmd_buffer_data *data = self->data;
struct winlink *wl;
struct window_pane *wp;
struct session *s;
struct paste_buffer *pb;
if ((wl = cmd_find_pane(ctx, data->target, &s, &wp)) == NULL)
if (cmd_find_pane(ctx, data->target, &s, &wp) == NULL)
return (-1);
if (data->buffer == -1)