Remove spuriously added discard (_=) for void call

Intellisense for the non-win
This commit is contained in:
Oren Nachman 2022-08-08 17:48:17 -07:00
parent 3648126854
commit b38ffef23c
2 changed files with 3 additions and 3 deletions

View file

@ -114,5 +114,5 @@ namespace Flow.Launcher.Infrastructure.Storage
}
}
}
#pragma warning enable SYSLIB0011
#pragma warning restore SYSLIB0011
}

View file

@ -157,8 +157,8 @@ namespace Flow.Launcher.Plugin.Program.Programs
#if !DEBUG
catch (Exception e)
{
_ = ProgramLogger.LogException($"|UWP|All|{p.InstalledLocation}|An unexpected error occured and " + $"unable to convert Package to UWP for {p.Id.FullName}", e);
return new Application[] { };
ProgramLogger.LogException($"|UWP|All|{p.InstalledLocation}|An unexpected error occured and " + $"unable to convert Package to UWP for {p.Id.FullName}", e);
return Array.Empty<Application>();
}
#endif
#if DEBUG //make developer aware and implement handling