aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Sorting/ArtistComparer.cs
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2021-08-28 16:32:50 -0600
committerCody Robibero <cody@robibe.ro>2021-08-28 16:32:50 -0600
commitcba07b1ca6862ef8450021b0e60ce2f366ff0d33 (patch)
treed8a754110b47758445caa89efa4b3a35527bda34 /Emby.Server.Implementations/Sorting/ArtistComparer.cs
parente88367fe70f8d5f2a0cec35792739fe23000a818 (diff)
Remove more and more warnings
Diffstat (limited to 'Emby.Server.Implementations/Sorting/ArtistComparer.cs')
-rw-r--r--Emby.Server.Implementations/Sorting/ArtistComparer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Sorting/ArtistComparer.cs b/Emby.Server.Implementations/Sorting/ArtistComparer.cs
index 98bee3fd9..7b7ba5753 100644
--- a/Emby.Server.Implementations/Sorting/ArtistComparer.cs
+++ b/Emby.Server.Implementations/Sorting/ArtistComparer.cs
@@ -27,7 +27,7 @@ namespace Emby.Server.Implementations.Sorting
/// <returns>System.String.</returns>
private static string? GetValue(BaseItem? x)
{
- if (!(x is Audio audio))
+ if (x is not Audio audio)
{
return string.Empty;
}