Author: tfaber Date: Sat May 5 10:31:47 2012 New Revision: 56507
URL: http://svn.reactos.org/svn/reactos?rev=56507&view=rev Log: [MOUNTMGR] - Silence false GCC warnings
Modified: trunk/reactos/drivers/filters/mountmgr/point.c
Modified: trunk/reactos/drivers/filters/mountmgr/point.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filters/mountmgr/po... ============================================================================== --- trunk/reactos/drivers/filters/mountmgr/point.c [iso-8859-1] (original) +++ trunk/reactos/drivers/filters/mountmgr/point.c [iso-8859-1] Sat May 5 10:31:47 2012 @@ -43,7 +43,7 @@ PMOUNTDEV_UNIQUE_ID UniqueId; PSYMLINK_INFORMATION SymlinkInformation; UNICODE_STRING SymLink, TargetDeviceName; - PDEVICE_INFORMATION DeviceInformation, DeviceInfo; + PDEVICE_INFORMATION DeviceInformation = NULL, DeviceInfo;
/* Get device name */ Status = QueryDeviceInformation(SymbolicLinkName, @@ -434,7 +434,7 @@ PIO_STACK_LOCATION Stack; UNICODE_STRING DeviceName; PMOUNTMGR_MOUNT_POINTS MountPoints; - PDEVICE_INFORMATION DeviceInformation; + PDEVICE_INFORMATION DeviceInformation = NULL; PLIST_ENTRY DeviceEntry, SymlinksEntry; PSYMLINK_INFORMATION SymlinkInformation;