Module Name: src
Committed By: martin
Date: Fri Oct 25 16:04:57 UTC 2013
Modified Files:
src/sys/dev/scsipi: ss_mustek.c
Log Message:
Mark a diagnostic-only variable
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/dev/scsipi/ss_mustek.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/dev/scsipi/ss_mustek.c
diff -u src/sys/dev/scsipi/ss_mustek.c:1.41 src/sys/dev/scsipi/ss_mustek.c:1.42
--- src/sys/dev/scsipi/ss_mustek.c:1.41 Tue Feb 28 11:41:00 2012
+++ src/sys/dev/scsipi/ss_mustek.c Fri Oct 25 16:04:57 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: ss_mustek.c,v 1.41 2012/02/28 11:41:00 mbalmer Exp $ */
+/* $NetBSD: ss_mustek.c,v 1.42 2013/10/25 16:04:57 martin Exp $ */
/*
* Copyright (c) 1995 Joachim Koenig-Baltes. All rights reserved.
@@ -46,7 +46,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ss_mustek.c,v 1.41 2012/02/28 11:41:00 mbalmer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ss_mustek.c,v 1.42 2013/10/25 16:04:57 martin Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -451,7 +451,7 @@ mustek_read(struct ss_softc *ss, struct
struct scsipi_xfer *xs;
struct scsipi_periph *periph = ss->sc_periph;
u_long lines_to_read;
- int error;
+ int error __diagused;
SC_DEBUG(periph, SCSIPI_DB1, ("mustek_read: start\n"));