Fix RCS1074
This commit is contained in:
@@ -992,6 +992,9 @@ dotnet_diagnostic.RCS1071.severity = warning
|
|||||||
# Remove empty namespace declaration.
|
# Remove empty namespace declaration.
|
||||||
dotnet_diagnostic.RCS1072.severity = warning
|
dotnet_diagnostic.RCS1072.severity = warning
|
||||||
|
|
||||||
|
# Remove redundant constructor.
|
||||||
|
dotnet_diagnostic.RCS1074.severity = warning
|
||||||
|
|
||||||
# Remove empty region.
|
# Remove empty region.
|
||||||
dotnet_diagnostic.RCS1091.severity = warning
|
dotnet_diagnostic.RCS1091.severity = warning
|
||||||
|
|
||||||
|
|||||||
@@ -26,8 +26,5 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
public override object Create(ActorInitializer init) { return new AcceptsDeliveredExperience(); }
|
public override object Create(ActorInitializer init) { return new AcceptsDeliveredExperience(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class AcceptsDeliveredExperience
|
public class AcceptsDeliveredExperience { }
|
||||||
{
|
|
||||||
public AcceptsDeliveredExperience() { }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,8 +27,6 @@ namespace OpenRA.Platforms.Default
|
|||||||
return defaultDevices;
|
return defaultDevices;
|
||||||
}
|
}
|
||||||
|
|
||||||
public DummySoundEngine() { }
|
|
||||||
|
|
||||||
public ISoundSource AddSoundSourceFromMemory(byte[] data, int channels, int sampleBits, int sampleRate)
|
public ISoundSource AddSoundSourceFromMemory(byte[] data, int channels, int sampleBits, int sampleRate)
|
||||||
{
|
{
|
||||||
return new NullSoundSource();
|
return new NullSoundSource();
|
||||||
|
|||||||
Reference in New Issue
Block a user