From b993454472b37887a4732964db83414aac222080 Mon Sep 17 00:00:00 2001 From: Michal Srutek Date: Thu, 26 Aug 2021 09:50:55 +0200 Subject: [PATCH] Remove redundant parameter name Signed-off-by: Michal Srutek --- Example/main.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Example/main.swift b/Example/main.swift index 3f33635..5485907 100644 --- a/Example/main.swift +++ b/Example/main.swift @@ -10,7 +10,7 @@ private let kLEDDigits: [Int32] = [ ] private struct Curses { - static func clear(x x: Int32, y: Int32, width: Int32, height: Int32) { + static func clear(x: Int32, y: Int32, width: Int32, height: Int32) { for x in x ..< x + width { for y in y ..< y + height { Curses.mvprintw(y, x, " ") @@ -86,7 +86,7 @@ final class ASCIIClock { } } - private func drawClock(hour hour: Int, minute: Int, second: Int, title: String, x: Int32) { + private func drawClock(hour: Int, minute: Int, second: Int, title: String, x: Int32) { let y: Int32 = getmaxy(stdscr) / 2 - 1 Curses.clear(x: x, y: y - 1, width: Int32(kClockWidth), height: 5)