Module Name:    src
Committed By:   msaitoh
Date:           Thu Jun 19 13:20:13 UTC 2014

Modified Files:
        src/sys/arch/evbsh3/evbsh3: machdep.c

Log Message:
Fix "error: variable 's' set but not used [-Werror=unused-but-set-variable]"


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/arch/evbsh3/evbsh3/machdep.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/arch/evbsh3/evbsh3/machdep.c
diff -u src/sys/arch/evbsh3/evbsh3/machdep.c:1.74 src/sys/arch/evbsh3/evbsh3/machdep.c:1.75
--- src/sys/arch/evbsh3/evbsh3/machdep.c:1.74	Tue Jul 19 15:44:52 2011
+++ src/sys/arch/evbsh3/evbsh3/machdep.c	Thu Jun 19 13:20:13 2014
@@ -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 @@ intc_intr(int ssr, int spc, int ssp)
 {
 	struct intc_intrhand *ih;
 	struct clockframe cf;
-	int s, evtcode;
+	int evtcode;
 
 	curcpu()->ci_data.cpu_nintr++;
 
@@ -566,7 +566,7 @@ intc_intr(int ssr, int spc, int ssp)
 	 * 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:

Reply via email to