Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/zaurus/stand/zboot fix unused variables
details: https://anonhg.NetBSD.org/src/rev/1ff80e3492c4
branches: trunk
changeset: 791110:1ff80e3492c4
user: christos <christos%NetBSD.org@localhost>
date: Mon Nov 04 21:59:15 2013 +0000
description:
fix unused variables
diffstat:
sys/arch/zaurus/stand/zboot/unixdev.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r 8733b6145675 -r 1ff80e3492c4 sys/arch/zaurus/stand/zboot/unixdev.c
--- a/sys/arch/zaurus/stand/zboot/unixdev.c Mon Nov 04 21:57:26 2013 +0000
+++ b/sys/arch/zaurus/stand/zboot/unixdev.c Mon Nov 04 21:59:15 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: unixdev.c,v 1.3 2012/01/18 23:12:21 nonaka Exp $ */
+/* $NetBSD: unixdev.c,v 1.4 2013/11/04 21:59:15 christos Exp $ */
/* $OpenBSD: unixdev.c,v 1.6 2007/06/16 00:26:33 deraadt Exp $ */
/*
@@ -86,6 +86,8 @@
#ifdef UNIX_DEBUG
printf("%s: devname=%s, unit=%d, partition=%d, fname=%s\n",
__func__, devname, unit, partition, fname);
+#else
+ __USE(fname);
#endif
f->f_devdata = NULL;
@@ -146,6 +148,8 @@
#ifdef UNIX_DEBUG
printf("%s: devname=%s, unit=%d, partition=%d, fname=%s\n",
__func__, devname, unit, partition, fname);
+#else
+ __USE(devname); __USE(partition); __USE(unit);
#endif
if (fname == NULL || fname[0] == '\0')
Home |
Main Index |
Thread Index |
Old Index