aboutsummaryrefslogtreecommitdiff
path: root/Emby.Dlna/Profiles/DefaultProfile.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Dlna/Profiles/DefaultProfile.cs')
-rw-r--r--Emby.Dlna/Profiles/DefaultProfile.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Emby.Dlna/Profiles/DefaultProfile.cs b/Emby.Dlna/Profiles/DefaultProfile.cs
index 8eaf12ba9..8f4f2bd38 100644
--- a/Emby.Dlna/Profiles/DefaultProfile.cs
+++ b/Emby.Dlna/Profiles/DefaultProfile.cs
@@ -167,8 +167,7 @@ namespace Emby.Dlna.Profiles
public void AddXmlRootAttribute(string name, string value)
{
- var atts = XmlRootAttributes ?? System.Array.Empty<XmlAttribute>();
- var list = atts.ToList();
+ var list = XmlRootAttributes.ToList();
list.Add(new XmlAttribute
{