merge 25562
authorSylvain Petreolle <spetreolle@yahoo.fr>
Fri, 26 Jan 2007 22:31:55 +0000 (22:31 +0000)
committerSylvain Petreolle <spetreolle@yahoo.fr>
Fri, 26 Jan 2007 22:31:55 +0000 (22:31 +0000)
svn path=/branches/ros-branch-0_3_1/; revision=25643

reactos/dll/win32/setupapi/devclass.c
reactos/drivers/filesystems/ms/create.c

index e29bbc0..0253b75 100644 (file)
@@ -1515,7 +1515,7 @@ SetupDiLoadClassIcon(
     {
         LPWSTR Buffer = NULL;
         LPCWSTR DllName;
-        INT iconIndex;
+        INT iconIndex = 0;
         HKEY hKey = INVALID_HANDLE_VALUE;
 
         hKey = SetupDiOpenClassRegKey(ClassGuid, KEY_QUERY_VALUE);
index b88ae29..13a720a 100644 (file)
@@ -111,7 +111,7 @@ MsfsCreateMailslot(PDEVICE_OBJECT DeviceObject,
     PMSFS_CCB Ccb;
     KIRQL oldIrql;
     PLIST_ENTRY current_entry;
-    PMSFS_FCB current;
+    PMSFS_FCB current = NULL;
     PMAILSLOT_CREATE_PARAMETERS Buffer;
 
     DPRINT("MsfsCreateMailslot(DeviceObject %p Irp %p)\n", DeviceObject, Irp);