From ab50c748eedce31ecbadf036c9c16facf0160845 Mon Sep 17 00:00:00 2001 From: kitsunyan Date: Tue, 13 Mar 2018 04:57:33 +0300 Subject: Remove unnecessary discards --- src/format.nim | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/format.nim b/src/format.nim index 49dc5ba..c578a3d 100644 --- a/src/format.nim +++ b/src/format.nim @@ -283,11 +283,9 @@ proc printProgressFull*(bar: bool, title: string): ((string, float) -> void, () ' '.repeat(infoLen - prefix.runeLen - title.runeLen - 1 - timeLeft.len), ' ', timeLeft, indicator, paddedProgressStr, "\x1b[0K\r") stdout.flushFile() - discard proc terminate() {.closure.} = echo() - discard update(" ", 0) -- cgit v1.2.3-70-g09d2