aboutsummaryrefslogtreecommitdiff
path: root/Emby.Dlna/ContentDirectory/ContentDirectoryService.cs
diff options
context:
space:
mode:
authorRich Lander <rlander@microsoft.com>2021-07-30 10:44:43 -0700
committerGitHub <noreply@github.com>2021-07-30 10:44:43 -0700
commit47da13613b143794e1f1422e05dac63a40f5f66a (patch)
tree59ec139682ed5a61f7c24ccf9e6df434cffad04a /Emby.Dlna/ContentDirectory/ContentDirectoryService.cs
parent927b003143f7e4772e21b767f2524f969ddf1ad8 (diff)
parent0ee74b293d1f6fa1be63b8b4e5e2498a7f18298f (diff)
Merge branch 'master' into media-provides-analysis-fixes
Diffstat (limited to 'Emby.Dlna/ContentDirectory/ContentDirectoryService.cs')
-rw-r--r--Emby.Dlna/ContentDirectory/ContentDirectoryService.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/Emby.Dlna/ContentDirectory/ContentDirectoryService.cs b/Emby.Dlna/ContentDirectory/ContentDirectoryService.cs
index 7b8c50440..9020dea99 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))
{