Fix RCS1071
This commit is contained in:
@@ -986,6 +986,9 @@ dotnet_diagnostic.RCS1066.severity = warning
|
|||||||
# Simplify logical negation.
|
# Simplify logical negation.
|
||||||
dotnet_diagnostic.RCS1068.severity = warning
|
dotnet_diagnostic.RCS1068.severity = warning
|
||||||
|
|
||||||
|
# Remove redundant base constructor call.
|
||||||
|
dotnet_diagnostic.RCS1071.severity = warning
|
||||||
|
|
||||||
# Remove empty namespace declaration.
|
# Remove empty namespace declaration.
|
||||||
dotnet_diagnostic.RCS1072.severity = warning
|
dotnet_diagnostic.RCS1072.severity = warning
|
||||||
|
|
||||||
|
|||||||
@@ -175,8 +175,7 @@ namespace OpenRA
|
|||||||
protected CompositeActorInit(TraitInfo info)
|
protected CompositeActorInit(TraitInfo info)
|
||||||
: base(info.InstanceName) { }
|
: base(info.InstanceName) { }
|
||||||
|
|
||||||
protected CompositeActorInit()
|
protected CompositeActorInit() { }
|
||||||
: base() { }
|
|
||||||
|
|
||||||
public virtual void Initialize(MiniYaml yaml)
|
public virtual void Initialize(MiniYaml yaml)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -19,8 +19,7 @@ namespace OpenRA.Mods.Common.Widgets
|
|||||||
public double ExpA = 1.0e-3;
|
public double ExpA = 1.0e-3;
|
||||||
public double ExpB = 6.908;
|
public double ExpB = 6.908;
|
||||||
|
|
||||||
public ExponentialSliderWidget()
|
public ExponentialSliderWidget() { }
|
||||||
: base() { }
|
|
||||||
|
|
||||||
public ExponentialSliderWidget(ExponentialSliderWidget other)
|
public ExponentialSliderWidget(ExponentialSliderWidget other)
|
||||||
: base(other) { }
|
: base(other) { }
|
||||||
|
|||||||
Reference in New Issue
Block a user