gcc4: 'Data' may be used uninitialized in this function

This commit is contained in:
dogcow 2006-05-14 03:02:14 +00:00
parent a58e08b7cf
commit 12d973491c
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: acpi_ec.c,v 1.37 2006/02/20 12:17:49 kochi Exp $ */
/* $NetBSD: acpi_ec.c,v 1.38 2006/05/14 03:02:14 dogcow Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@ -172,7 +172,7 @@
*****************************************************************************/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: acpi_ec.c,v 1.37 2006/02/20 12:17:49 kochi Exp $");
__KERNEL_RCSID(0, "$NetBSD: acpi_ec.c,v 1.38 2006/05/14 03:02:14 dogcow Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -643,7 +643,7 @@ static void
EcGpeQueryHandler(void *Context)
{
struct acpi_ec_softc *sc = Context;
UINT8 Data;
UINT8 Data = 0;
ACPI_STATUS rv;
char qxx[5];