From 406fc209acd3ef784108363cd2bed2b54f70454c Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 18 Aug 2009 09:51:51 +0000 Subject: [PATCH] Nuke unnecessary assignment. --- window-copy.c | 1 - 1 file changed, 1 deletion(-) diff --git a/window-copy.c b/window-copy.c index dff7f479..4ee3d4e3 100644 --- a/window-copy.c +++ b/window-copy.c @@ -596,7 +596,6 @@ window_copy_search_down(struct window_pane *wp, const char *searchstr) memcpy(&gc, &grid_default_cell, sizeof gc); screen_write_nputs(&ctx, -1, &gc, utf8flag, "%s", searchstr); screen_write_stop(&ctx); - searchlen = strlen(searchstr); fx = data->cx; fy = gd->hsize - data->oy + data->cy;