mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[DEVMGR] Remove ATLASSERTs from ListDevicesByType and RecurseChildDevices
Suggested by Mark Jansen. Thanks!
This commit is contained in:
parent
eb1fd0c090
commit
de5f67726b
1 changed files with 0 additions and 4 deletions
|
@ -458,7 +458,6 @@ CDeviceView::ListDevicesByType()
|
|||
ClassNode = GetClassNode(&ClassGuid);
|
||||
if (ClassNode == nullptr)
|
||||
{
|
||||
ATLASSERT(FALSE);
|
||||
ClassIndex++;
|
||||
continue;
|
||||
}
|
||||
|
@ -511,7 +510,6 @@ CDeviceView::ListDevicesByType()
|
|||
DeviceNode = GetDeviceNode(DeviceInfoData.DevInst);
|
||||
if (DeviceNode == nullptr)
|
||||
{
|
||||
ATLASSERT(bClassUnknown == true);
|
||||
DeviceIndex++;
|
||||
continue;
|
||||
}
|
||||
|
@ -616,7 +614,6 @@ CDeviceView::RecurseChildDevices(
|
|||
DeviceNode = dynamic_cast<CDeviceNode *>(GetDeviceNode(Device));
|
||||
if (DeviceNode == nullptr)
|
||||
{
|
||||
ATLASSERT(FALSE);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -651,7 +648,6 @@ CDeviceView::RecurseChildDevices(
|
|||
DeviceNode = dynamic_cast<CDeviceNode *>(GetDeviceNode(Device));
|
||||
if (DeviceNode == nullptr)
|
||||
{
|
||||
ATLASSERT(FALSE);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue