1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-21 08:52:55 +08:00

Don't need explicit null value.

This commit is contained in:
smoogipooo 2017-04-03 20:33:10 +09:00
parent 5cb16f6e7c
commit 2e80ecfda8

View File

@ -273,10 +273,10 @@ namespace osu.Game.Beatmaps.Formats
HitObjectParser parser = null; HitObjectParser parser = null;
Section section = Section.None;
bool hasCustomColours = false; bool hasCustomColours = false;
Section section = Section.None; string line;
string line = null;
while ((line = stream.ReadLine()) != null) while ((line = stream.ReadLine()) != null)
{ {
if (string.IsNullOrEmpty(line)) if (string.IsNullOrEmpty(line))