Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/x86 appease gcc's uninitialised variable detection
details: https://anonhg.NetBSD.org/src/rev/7f505530b6f9
branches: trunk
changeset: 554342:7f505530b6f9
user: lukem <lukem%NetBSD.org@localhost>
date: Mon Oct 27 03:51:35 2003 +0000
description:
appease gcc's uninitialised variable detection
diffstat:
sys/arch/x86/x86/mpbios.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ff3b4ca69489 -r 7f505530b6f9 sys/arch/x86/x86/mpbios.c
--- a/sys/arch/x86/x86/mpbios.c Mon Oct 27 03:46:15 2003 +0000
+++ b/sys/arch/x86/x86/mpbios.c Mon Oct 27 03:51:35 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mpbios.c,v 1.16 2003/10/21 23:22:52 fvdl Exp $ */
+/* $NetBSD: mpbios.c,v 1.17 2003/10/27 03:51:35 lukem Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -103,7 +103,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mpbios.c,v 1.16 2003/10/21 23:22:52 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mpbios.c,v 1.17 2003/10/27 03:51:35 lukem Exp $");
#include "opt_mpacpi.h"
#include "opt_mpbios.h"
@@ -1043,7 +1043,7 @@
struct ioapic_softc *sc = NULL, *sc2;
struct mp_intr_map *altmpi;
- struct mp_bus *mpb;
+ struct mp_bus *mpb = NULL; /* XXX gcc */
u_int32_t id = entry->dst_apic_id;
u_int32_t pin = entry->dst_apic_int;
Home |
Main Index |
Thread Index |
Old Index