aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Sorting/ArtistComparer.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-09-03 16:17:02 +0200
committerGitHub <noreply@github.com>2021-09-03 16:17:02 +0200
commit79e51b7fa20dbcb013ddd335fa829f83802dae71 (patch)
tree046d44c729b1f6b3a2370c78403517daa0a174d6 /Emby.Server.Implementations/Sorting/ArtistComparer.cs
parent2f360151c266ff0885589338fdcdebd2a0c57fae (diff)
parentbfb37a9ed9989f63ee8b00f41f4efef7a92fc157 (diff)
Merge pull request #6475 from crobibero/warn-259810
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;
}