Fix build

This commit is contained in:
Matt Nadareski
2019-09-30 11:29:38 -07:00
parent 4b1cae2ba2
commit 392f9dae0c
2 changed files with 2 additions and 1 deletions

View File

@@ -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;

View File

@@ -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;