REFACTOR: Remove unneeded code.

This commit is contained in:
2017-12-21 14:30:38 +00:00
parent 35ce7db892
commit dcd053b20d
343 changed files with 2842 additions and 2588 deletions

View File

@@ -238,7 +238,7 @@ namespace DiscImageChef.Interop
case PlatformID.MacOSX:
if(string.IsNullOrEmpty(version)) return "macOS";
string[] pieces = version.Split(new[] {'.'});
string[] pieces = version.Split('.');
if(pieces.Length < 2 || !int.TryParse(pieces[1], out int minor)) return "macOS";
if(minor >= 12) return "macOS";