Skip to content

Commit

Permalink
Add missing yield break.
Browse files Browse the repository at this point in the history
  • Loading branch information
andy840119 committed Dec 9, 2023
1 parent 20ad1a6 commit aeadff6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions LrcParser/Extension/EnumerableExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ public static IEnumerable<IGrouping<TKey, TSource>> GroupByContinuous<TSource, T
list.Clear();
}

yield break;

static bool equal(TKey? key1, TKey? key2)
{
if (key1 == null)
Expand Down
2 changes: 2 additions & 0 deletions LrcParser/Parser/Lrc/LrcParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ protected override IEnumerable<object> PreProcess(Song song)
}
}

yield break;

static IEnumerable<LrcRuby> getRubyTags(Lyric lyric)
{
var timeTags = lyric.TimeTags;
Expand Down

0 comments on commit aeadff6

Please sign in to comment.