diff --git a/BurnOutSharp/EVORE.cs b/BurnOutSharp/EVORE.cs index 2d2a4723..44515653 100644 --- a/BurnOutSharp/EVORE.cs +++ b/BurnOutSharp/EVORE.cs @@ -38,7 +38,7 @@ namespace BurnOutSharp private static Process StartSafe(string file) { if (file == null) - return string.Empty; + return null; Process startingprocess = new Process(); startingprocess.StartInfo.FileName = file; diff --git a/BurnOutSharp/ProtectionType/ProtectDisc.cs b/BurnOutSharp/ProtectionType/ProtectDisc.cs index 9461e78c..e27528c1 100644 --- a/BurnOutSharp/ProtectionType/ProtectDisc.cs +++ b/BurnOutSharp/ProtectionType/ProtectDisc.cs @@ -92,6 +92,7 @@ namespace BurnOutSharp.ProtectionType private static string GetVersionBuild76till10(string file, int position, out int irefBuild) { + irefBuild = 0; if (file == null) return string.Empty;