From dcbeb5528fab8eed5e818ac1360c142fa647490f Mon Sep 17 00:00:00 2001 From: kitsunyan Date: Sun, 26 Apr 2020 08:15:11 +0300 Subject: Fix pragma mismatches --- src/feature/syncsource.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/feature') diff --git a/src/feature/syncsource.nim b/src/feature/syncsource.nim index c050e6a..09e9c6d 100644 --- a/src/feature/syncsource.nim +++ b/src/feature/syncsource.nim @@ -130,7 +130,8 @@ proc cloneAndCopy(config: Config, quiet: bool, fullTargets: seq[FullPackageTarge newSeq[BaseTarget]()) let (update, terminate) = if quiet: - (proc (a: int, b: int) {.closure.} = discard, proc () {.closure.} = discard) + (proc (a: int, b: int) {.closure, sideEffect.} = discard, + proc () {.closure, sideEffect.} = discard) else: printProgressShare(config.common.progressBar, tr"cloning repositories") -- cgit v1.2.3-70-g09d2