From 1fa8a8f4a6a2d942896fc4c5c04563826c9a6f70 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Fri, 21 Aug 2009 21:13:20 +0000 Subject: [PATCH] Sync OpenBSD patchset 285: Ugh, committed the wrong version of this change and got both solutions rather than just the second. Remove unused assignment. --- screen-write.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/screen-write.c b/screen-write.c index 93fc7446..d2e3c51b 100644 --- a/screen-write.c +++ b/screen-write.c @@ -1,4 +1,4 @@ -/* $Id: screen-write.c,v 1.69 2009-08-21 21:09:13 tcunha Exp $ */ +/* $Id: screen-write.c,v 1.70 2009-08-21 21:13:20 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -858,9 +858,6 @@ screen_write_overwrite(struct screen_write_ctx *ctx) u_int xx; gc = grid_view_peek_cell(gd, s->cx, s->cy); - if (gc->flags & GRID_FLAG_UTF8) - gu = grid_view_peek_utf8(gd, s->cx, s->cy); - if (gc->flags & GRID_FLAG_PADDING) { /* * A padding cell, so clear any following and leading padding