Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/atari/dev Appease gcc48 -Wunused-but-set-variable w...
details: https://anonhg.NetBSD.org/src/rev/ab8d4b36140d
branches: trunk
changeset: 330322:ab8d4b36140d
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Jul 05 09:36:49 2014 +0000
description:
Appease gcc48 -Wunused-but-set-variable warning.
diffstat:
sys/arch/atari/dev/atari5380.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 3463ae92e15c -r ab8d4b36140d sys/arch/atari/dev/atari5380.c
--- a/sys/arch/atari/dev/atari5380.c Sat Jul 05 09:33:41 2014 +0000
+++ b/sys/arch/atari/dev/atari5380.c Sat Jul 05 09:36:49 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atari5380.c,v 1.60 2014/03/24 18:39:57 christos Exp $ */
+/* $NetBSD: atari5380.c,v 1.61 2014/07/05 09:36:49 tsutsui Exp $ */
/*
* Copyright (c) 1995 Leo Weppelman.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: atari5380.c,v 1.60 2014/03/24 18:39:57 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: atari5380.c,v 1.61 2014/07/05 09:36:49 tsutsui Exp $");
#include "opt_atariscsi.h"
@@ -731,9 +731,8 @@
static inline void
scsi_falcon_clr_ipend(void)
{
- int tmp;
- tmp = get_falcon_5380_reg(NCR5380_IRCV);
+ (void)get_falcon_5380_reg(NCR5380_IRCV);
rem_sicallback((si_farg)ncr_ctrl_intr);
}
Home |
Main Index |
Thread Index |
Old Index