Module Name: src
Committed By: mrg
Date: Wed May 6 01:32:37 UTC 2009
Modified Files:
src/sys/arch/x86/x86: intr.c
Log Message:
avoid a warning seen with -O3.
To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/arch/x86/x86/intr.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/x86/x86/intr.c
diff -u src/sys/arch/x86/x86/intr.c:1.63 src/sys/arch/x86/x86/intr.c:1.64
--- src/sys/arch/x86/x86/intr.c:1.63 Mon Apr 27 20:02:29 2009
+++ src/sys/arch/x86/x86/intr.c Wed May 6 01:32:37 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.c,v 1.63 2009/04/27 20:02:29 cegger Exp $ */
+/* $NetBSD: intr.c,v 1.64 2009/05/06 01:32:37 mrg Exp $ */
/*-
* Copyright (c) 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -133,7 +133,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.63 2009/04/27 20:02:29 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.64 2009/05/06 01:32:37 mrg Exp $");
#include "opt_intrdebug.h"
#include "opt_multiprocessor.h"
@@ -467,7 +467,7 @@
CPU_INFO_ITERATOR cii;
struct cpu_info *ci, *lci;
struct intrsource *isp;
- int slot, idtvec, error;
+ int slot = 0, idtvec, error;
KASSERT(mutex_owned(&cpu_lock));