Skip to content

Commit

Permalink
Merge pull request #4841 from eren-celik/fix/warning
Browse files Browse the repository at this point in the history
fixed no used warning
  • Loading branch information
pmairoldi committed Mar 21, 2023
2 parents b43d7a6 + f48597f commit e392e19
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ open class ChartDataSet: ChartBaseDataSet
/// - Parameters:
/// - e: the entry to add
/// - Returns: True
// TODO: This should return `Void` to follow Swift convention
@discardableResult
open override func addEntryOrdered(_ e: ChartDataEntry) -> Bool
{
if let last = last, last.x > e.x
Expand Down

0 comments on commit e392e19

Please sign in to comment.