Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic mark variables __diagused



details:   https://anonhg.NetBSD.org/src/rev/8f31b9372be4
branches:  trunk
changeset: 791090:8f31b9372be4
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Nov 04 16:54:56 2013 +0000

description:
mark variables __diagused

diffstat:

 sys/dev/ic/mb89352.c |  6 +++---
 sys/dev/ic/vga.c     |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 1b82e41db88f -r 8f31b9372be4 sys/dev/ic/mb89352.c
--- a/sys/dev/ic/mb89352.c      Mon Nov 04 16:54:36 2013 +0000
+++ b/sys/dev/ic/mb89352.c      Mon Nov 04 16:54:56 2013 +0000
@@ -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 @@
     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;
diff -r 1b82e41db88f -r 8f31b9372be4 sys/dev/ic/vga.c
--- a/sys/dev/ic/vga.c  Mon Nov 04 16:54:36 2013 +0000
+++ b/sys/dev/ic/vga.c  Mon Nov 04 16:54:56 2013 +0000
@@ -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 @@
                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;



Home | Main Index | Thread Index | Old Index