From 4b0eb6a71657b98cb5dd7cdf36f01e403ede6937 Mon Sep 17 00:00:00 2001 From: Philip Paeps Date: Mon, 21 Mar 2005 18:11:50 +0000 Subject: [PATCH] Make sure status variable is always initialized. Why didn't this show up in my testing? *grmbl* --- sys/dev/acpi_support/acpi_asus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/acpi_support/acpi_asus.c b/sys/dev/acpi_support/acpi_asus.c index 88e2384c512e..a53681cd9d28 100644 --- a/sys/dev/acpi_support/acpi_asus.c +++ b/sys/dev/acpi_support/acpi_asus.c @@ -549,7 +549,7 @@ acpi_asus_sysctl_get(struct acpi_asus_softc *sc, int method) static int acpi_asus_sysctl_set(struct acpi_asus_softc *sc, int method, int arg) { - ACPI_STATUS status; + ACPI_STATUS status = AE_OK; ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__); ACPI_SERIAL_ASSERT(asus);