Author: cwittich
Date: Tue Oct 28 08:15:49 2014
New Revision: 65066

URL: http://svn.reactos.org/svn/reactos?rev=65066&view=rev
Log:
[DRIVERS]
don't use uninitialized variables

Modified:
    trunk/reactos/drivers/bus/acpi/main.c
    trunk/reactos/drivers/bus/pcix/fdo.c

Modified: trunk/reactos/drivers/bus/acpi/main.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/main.c?rev=65066&r1=65065&r2=65066&view=diff
==============================================================================
--- trunk/reactos/drivers/bus/acpi/main.c       [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/main.c       [iso-8859-1] Tue Oct 28 
08:15:49 2014
@@ -450,7 +450,7 @@
     LPWSTR ProcessorVendorIdentifier = NULL;
     LPWSTR HardwareIdsBuffer = NULL;
     HANDLE ProcessorHandle = NULL;
-    ULONG Length, Level1Length = 0, Level2Length = 0, Level3Length = 0;
+    ULONG Length = 0, Level1Length = 0, Level2Length = 0, Level3Length = 0;
     SIZE_T HardwareIdsLength = 0;
     SIZE_T VendorIdentifierLength;
     ULONG i;

Modified: trunk/reactos/drivers/bus/pcix/fdo.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/pcix/fdo.c?rev=65066&r1=65065&r2=65066&view=diff
==============================================================================
--- trunk/reactos/drivers/bus/pcix/fdo.c        [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/pcix/fdo.c        [iso-8859-1] Tue Oct 28 
08:15:49 2014
@@ -478,6 +478,8 @@
     AttachedTo = NULL;
     FdoExtension = NULL;
     PdoExtension = NULL;
+    DeviceObject = NULL;
+
     do
     {
         /* Check if there's already a device extension for this bus */


Reply via email to