Fix an hypthetic uninit var usage in MupCreate().
Dedicated to Chris.
CID
1322239
svn path=/trunk/; revision=68967
_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
{