Skip to content

Commit b38ffef

Browse files
committed
Remove spuriously added discard (_=) for void call
Intellisense for the non-win
1 parent 3648126 commit b38ffef

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Flow.Launcher.Infrastructure/Storage/BinaryStorage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,5 +114,5 @@ public void Save(T data)
114114
}
115115
}
116116
}
117-
#pragma warning enable SYSLIB0011
117+
#pragma warning restore SYSLIB0011
118118
}

Plugins/Flow.Launcher.Plugin.Program/Programs/UWP.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ public static Application[] All()
157157
#if !DEBUG
158158
catch (Exception e)
159159
{
160-
_ = ProgramLogger.LogException($"|UWP|All|{p.InstalledLocation}|An unexpected error occured and " + $"unable to convert Package to UWP for {p.Id.FullName}", e);
161-
return new Application[] { };
160+
ProgramLogger.LogException($"|UWP|All|{p.InstalledLocation}|An unexpected error occured and " + $"unable to convert Package to UWP for {p.Id.FullName}", e);
161+
return Array.Empty<Application>();
162162
}
163163
#endif
164164
#if DEBUG //make developer aware and implement handling

0 commit comments

Comments
 (0)