Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ufs use variables that could be unused.
details: https://anonhg.NetBSD.org/src/rev/3fe8b8b466c6
branches: trunk
changeset: 344954:3fe8b8b466c6
user: christos <christos%NetBSD.org@localhost>
date: Fri Apr 29 03:05:04 2016 +0000
description:
use variables that could be unused.
diffstat:
sys/ufs/ufs/ufs_bswap.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (22 lines):
diff -r 14afd53c7b6f -r 3fe8b8b466c6 sys/ufs/ufs/ufs_bswap.h
--- a/sys/ufs/ufs/ufs_bswap.h Fri Apr 29 02:38:19 2016 +0000
+++ b/sys/ufs/ufs/ufs_bswap.h Fri Apr 29 03:05:04 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ufs_bswap.h,v 1.20 2013/10/19 20:12:18 mrg Exp $ */
+/* $NetBSD: ufs_bswap.h,v 1.21 2016/04/29 03:05:04 christos Exp $ */
/*
* Copyright (c) 1998 Manuel Bouyer.
@@ -40,9 +40,9 @@
#define UFS_FSNEEDSWAP(fs) ((fs)->fs_flags & FS_SWAPPED)
#define UFS_IPNEEDSWAP(ip) UFS_MPNEEDSWAP((ip)->i_ump)
#else
-#define UFS_MPNEEDSWAP(ump) (0)
-#define UFS_FSNEEDSWAP(fs) (0)
-#define UFS_IPNEEDSWAP(ip) (0)
+#define UFS_MPNEEDSWAP(ump) ((void)(ump), 0)
+#define UFS_FSNEEDSWAP(fs) ((void)(fs), 0)
+#define UFS_IPNEEDSWAP(ip) ((void)(ip), 0)
#endif
#if !defined(_KERNEL) || defined(FFS_EI)
Home |
Main Index |
Thread Index |
Old Index