Fixed: Avoid zero-length array memory allocations

This commit is contained in:
Qstick
2020-10-02 14:29:25 -04:00
parent 295b975046
commit 4ec71538b9
34 changed files with 64 additions and 55 deletions

View File

@@ -1,4 +1,5 @@
using NzbDrone.Common.Extensions;
using System;
using NzbDrone.Common.Extensions;
namespace NzbDrone.Common.Http.Proxy
{
@@ -41,7 +42,7 @@ namespace NzbDrone.Common.Http.Proxy
return hostlist;
}
return new string[] { };
return Array.Empty<string>();
}
}