From: fcambus Date: Sat, 23 Dec 2017 10:30:25 +0000 (+0000) Subject: Remove dead assignment. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d728cabeb80305e1e053d779ee180cea6615944d;p=openbsd Remove dead assignment. Now that we call rasops_putchar_rotated(), we don't need ri anymore. OK kettenis@ --- 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)