Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sun3/sun3x fix variable usage
details: https://anonhg.NetBSD.org/src/rev/289d9cbd5a00
branches: trunk
changeset: 791163:289d9cbd5a00
user: christos <christos%NetBSD.org@localhost>
date: Thu Nov 07 02:37:56 2013 +0000
description:
fix variable usage
diffstat:
sys/arch/sun3/sun3x/dvma.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r fbf51aecf8d3 -r 289d9cbd5a00 sys/arch/sun3/sun3x/dvma.c
--- a/sys/arch/sun3/sun3x/dvma.c Thu Nov 07 02:06:51 2013 +0000
+++ b/sys/arch/sun3/sun3x/dvma.c Thu Nov 07 02:37:56 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dvma.c,v 1.42 2013/09/06 17:43:19 tsutsui Exp $ */
+/* $NetBSD: dvma.c,v 1.43 2013/11/07 02:37:56 christos Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -69,7 +69,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dvma.c,v 1.42 2013/09/06 17:43:19 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dvma.c,v 1.43 2013/11/07 02:37:56 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -166,7 +166,7 @@
int npf, s, error;
paddr_t pa;
long off;
- bool rv;
+ bool rv __debugused;
kva = (vaddr_t)kmem_va;
#ifdef DIAGNOSTIC
@@ -304,7 +304,7 @@
vsize_t off, sgsize;
paddr_t pa;
pmap_t pmap;
- int error, rv, s;
+ int error, rv __diagused, s;
/*
* Make sure that on error condition we return "no valid mappings".
@@ -369,7 +369,7 @@
bus_dma_segment_t *segs;
vaddr_t dva;
vsize_t sgsize;
- int error, s;
+ int error __diagused, s;
#ifdef DIAGNOSTIC
if (map->dm_nsegs != 1)
Home |
Main Index |
Thread Index |
Old Index