Module Name: src Committed By: martin Date: Thu Oct 24 13:16:33 UTC 2013
Modified Files: src/sys/arch/vax/vsa: spx.c Log Message: Mark a potentially unused variable To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/vax/vsa/spx.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/vax/vsa/spx.c diff -u src/sys/arch/vax/vsa/spx.c:1.6 src/sys/arch/vax/vsa/spx.c:1.7 --- src/sys/arch/vax/vsa/spx.c:1.6 Mon May 14 08:44:13 2012 +++ src/sys/arch/vax/vsa/spx.c Thu Oct 24 13:16:33 2013 @@ -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 @@ static void 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;