aboutsummaryrefslogtreecommitdiff
path: root/Emby.Dlna/Profiles/DefaultProfile.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2021-12-15 18:25:36 +0100
committerCody Robibero (Rebase PR Action) <cody@robibe.ro>2021-12-27 14:20:05 +0000
commitea8f40e84a72ab1eb0bdbe4974cb78f7d1b0f552 (patch)
treeae88958599f260ea1d7e586c6a47931a5fe62f6b /Emby.Dlna/Profiles/DefaultProfile.cs
parent4441513ca4a64fdf61541e56cbb1091e7aa0395b (diff)
More cleanup
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
{