Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/isa fix "unintialized variable" warning
details: https://anonhg.NetBSD.org/src/rev/c1bd41c21ace
branches: trunk
changeset: 547145:c1bd41c21ace
user: drochner <drochner%NetBSD.org@localhost>
date: Wed May 14 11:27:39 2003 +0000
description:
fix "unintialized variable" warning
diffstat:
sys/arch/i386/isa/pccons.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 76c799bbedc7 -r c1bd41c21ace sys/arch/i386/isa/pccons.c
--- a/sys/arch/i386/isa/pccons.c Wed May 14 11:26:52 2003 +0000
+++ b/sys/arch/i386/isa/pccons.c Wed May 14 11:27:39 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pccons.c,v 1.163 2003/03/06 23:47:35 taca Exp $ */
+/* $NetBSD: pccons.c,v 1.164 2003/05/14 11:27:39 drochner Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -83,7 +83,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pccons.c,v 1.163 2003/03/06 23:47:35 taca Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pccons.c,v 1.164 2003/05/14 11:27:39 drochner Exp $");
#include "opt_ddb.h"
#include "opt_xserver.h"
@@ -756,8 +756,8 @@
struct pc_softc *sc = (void *)self;
#if (NPCCONSKBD == 0)
struct isa_attach_args *ia = aux;
+ bus_space_handle_t ioh;
#endif
- bus_space_handle_t ioh;
if (crtat == 0)
pcinit();
Home |
Main Index |
Thread Index |
Old Index