diff options
| author | Bond_009 <Bond.009@outlook.com> | 2020-02-04 01:49:27 +0100 |
|---|---|---|
| committer | Bond_009 <Bond.009@outlook.com> | 2020-02-04 01:49:27 +0100 |
| commit | f47ad85011a1251c3fda8a213c0b96dcf46d5e05 (patch) | |
| tree | 0cca4951e5b4778e00e84b377b09d648c8ba9d0b /MediaBrowser.Model/Dlna/CodecProfile.cs | |
| parent | 176e8509739ffd3d7002c94adbd814c33b5172e2 (diff) | |
Fix warnings MediaBrowser.Model
Diffstat (limited to 'MediaBrowser.Model/Dlna/CodecProfile.cs')
| -rw-r--r-- | MediaBrowser.Model/Dlna/CodecProfile.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/MediaBrowser.Model/Dlna/CodecProfile.cs b/MediaBrowser.Model/Dlna/CodecProfile.cs index 9ea248908..2fda1a600 100644 --- a/MediaBrowser.Model/Dlna/CodecProfile.cs +++ b/MediaBrowser.Model/Dlna/CodecProfile.cs @@ -1,3 +1,7 @@ +#pragma warning disable CS1591 +#pragma warning disable SA1600 + +using System; using System.Xml.Serialization; using MediaBrowser.Model.Extensions; @@ -20,8 +24,8 @@ namespace MediaBrowser.Model.Dlna public CodecProfile() { - Conditions = new ProfileCondition[] { }; - ApplyConditions = new ProfileCondition[] { }; + Conditions = Array.Empty<ProfileCondition>(); + ApplyConditions = Array.Empty<ProfileCondition>(); } public string[] GetCodecs() |
