fixed uninitialized variable warning
Modified: trunk/reactos/drivers/bus/acpi/ospm/fdo.c
_____
Modified: trunk/reactos/drivers/bus/acpi/ospm/fdo.c
--- trunk/reactos/drivers/bus/acpi/ospm/fdo.c 2005-08-06 05:26:10 UTC
(rev 17095)
+++ trunk/reactos/drivers/bus/acpi/ospm/fdo.c 2005-08-06 11:59:31 UTC
(rev 17096)
@@ -694,6 +694,7 @@
break;
default:
Status = STATUS_UNSUCCESSFUL;
+ return Status;
}
if (!DeviceExtension->SystemStates[AcpiState]) {
DPRINT("System sleep state S%d is not supported by hardware\n",
AcpiState);
Show replies by date