aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
authornicm <nicm>2017-05-13 07:30:50 +0000
committernicm <nicm>2017-05-13 07:30:50 +0000
commitd58c3793d6ccd618e13287974e8145f640a3185a (patch)
tree9cbc9b5f3ba57a6f6b1cb376b4c86eea4d29a8d9 /tty.c
parent50f1f1dce964d0f09d2ea2abba2abe093e775194 (diff)
downloadrtmux-d58c3793d6ccd618e13287974e8145f640a3185a.tar.gz
rtmux-d58c3793d6ccd618e13287974e8145f640a3185a.tar.bz2
rtmux-d58c3793d6ccd618e13287974e8145f640a3185a.zip
Some other unused variables.
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tty.c b/tty.c
index d638f7d0..8bad7325 100644
--- a/tty.c
+++ b/tty.c
@@ -1145,11 +1145,10 @@ void
tty_cmd_clearstartofline(struct tty *tty, const struct tty_ctx *ctx)
{
struct window_pane *wp = ctx->wp;
- u_int nx, py = ctx->yoff + ctx->ocy;
+ u_int py = ctx->yoff + ctx->ocy;
tty_default_attributes(tty, wp, ctx->bg);
- nx = screen_size_x(wp->screen) - ctx->ocx;
tty_clear_line(tty, wp, py, ctx->xoff, ctx->ocx + 1, ctx->bg);
}