diff options
author | Frederic Cambus <fcambus@cvs.openbsd.org> | 2017-12-23 10:30:26 +0000 |
---|---|---|
committer | Frederic Cambus <fcambus@cvs.openbsd.org> | 2017-12-23 10:30:26 +0000 |
commit | 63cca34891cfcd759eecf0caec1bc57290cdfe9a (patch) | |
tree | 212c3477ae594a6e30a99ba64901005145be2b89 /sys/dev/rasops/rasops.c | |
parent | 030d23bf5fc14bcdaa5a6bc855569fc84a120ccb (diff) |
Remove dead assignment.
Now that we call rasops_putchar_rotated(), we don't need ri anymore.
OK kettenis@
Diffstat (limited to 'sys/dev/rasops/rasops.c')
-rw-r--r-- | sys/dev/rasops/rasops.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/rasops/rasops.c b/sys/dev/rasops/rasops.c index 778c355549b..27b605eaac0 100644 --- a/sys/dev/rasops/rasops.c +++ b/sys/dev/rasops/rasops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rasops.c,v 1.48 2017/08/22 12:24:45 fcambus Exp $ */ +/* $OpenBSD: rasops.c,v 1.49 2017/12/23 10:30:25 fcambus Exp $ */ /* $NetBSD: rasops.c,v 1.35 2001/02/02 06:01:01 marcus Exp $ */ /*- @@ -1265,12 +1265,9 @@ rasops_putchar_rotated(void *cookie, int row, int col, u_int uc, long attr) int rasops_erasecols_rotated(void *cookie, int row, int col, int num, long attr) { - struct rasops_info *ri; int i; int rc; - ri = (struct rasops_info *)cookie; - for (i = col; i < col + num; i++) { rc = rasops_putchar_rotated(cookie, row, i, ' ', attr); if (rc != 0) |