summary refs log tree commit diff stats
path: root/tests/concurrency/tnodeadlocks.nim
diff options
context:
space:
mode:
authorClay Sweetser <clay.sweetser@gmail.com>2014-02-15 18:57:03 -0500
committerClay Sweetser <clay.sweetser@gmail.com>2014-02-15 18:57:03 -0500
commitce5a494927abf66cc39cf849b9c66e2dadbe579e (patch)
treea09a0e48025c79fee103b16f19140f533b7c6847 /tests/concurrency/tnodeadlocks.nim
parentf701ee086aacf3ad9d4f58c20d5924fc0c5b3bb2 (diff)
downloadNim-ce5a494927abf66cc39cf849b9c66e2dadbe579e.tar.gz
Changed tests and tools to use 'discard' statements instead of 'nil' for empty blocks.
Diffstat (limited to 'tests/concurrency/tnodeadlocks.nim')
-rw-r--r--tests/concurrency/tnodeadlocks.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/concurrency/tnodeadlocks.nim b/tests/concurrency/tnodeadlocks.nim
index 18fdca3e9..3f27e24f6 100644
--- a/tests/concurrency/tnodeadlocks.nim
+++ b/tests/concurrency/tnodeadlocks.nim
@@ -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()