diff options
| author | Bond_009 <bond.009@outlook.com> | 2021-07-26 23:02:32 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2021-07-26 23:02:32 +0200 |
| commit | 501de7b6dcbeeb124cc0a2a84f21be4ec19be8ec (patch) | |
| tree | 2eeb7e7a92c20639fdbbb7484bf08a339866a6ec /Emby.Dlna/ContentDirectory | |
| parent | b024059f7120a901974c0ec673371b819b23bdfd (diff) | |
Enable nullable in more files
Diffstat (limited to 'Emby.Dlna/ContentDirectory')
| -rw-r--r-- | Emby.Dlna/ContentDirectory/ContentDirectoryService.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Emby.Dlna/ContentDirectory/ContentDirectoryService.cs b/Emby.Dlna/ContentDirectory/ContentDirectoryService.cs index 7b8c504409..9020dea994 100644 --- a/Emby.Dlna/ContentDirectory/ContentDirectoryService.cs +++ b/Emby.Dlna/ContentDirectory/ContentDirectoryService.cs @@ -1,5 +1,3 @@ -#nullable disable - #pragma warning disable CS1591 using System; @@ -140,7 +138,7 @@ namespace Emby.Dlna.ContentDirectory /// </summary> /// <param name="profile">The <see cref="DeviceProfile"/>.</param> /// <returns>The <see cref="User"/>.</returns> - private User GetUser(DeviceProfile profile) + private User? GetUser(DeviceProfile profile) { if (!string.IsNullOrEmpty(profile.UserId)) { |
