diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-08-20 11:23:36 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-08-20 11:23:36 +0000 |
commit | aa7c0f1ce8f217c5eb7655ece605e6096dd78f86 (patch) | |
tree | 722033171658c004f29888eb36519d30ed188cbb | |
parent | 2a5f08c15a3a3c3906fa7d96586725cbe40afb4d (diff) | |
download | rtmux-aa7c0f1ce8f217c5eb7655ece605e6096dd78f86.tar.gz rtmux-aa7c0f1ce8f217c5eb7655ece605e6096dd78f86.tar.bz2 rtmux-aa7c0f1ce8f217c5eb7655ece605e6096dd78f86.zip |
Sync OpenBSD patchset 266:
Nuke unnecessary assignment.
-rw-r--r-- | window-copy.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/window-copy.c b/window-copy.c index 6b58d874..6eadbbdd 100644 --- a/window-copy.c +++ b/window-copy.c @@ -1,4 +1,4 @@ -/* $Id: window-copy.c,v 1.81 2009-08-20 11:22:48 tcunha Exp $ */ +/* $Id: window-copy.c,v 1.82 2009-08-20 11:23:36 tcunha 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; |