Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbsh3/evbsh3 Fix "error: variable 's' set but not ...
details: https://anonhg.NetBSD.org/src/rev/ce75e04d7db6
branches: trunk
changeset: 330050:ce75e04d7db6
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Thu Jun 19 13:20:13 2014 +0000
description:
Fix "error: variable 's' set but not used [-Werror=unused-but-set-variable]"
diffstat:
sys/arch/evbsh3/evbsh3/machdep.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 011d9cccff4c -r ce75e04d7db6 sys/arch/evbsh3/evbsh3/machdep.c
--- a/sys/arch/evbsh3/evbsh3/machdep.c Thu Jun 19 13:16:29 2014 +0000
+++ b/sys/arch/evbsh3/evbsh3/machdep.c Thu Jun 19 13:20:13 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.74 2011/07/19 15:44:52 dyoung Exp $ */
+/* $NetBSD: machdep.c,v 1.75 2014/06/19 13:20:13 msaitoh Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.74 2011/07/19 15:44:52 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.75 2014/06/19 13:20:13 msaitoh Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -529,7 +529,7 @@
{
struct intc_intrhand *ih;
struct clockframe cf;
- int s, evtcode;
+ int evtcode;
curcpu()->ci_data.cpu_nintr++;
@@ -566,7 +566,7 @@
* SH3 may or may not cause TLB miss when access stack.)
* Enable higher level interrupt here.
*/
- s = _cpu_intr_resume(ih->ih_level);
+ _cpu_intr_resume(ih->ih_level);
switch (evtcode) {
default:
Home |
Main Index |
Thread Index |
Old Index