aboutsummaryrefslogtreecommitdiff
path: root/screen-write.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-01-05 11:04:06 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-01-05 11:04:06 +0000
commitac3fe6512f47e72ba108e04392d1f2e548774af9 (patch)
treeda930f753b676698bf16f32893369b38877446b1 /screen-write.c
parentb4574799045717affdf32263091af01a969d498a (diff)
downloadrtmux-ac3fe6512f47e72ba108e04392d1f2e548774af9.tar.gz
rtmux-ac3fe6512f47e72ba108e04392d1f2e548774af9.tar.bz2
rtmux-ac3fe6512f47e72ba108e04392d1f2e548774af9.zip
Some tweaks found by LLVM courtesy of IcePic.
Diffstat (limited to 'screen-write.c')
-rw-r--r--screen-write.c5
1 files changed, 2 insertions, 3 deletions
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 <nicm@users.sourceforge.net>
@@ -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);