summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2021-03-05 09:58:55 +0100
committerGitHub <noreply@github.com>2021-03-05 09:58:55 +0100
commit8f1fa3e5b014c4301477f2f1872afde0640906b3 (patch)
tree4d320551a698d16849fbbd8149db3c4f34819c09 /lib
parentf8cfe330b3c23bd538ec50a674b2b578bd431d21 (diff)
downloadNim-8f1fa3e5b014c4301477f2f1872afde0640906b3.tar.gz
IC: further progress (#17150)
* IC: respect the -f switch

* IC: better rod file inspection

* progress
Diffstat (limited to 'lib')
-rw-r--r--lib/system/excpt.nim3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/system/excpt.nim b/lib/system/excpt.nim
index c3f8255b1..8f7e2cbc7 100644
--- a/lib/system/excpt.nim
+++ b/lib/system/excpt.nim
@@ -378,7 +378,6 @@ proc reportUnhandledErrorAux(e: ref Exception) {.nodestroy.} =
     # ugly, but avoids heap allocations :-)
     template xadd(buf, s, slen) =
       if L + slen < high(buf):
-
         copyMem(addr(buf[L]), (when s is cstring: s else: cstring(s)), slen)
         inc L, slen
     template add(buf, s) =
@@ -404,8 +403,6 @@ proc reportUnhandledError(e: ref Exception) {.nodestroy.} =
     unhandledExceptionHook(e)
   when hostOS != "any":
     reportUnhandledErrorAux(e)
-  else:
-    discard ()
 
 proc nimLeaveFinally() {.compilerRtl.} =
   when defined(cpp) and not defined(noCppExceptions) and not gotoBasedExceptions: