Skip to content

Commit

Permalink
rm unused value 'labelSize'
Browse files Browse the repository at this point in the history
This resolves the warning: "initialization of immutable value 'labelSize' was never used; consider replacing with assignment to '_' or removing it"
  • Loading branch information
dduugg committed Nov 15, 2020
1 parent f5cee87 commit 8717ab4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions SwiftCharts/Drawers/ChartLabelDrawer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ open class ChartLabelDrawer: ChartContextDrawer {
}

override open func draw(context: CGContext, chart: Chart) {
let labelSize = size

let labelX = screenLoc.x
let labelY = screenLoc.y

Expand Down

0 comments on commit 8717ab4

Please sign in to comment.