aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Sorting/AlbumArtistComparer.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2019-03-13 22:32:52 +0100
committerBond-009 <bond.009@outlook.com>2019-03-13 22:32:52 +0100
commitbf43dc00bb193fb4c7aca882aadbe086ed5a1815 (patch)
tree2bfe68ebfa7c1a6377d32de1e7e46a4e061c630a /Emby.Server.Implementations/Sorting/AlbumArtistComparer.cs
parent1d443d2ff5ef9edaf7040633ec737d043afeafa6 (diff)
More warning fixes
Diffstat (limited to 'Emby.Server.Implementations/Sorting/AlbumArtistComparer.cs')
-rw-r--r--Emby.Server.Implementations/Sorting/AlbumArtistComparer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Sorting/AlbumArtistComparer.cs b/Emby.Server.Implementations/Sorting/AlbumArtistComparer.cs
index 535f123f9..0804b01fc 100644
--- a/Emby.Server.Implementations/Sorting/AlbumArtistComparer.cs
+++ b/Emby.Server.Implementations/Sorting/AlbumArtistComparer.cs
@@ -32,7 +32,7 @@ namespace Emby.Server.Implementations.Sorting
{
var audio = x as IHasAlbumArtist;
- return audio != null ? audio.AlbumArtists.FirstOrDefault() : null;
+ return audio?.AlbumArtists.FirstOrDefault();
}
/// <summary>