mirror of
https://github.com/reactos/reactos.git
synced 2025-05-16 15:50:24 +00:00
[MUP]
Fix an hypthetic uninit var usage in MupCreate(). Dedicated to Chris. CID 1322239 svn path=/trunk/; revision=68967
This commit is contained in:
parent
a8934e6e69
commit
ae490fe18e
1 changed files with 2 additions and 5 deletions
|
@ -2214,12 +2214,9 @@ MupCreate(PDEVICE_OBJECT DeviceObject,
|
|||
_SEH2_TRY
|
||||
{
|
||||
/* If DFS is enabled, check if that's for DFS and is so relay */
|
||||
if (MupEnableDfs)
|
||||
if (MupEnableDfs && (DeviceObject->DeviceType == FILE_DEVICE_DFS || DeviceObject->DeviceType == FILE_DEVICE_DFS_FILE_SYSTEM))
|
||||
{
|
||||
if (DeviceObject->DeviceType == FILE_DEVICE_DFS || DeviceObject->DeviceType == FILE_DEVICE_DFS_FILE_SYSTEM)
|
||||
{
|
||||
Status = DfsFsdCreate(DeviceObject, Irp);
|
||||
}
|
||||
Status = DfsFsdCreate(DeviceObject, Irp);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue