diff options
author | 2009-08-18 09:51:51 +0000 | |
---|---|---|
committer | 2009-08-18 09:51:51 +0000 | |
commit | c3d27bdc7b0899aff00f7ae25b282618f9ba54d4 (patch) | |
tree | 95aaefab87be691697d67b5354c76151e1c74b36 | |
parent | HEADS-UP: change the way sysmerge(8) runs by default. (diff) | |
download | wireguard-openbsd-c3d27bdc7b0899aff00f7ae25b282618f9ba54d4.tar.xz wireguard-openbsd-c3d27bdc7b0899aff00f7ae25b282618f9ba54d4.zip |
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; |