Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/fs/udf diagused some variables.
details: https://anonhg.NetBSD.org/src/rev/4a858afaaa98
branches: trunk
changeset: 340561:4a858afaaa98
user: christos <christos%NetBSD.org@localhost>
date: Sat Sep 12 19:50:08 2015 +0000
description:
diagused some variables.
diffstat:
sys/fs/udf/udf_strat_rmw.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 71142610ea3a -r 4a858afaaa98 sys/fs/udf/udf_strat_rmw.c
--- a/sys/fs/udf/udf_strat_rmw.c Sat Sep 12 19:38:42 2015 +0000
+++ b/sys/fs/udf/udf_strat_rmw.c Sat Sep 12 19:50:08 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_strat_rmw.c,v 1.25 2015/09/12 19:33:03 christos Exp $ */
+/* $NetBSD: udf_strat_rmw.c,v 1.26 2015/09/12 19:50:08 christos Exp $ */
/*
* Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_strat_rmw.c,v 1.25 2015/09/12 19:33:03 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_strat_rmw.c,v 1.26 2015/09/12 19:50:08 christos Exp $");
#endif /* not lint */
@@ -616,7 +616,7 @@
uint32_t sectornr, dummy;
uint8_t *pos;
int sector_size = ump->discinfo.sector_size;
- int lb_size = udf_rw32(ump->logical_vol->lb_size);
+ int lb_size __diagused = udf_rw32(ump->logical_vol->lb_size);
int i, error, dscrlen, eccsect;
KASSERT(sector_size == lb_size);
@@ -710,7 +710,7 @@
uint32_t sectornr, logsectornr, dummy;
// int waitfor = args->waitfor;
int sector_size = ump->discinfo.sector_size;
- int lb_size = udf_rw32(ump->logical_vol->lb_size);
+ int lb_size __diagused = udf_rw32(ump->logical_vol->lb_size);
int error, eccsect;
KASSERT(sector_size == lb_size);
Home |
Main Index |
Thread Index |
Old Index