diff options
| author | Cody Robibero <cody@robibe.ro> | 2021-08-28 16:32:50 -0600 |
|---|---|---|
| committer | Cody Robibero <cody@robibe.ro> | 2021-08-28 16:32:50 -0600 |
| commit | cba07b1ca6862ef8450021b0e60ce2f366ff0d33 (patch) | |
| tree | d8a754110b47758445caa89efa4b3a35527bda34 /Emby.Server.Implementations/Sorting/ArtistComparer.cs | |
| parent | e88367fe70f8d5f2a0cec35792739fe23000a818 (diff) | |
Remove more and more warnings
Diffstat (limited to 'Emby.Server.Implementations/Sorting/ArtistComparer.cs')
| -rw-r--r-- | Emby.Server.Implementations/Sorting/ArtistComparer.cs | 2 |
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; } |
