Remove unused returns

This commit is contained in:
Dean Herbert 2019-11-06 16:36:12 +09:00
parent 7ebd5daf7d
commit 7b5b3ff15c
1 changed files with 3 additions and 5 deletions

View File

@ -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)