Remove unused fields and parameters.

This commit is contained in:
Matthias Mailänder
2021-10-21 17:39:48 +02:00
committed by abcdefg30
parent 3b5bfb4bf4
commit a3ccc81892
10 changed files with 20 additions and 25 deletions

View File

@@ -45,7 +45,7 @@ namespace OpenRA.Mods.Common.Lint
var fields = traitInfo.GetType().GetFields().Where(f => f.HasAttribute<LocomotorReferenceAttribute>());
foreach (var field in fields)
{
var locomotors = LintExts.GetFieldValues(traitInfo, field, emitError);
var locomotors = LintExts.GetFieldValues(traitInfo, field);
foreach (var locomotor in locomotors)
{
if (string.IsNullOrEmpty(locomotor))