Module Name: src
Committed By: martin
Date: Sat Oct 19 16:23:17 UTC 2013
Modified Files:
src/sys/arch/mac68k/dev: ams.c
Log Message:
Mark a potentially unused variable
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/mac68k/dev/ams.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/mac68k/dev/ams.c
diff -u src/sys/arch/mac68k/dev/ams.c:1.21 src/sys/arch/mac68k/dev/ams.c:1.22
--- src/sys/arch/mac68k/dev/ams.c:1.21 Sat Oct 27 17:17:59 2012
+++ src/sys/arch/mac68k/dev/ams.c Sat Oct 19 16:23:17 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: ams.c,v 1.21 2012/10/27 17:17:59 chs Exp $ */
+/* $NetBSD: ams.c,v 1.22 2013/10/19 16:23:17 martin Exp $ */
/*
* Copyright (C) 1998 Colin Wood
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ams.c,v 1.21 2012/10/27 17:17:59 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ams.c,v 1.22 2013/10/19 16:23:17 martin Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -106,7 +106,7 @@ amsattach(device_t parent, device_t self
ADBSetInfoBlock adbinfo;
struct ams_softc *sc = device_private(self);
struct adb_attach_args * aa_args = (struct adb_attach_args *)aux;
- int error;
+ int error __unused;
#if NWSMOUSE > 0
struct wsmousedev_attach_args a;
#endif