Changed tests and tools to use 'discard' statements instead of 'nil' for empty blocks.
This commit is contained in:
parent
f701ee086a
commit
ce5a494927
26 changed files with 74 additions and 74 deletions
|
|
@ -12,7 +12,7 @@ var
|
|||
thr: array [0..5, TThread[tuple[a, b: int]]]
|
||||
L, M, N: TLock
|
||||
|
||||
proc doNothing() = nil
|
||||
proc doNothing() = discard
|
||||
|
||||
proc threadFunc(interval: tuple[a, b: int]) {.thread.} =
|
||||
doNothing()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue