Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/vax/vsa Mark a potentially unused variable



details:   https://anonhg.NetBSD.org/src/rev/4c64437eb87d
branches:  trunk
changeset: 790834:4c64437eb87d
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Oct 24 13:16:33 2013 +0000

description:
Mark a potentially unused variable

diffstat:

 sys/arch/vax/vsa/spx.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 84d11987c963 -r 4c64437eb87d sys/arch/vax/vsa/spx.c
--- a/sys/arch/vax/vsa/spx.c    Thu Oct 24 13:15:12 2013 +0000
+++ b/sys/arch/vax/vsa/spx.c    Thu Oct 24 13:16:33 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: spx.c,v 1.6 2012/05/14 08:44:13 abs Exp $ */
+/*     $NetBSD: spx.c,v 1.7 2013/10/24 13:16:33 martin Exp $ */
 /*
  * SPX/LCSPX/SPXg/SPXgt accelerated framebuffer driver for NetBSD/VAX
  * Copyright (c) 2005 Blaz Antonic
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: spx.c,v 1.6 2012/05/14 08:44:13 abs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: spx.c,v 1.7 2013/10/24 13:16:33 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -677,7 +677,7 @@
 spx_cursor(void *id, int on, int row, int col)
 {
        struct spx_screen *ss = id;
-       int attr, data;
+       int attr, data __unused;
 
        attr = ss->ss_image[row * spx_cols + col].attr;
        data = ss->ss_image[row * spx_cols + col].data;



Home | Main Index | Thread Index | Old Index