From ac3fe6512f47e72ba108e04392d1f2e548774af9 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 5 Jan 2009 11:04:06 +0000 Subject: Some tweaks found by LLVM courtesy of IcePic. --- screen-write.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'screen-write.c') diff --git a/screen-write.c b/screen-write.c index 633f02a9..f09c194c 100644 --- a/screen-write.c +++ b/screen-write.c @@ -1,4 +1,4 @@ -/* $Id: screen-write.c,v 1.17 2008-12-08 16:19:51 nicm Exp $ */ +/* $Id: screen-write.c,v 1.18 2009-01-05 11:04:06 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -489,10 +489,9 @@ void screen_write_clearstartofscreen(struct screen_write_ctx *ctx) { struct screen *s = ctx->s; - u_int sx, sy; + u_int sx; sx = screen_size_x(s); - sy = screen_size_y(s); if (s->cy > 0) grid_view_clear(s->grid, 0, 0, sx, s->cy - 1); -- cgit