diff options
author | kitsunyan | 2018-03-13 01:57:33 +0000 |
---|---|---|
committer | kitsunyan | 2018-03-13 01:57:33 +0000 |
commit | ab50c748eedce31ecbadf036c9c16facf0160845 (patch) | |
tree | 6e37baeb93ff4d5d1d7a3968fcd7582794370ed3 | |
parent | 9a2357c70b7a704877515c0a4418a85a5ccecfcd (diff) |
Remove unnecessary discards
-rw-r--r-- | src/format.nim | 2 |
1 files changed, 0 insertions, 2 deletions
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) |