Skip to content

Commit bd87a2d

Browse files
committed
Remove redundant parameter name
1 parent 3b2783e commit bd87a2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Example/main.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ private let kLEDDigits: [Int32] = [
1010
]
1111

1212
private struct Curses {
13-
static func clear(x x: Int32, y: Int32, width: Int32, height: Int32) {
13+
static func clear(x: Int32, y: Int32, width: Int32, height: Int32) {
1414
for x in x ..< x + width {
1515
for y in y ..< y + height {
1616
Curses.mvprintw(y, x, " ")
@@ -86,7 +86,7 @@ final class ASCIIClock {
8686
}
8787
}
8888

89-
private func drawClock(hour hour: Int, minute: Int, second: Int, title: String, x: Int32) {
89+
private func drawClock(hour: Int, minute: Int, second: Int, title: String, x: Int32) {
9090
let y: Int32 = getmaxy(stdscr) / 2 - 1
9191

9292
Curses.clear(x: x, y: y - 1, width: Int32(kClockWidth), height: 5)

0 commit comments

Comments
 (0)