Don't use uninitialized variable in FdoQueryBusRelations.
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-03-15 23:02:51 UTC
(rev 14113)
+++ trunk/reactos/drivers/bus/acpi/ospm/fdo.c 2005-03-15 23:27:36 UTC
(rev 14114)
@@ -11,7 +11,7 @@
#include <bm.h>
#include <bn.h>
-#define NDEBUG
+//#define NDEBUG
#include <debug.h>
FADT_DESCRIPTOR_REV2 acpi_fadt;
@@ -126,7 +126,7 @@
ANSI_STRING AnsiString;
ACPI_STATUS AcpiStatus;
PACPI_DEVICE Device;
- NTSTATUS Status;
+ NTSTATUS Status = STATUS_SUCCESS;
BM_NODE *Node;
ULONG Size;
ULONG i;