Fixed unnecessary zero-length array allocations
Changed all currently present zero-length array allocations in the codebase to use `Array.Empty` instead.
This commit is contained in:
@@ -68,7 +68,7 @@ namespace OpenRA
|
||||
|
||||
if (args.Length == 0)
|
||||
{
|
||||
PrintUsage(new InstalledMods(modSearchPaths, new string[0]), null);
|
||||
PrintUsage(new InstalledMods(modSearchPaths, Array.Empty<string>()), null);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user