From 8df30358317c2e1aeb324c1e5cef0b4a17440302 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 30 Jul 2009 17:29:12 +0000 Subject: Remove some dead code found by clang. --- cmd-clear-history.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cmd-clear-history.c') diff --git a/cmd-clear-history.c b/cmd-clear-history.c index 0a87b9b0..a9271346 100644 --- a/cmd-clear-history.c +++ b/cmd-clear-history.c @@ -41,11 +41,10 @@ int cmd_clear_history_exec(struct cmd *self, struct cmd_ctx *ctx) { struct cmd_target_data *data = self->data; - struct winlink *wl; struct window_pane *wp; struct grid *gd; - if ((wl = cmd_find_pane(ctx, data->target, NULL, &wp)) == NULL) + if (cmd_find_pane(ctx, data->target, NULL, &wp) == NULL) return (-1); gd = wp->base.grid; -- cgit