summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/system.nim')
-rwxr-xr-xlib/system.nim8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 11188a4c0..f8083eef8 100755
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -835,16 +835,10 @@ proc quit*(errorcode: int = QuitSuccess) {.
   ## It does *not* call the garbage collector to free all the memory,
   ## unless a quit procedure calls ``GC_collect``.
 
-proc WriteStackTrace()
-
-var checkDisabled: bool
-
 template sysAssert(cond, msg: expr) =
   when defined(useSysAssert):
-    if not checkDisabled and not cond:
-      checkDisabled = true
+    if not cond:
       echo "[SYSASSERT] ", msg
-      WriteStackTrace()
       quit 1
   nil