Module Name: src
Committed By: christos
Date: Mon Nov 4 16:54:57 UTC 2013
Modified Files:
src/sys/dev/ic: mb89352.c vga.c
Log Message:
mark variables __diagused
To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/sys/dev/ic/mb89352.c
cvs rdiff -u -r1.110 -r1.111 src/sys/dev/ic/vga.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/dev/ic/mb89352.c
diff -u src/sys/dev/ic/mb89352.c:1.53 src/sys/dev/ic/mb89352.c:1.54
--- src/sys/dev/ic/mb89352.c:1.53 Fri Dec 2 11:17:04 2011
+++ src/sys/dev/ic/mb89352.c Mon Nov 4 11:54:56 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: mb89352.c,v 1.53 2011/12/02 16:17:04 tsutsui Exp $ */
+/* $NetBSD: mb89352.c,v 1.54 2013/11/04 16:54:56 christos Exp $ */
/* NecBSD: mb89352.c,v 1.4 1998/03/14 07:31:20 kmatsuda Exp */
/*-
@@ -77,7 +77,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mb89352.c,v 1.53 2011/12/02 16:17:04 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mb89352.c,v 1.54 2013/11/04 16:54:56 christos Exp $");
#ifdef DDB
#define integrate
@@ -510,7 +510,7 @@ spc_scsipi_request(struct scsipi_channel
void *arg)
{
struct scsipi_xfer *xs;
- struct scsipi_periph *periph;
+ struct scsipi_periph *periph __diagused;
struct spc_softc *sc = device_private(chan->chan_adapter->adapt_dev);
struct spc_acb *acb;
int s, flags;
Index: src/sys/dev/ic/vga.c
diff -u src/sys/dev/ic/vga.c:1.110 src/sys/dev/ic/vga.c:1.111
--- src/sys/dev/ic/vga.c:1.110 Mon Jan 21 14:49:15 2013
+++ src/sys/dev/ic/vga.c Mon Nov 4 11:54:56 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: vga.c,v 1.110 2013/01/21 19:49:15 mlelstv Exp $ */
+/* $NetBSD: vga.c,v 1.111 2013/11/04 16:54:56 christos Exp $ */
/*
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vga.c,v 1.110 2013/01/21 19:49:15 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vga.c,v 1.111 2013/11/04 16:54:56 christos Exp $");
/* for WSCONS_SUPPORT_PCVTFONTS */
#include "opt_wsdisplay_compat.h"
@@ -445,7 +445,7 @@ vga_init_screen(struct vga_config *vc, s
const struct wsscreen_descr *type, int existing, long *attrp)
{
int cpos;
- int res;
+ int res __diagused;
scr->cfg = vc;
scr->pcs.hdl = (struct pcdisplay_handle *)&vc->hdl;