Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/m68k/m68k Mark a variable that is only tested in DI...



details:   https://anonhg.NetBSD.org/src/rev/78cf65a6a9e7
branches:  trunk
changeset: 790710:78cf65a6a9e7
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Oct 19 19:03:30 2013 +0000

description:
Mark a variable that is only tested in DIAGNOSTIC kernels as potentially
unused.

diffstat:

 sys/arch/m68k/m68k/bus_dma.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e3965f8ce8a7 -r 78cf65a6a9e7 sys/arch/m68k/m68k/bus_dma.c
--- a/sys/arch/m68k/m68k/bus_dma.c      Sat Oct 19 18:42:05 2013 +0000
+++ b/sys/arch/m68k/m68k/bus_dma.c      Sat Oct 19 19:03:30 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_dma.c,v 1.33 2012/07/11 17:13:30 rkujawa Exp $ */
+/* $NetBSD: bus_dma.c,v 1.34 2013/10/19 19:03:30 martin Exp $ */
 
 /*
  * This file was taken from from alpha/common/bus_dma.c
@@ -41,7 +41,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.33 2012/07/11 17:13:30 rkujawa Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.34 2013/10/19 19:03:30 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -138,7 +138,7 @@
        vaddr_t vaddr = (vaddr_t)buf;
        int seg, cacheable, coherent;
        pmap_t pmap;
-       bool rv;
+       bool rv __unused;
 
        coherent = BUS_DMA_COHERENT;
        lastaddr = *lastaddrp;



Home | Main Index | Thread Index | Old Index