Module Name:    src
Committed By:   hannken
Date:           Thu Mar 13 16:34:13 UTC 2014

Modified Files:
        src/sys/dev/pci: twa.c

Log Message:
Add __diagused.


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sys/dev/pci/twa.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/pci/twa.c
diff -u src/sys/dev/pci/twa.c:1.46 src/sys/dev/pci/twa.c:1.47
--- src/sys/dev/pci/twa.c:1.46	Tue Feb 25 18:30:10 2014
+++ src/sys/dev/pci/twa.c	Thu Mar 13 16:34:13 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: twa.c,v 1.46 2014/02/25 18:30:10 pooka Exp $ */
+/*	$NetBSD: twa.c,v 1.47 2014/03/13 16:34:13 hannken Exp $ */
 /*	$wasabi: twa.c,v 1.27 2006/07/28 18:17:21 wrstuden Exp $	*/
 
 /*-
@@ -67,7 +67,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: twa.c,v 1.46 2014/02/25 18:30:10 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: twa.c,v 1.47 2014/03/13 16:34:13 hannken Exp $");
 
 //#define TWA_DEBUG
 
@@ -1865,7 +1865,7 @@ twa_map_request(struct twa_request *tr)
 static int
 twa_intr(void *arg)
 {
-	int	caught, s, rv;
+	int	caught, s, rv __diagused;
 	struct twa_softc *sc;
 	uint32_t	status_reg;
 	sc = (struct twa_softc *)arg;
@@ -2756,7 +2756,7 @@ twa_aen_callback(struct twa_request *tr)
 static uint16_t
 twa_enqueue_aen(struct twa_softc *sc, struct twa_command_header *cmd_hdr)
 {
-	int			rv, s;
+	int			rv __diagused, s;
 	struct tw_cl_event_packet *event;
 	uint16_t		aen_code;
 	unsigned long		sync_time;

Reply via email to