From 392f9dae0ca12f221c048716cadecd6484d31dd5 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Mon, 30 Sep 2019 11:29:38 -0700 Subject: [PATCH] Fix build --- BurnOutSharp/EVORE.cs | 2 +- BurnOutSharp/ProtectionType/ProtectDisc.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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;