Author: pschweitzer
Date: Thu Sep 3 21:19:05 2015
New Revision: 68967
URL:
http://svn.reactos.org/svn/reactos?rev=68967&view=rev
Log:
[MUP]
Fix an hypthetic uninit var usage in MupCreate().
Dedicated to Chris.
CID 1322239
Modified:
trunk/reactos/drivers/filesystems/mup/mup.c
Modified: trunk/reactos/drivers/filesystems/mup/mup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/mup/mu…
==============================================================================
--- trunk/reactos/drivers/filesystems/mup/mup.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/mup/mup.c [iso-8859-1] Thu Sep 3 21:19:05 2015
@@ -2214,12 +2214,9 @@
_SEH2_TRY
{
/* If DFS is enabled, check if that's for DFS and is so relay */
- if (MupEnableDfs)
- {
- if (DeviceObject->DeviceType == FILE_DEVICE_DFS ||
DeviceObject->DeviceType == FILE_DEVICE_DFS_FILE_SYSTEM)
- {
- Status = DfsFsdCreate(DeviceObject, Irp);
- }
+ if (MupEnableDfs && (DeviceObject->DeviceType == FILE_DEVICE_DFS ||
DeviceObject->DeviceType == FILE_DEVICE_DFS_FILE_SYSTEM))
+ {
+ Status = DfsFsdCreate(DeviceObject, Irp);
}
else
{