Do not crash when enumerating optical drives without a drive letter under Win32.

This commit is contained in:
2019-04-21 20:34:30 +01:00
parent 9044d1236f
commit 5dd1083ef0

View File

@@ -66,7 +66,6 @@ namespace DiscImageChef.Devices.Windows
[SuppressMessage("ReSharper", "RedundantCatchClause")]
internal static DeviceInfo[] GetList()
{
// TODO: Any way to fill this in .NET Standard ???
List<string> deviceIDs = new List<string>();
try