diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-08-18 09:51:52 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-08-18 09:51:52 +0000 |
commit | d6235299d69f9c08a114832e18a44af98f638eed (patch) | |
tree | ccab5e04b9bd6773f5046d878702259e73ff3eb7 | |
parent | b9c7970ebd7b92894eb30f972cb3870bf0bd0bd0 (diff) |
Nuke unnecessary assignment.
-rw-r--r-- | usr.bin/tmux/window-copy.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/tmux/window-copy.c b/usr.bin/tmux/window-copy.c index 20c0ab7d8a3..7a660e817e4 100644 --- a/usr.bin/tmux/window-copy.c +++ b/usr.bin/tmux/window-copy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window-copy.c,v 1.22 2009/08/18 07:23:43 nicm Exp $ */ +/* $OpenBSD: window-copy.c,v 1.23 2009/08/18 09:51:51 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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; |