[ros-diffs] [akhaldi] 55269: [MOUNTMGR] * Silence some gcc warnings.

akhaldi at svn.reactos.org akhaldi at svn.reactos.org
Fri Jan 27 23:11:22 UTC 2012


Author: akhaldi
Date: Fri Jan 27 23:11:19 2012
New Revision: 55269

URL: http://svn.reactos.org/svn/reactos?rev=55269&view=rev
Log:
[MOUNTMGR]
* Silence some gcc warnings.

Modified:
    branches/usb-bringup-trunk/drivers/filters/mountmgr/mountmgr.c

Modified: branches/usb-bringup-trunk/drivers/filters/mountmgr/mountmgr.c
URL: http://svn.reactos.org/svn/reactos/branches/usb-bringup-trunk/drivers/filters/mountmgr/mountmgr.c?rev=55269&r1=55268&r2=55269&view=diff
==============================================================================
--- branches/usb-bringup-trunk/drivers/filters/mountmgr/mountmgr.c [iso-8859-1] (original)
+++ branches/usb-bringup-trunk/drivers/filters/mountmgr/mountmgr.c [iso-8859-1] Fri Jan 27 23:11:19 2012
@@ -658,7 +658,7 @@
     NTSTATUS Status;
     PLIST_ENTRY NextEntry;
     UNICODE_STRING DeviceName;
-    PDEVICE_INFORMATION DeviceInfo;
+    PDEVICE_INFORMATION DeviceInfo = NULL;
 
     /* If a device name was given, use it */
     if (DeviceNameGiven)
@@ -1464,7 +1464,7 @@
     PUNIQUE_ID_REPLICATE UniqueIdReplicate;
     PSYMLINK_INFORMATION SymlinkInformation;
     PASSOCIATED_DEVICE_ENTRY AssociatedDevice;
-    PSAVED_LINK_INFORMATION SavedLinkInformation;
+    PSAVED_LINK_INFORMATION SavedLinkInformation = NULL;
     PDEVICE_INFORMATION DeviceInformation, CurrentDevice;
 
     /* Acquire device exclusively */




More information about the Ros-diffs mailing list