From 2e80ecfda845945c526f91fc7b282175815fb9db Mon Sep 17 00:00:00 2001 From: smoogipooo Date: Mon, 3 Apr 2017 20:33:10 +0900 Subject: [PATCH] Don't need explicit null value. --- osu.Game/Beatmaps/Formats/OsuLegacyDecoder.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osu.Game/Beatmaps/Formats/OsuLegacyDecoder.cs b/osu.Game/Beatmaps/Formats/OsuLegacyDecoder.cs index 6d03205ca2..748583606b 100644 --- a/osu.Game/Beatmaps/Formats/OsuLegacyDecoder.cs +++ b/osu.Game/Beatmaps/Formats/OsuLegacyDecoder.cs @@ -273,10 +273,10 @@ namespace osu.Game.Beatmaps.Formats HitObjectParser parser = null; + Section section = Section.None; bool hasCustomColours = false; - Section section = Section.None; - string line = null; + string line; while ((line = stream.ReadLine()) != null) { if (string.IsNullOrEmpty(line))