1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 14:03:21 +08:00

Remove redundant initialisation

This commit is contained in:
Dean Herbert 2020-10-30 12:28:40 +09:00
parent fed4accfea
commit b906736b85

View File

@ -417,7 +417,7 @@ namespace osu.Game.Skinning
public override SampleChannel GetSample(ISampleInfo sampleInfo)
{
IEnumerable<string> lookupNames = null;
IEnumerable<string> lookupNames;
if (sampleInfo is HitSampleInfo hitSample)
lookupNames = getLegacyLookupNames(hitSample);