From 35f0f5f497e91c98c296340b26591b34b6fe48e2 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Fri, 27 Jan 2012 23:11:19 +0000 Subject: [PATCH] [MOUNTMGR] * Silence some gcc warnings. svn path=/branches/usb-bringup-trunk/; revision=55269 --- drivers/filters/mountmgr/mountmgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/filters/mountmgr/mountmgr.c b/drivers/filters/mountmgr/mountmgr.c index dffc91fed5f..ac40c149199 100644 --- a/drivers/filters/mountmgr/mountmgr.c +++ b/drivers/filters/mountmgr/mountmgr.c @@ -658,7 +658,7 @@ FindDeviceInfo(IN PDEVICE_EXTENSION DeviceExtension, 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 @@ MountMgrMountedDeviceRemoval(IN PDEVICE_EXTENSION DeviceExtension, 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 */ -- 2.17.1