Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/scsipi Mark a potentially unused variable
details: https://anonhg.NetBSD.org/src/rev/e16b28162947
branches: trunk
changeset: 790712:e16b28162947
user: martin <martin%NetBSD.org@localhost>
date: Sat Oct 19 19:10:12 2013 +0000
description:
Mark a potentially unused variable
diffstat:
sys/dev/scsipi/cd.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r cf66759aca6a -r e16b28162947 sys/dev/scsipi/cd.c
--- a/sys/dev/scsipi/cd.c Sat Oct 19 19:08:39 2013 +0000
+++ b/sys/dev/scsipi/cd.c Sat Oct 19 19:10:12 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cd.c,v 1.314 2013/09/28 09:00:26 skrll Exp $ */
+/* $NetBSD: cd.c,v 1.315 2013/10/19 19:10:12 martin Exp $ */
/*-
* Copyright (c) 1998, 2001, 2003, 2004, 2005, 2008 The NetBSD Foundation,
@@ -50,7 +50,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cd.c,v 1.314 2013/09/28 09:00:26 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cd.c,v 1.315 2013/10/19 19:10:12 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -748,7 +748,7 @@
struct scsi_rw_6 cmd_small;
struct scsipi_generic *cmdp;
struct scsipi_xfer *xs;
- int flags, nblks, cmdlen, error;
+ int flags, nblks, cmdlen, error __unused;
SC_DEBUG(periph, SCSIPI_DB2, ("cdstart "));
/*
Home |
Main Index |
Thread Index |
Old Index