summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2019-01-29 13:04:21 +0100
committerAndreas Rumpf <rumpf_a@web.de>2019-01-30 10:01:59 +0100
commitfa7b75782361fb31e74117a7e84ebe8fcda922c0 (patch)
treec8416f8d720fc9696d14bf995540e4c64903f349 /lib
parent49710b9d14291389529cdc627c21a25a99ff238d (diff)
downloadNim-fa7b75782361fb31e74117a7e84ebe8fcda922c0.tar.gz
Remove unused variable
Diffstat (limited to 'lib')
-rw-r--r--lib/system.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim
index a7cf251f6..b9be52308 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -4407,7 +4407,7 @@ template doAssertRaises*(exception: typedesc, code: untyped): typed =
       wrong = true
     except exception:
       discard
-    except Exception as exc:
+    except Exception:
       raiseAssert(astToStr(exception) &
                   " wasn't raised, another error was raised instead by:\n"&
                   astToStr(code))