mirror of https://github.com/ppy/osu
Remove unused returns
This commit is contained in:
parent
7ebd5daf7d
commit
7b5b3ff15c
|
@ -43,7 +43,7 @@ public void AddFollowPoints(DrawableOsuHitObject hitObject)
|
|||
/// </summary>
|
||||
/// <param name="connection">The <see cref="FollowPointConnection"/> to add.</param>
|
||||
/// <returns>The index of <paramref name="connection"/> in <see cref="connections"/>.</returns>
|
||||
private int addConnection(FollowPointConnection connection)
|
||||
private void addConnection(FollowPointConnection connection)
|
||||
{
|
||||
AddInternal(connection);
|
||||
|
||||
|
@ -74,8 +74,6 @@ private int addConnection(FollowPointConnection connection)
|
|||
FollowPointConnection previousConnection = connections[index - 1];
|
||||
previousConnection.End = connection.Start;
|
||||
}
|
||||
|
||||
return index;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -83,7 +81,7 @@ private int addConnection(FollowPointConnection connection)
|
|||
/// </summary>
|
||||
/// <param name="connection">The <see cref="FollowPointConnection"/> to remove.</param>
|
||||
/// <returns>Whether <paramref name="connection"/> was removed.</returns>
|
||||
private bool removeGroup(FollowPointConnection connection)
|
||||
private void removeGroup(FollowPointConnection connection)
|
||||
{
|
||||
RemoveInternal(connection);
|
||||
|
||||
|
@ -99,7 +97,7 @@ private bool removeGroup(FollowPointConnection connection)
|
|||
previousConnection.End = connection.End;
|
||||
}
|
||||
|
||||
return connections.Remove(connection);
|
||||
connections.Remove(connection);
|
||||
}
|
||||
|
||||
private void onStartTimeChanged(FollowPointConnection connection)
|
||||
|
|
Loading…
Reference in New Issue