diff options
author | Jacek Sieka <arnetheduck@gmail.com> | 2018-04-23 17:02:38 +0800 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-04-23 11:02:38 +0200 |
commit | 72dfe176f5211f561263984a2df653f16dcf5466 (patch) | |
tree | fdfe465ee360ce63925753737a70973e3309dc7a /lib/impure | |
parent | a8b70c550083e432f0028e6582c97d8310a48c8a (diff) | |
download | Nim-72dfe176f5211f561263984a2df653f16dcf5466.tar.gz |
remove dead code elimination option (#7669)
Diffstat (limited to 'lib/impure')
-rw-r--r-- | lib/impure/db_sqlite.nim | 2 | ||||
-rw-r--r-- | lib/impure/rdstdin.nim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/impure/db_sqlite.nim b/lib/impure/db_sqlite.nim index 21049571f..f88037e2f 100644 --- a/lib/impure/db_sqlite.nim +++ b/lib/impure/db_sqlite.nim @@ -81,7 +81,7 @@ ## ## theDb.close() -{.deadCodeElim:on.} +{.deadCodeElim: on.} # dce option deprecated import strutils, sqlite3 diff --git a/lib/impure/rdstdin.nim b/lib/impure/rdstdin.nim index 5aa4cfcc3..54bab82f0 100644 --- a/lib/impure/rdstdin.nim +++ b/lib/impure/rdstdin.nim @@ -13,7 +13,7 @@ ## is used. This suffices because Windows' console already provides the ## wanted functionality. -{.deadCodeElim: on.} +{.deadCodeElim: on.} # dce option deprecated when defined(Windows): proc readLineFromStdin*(prompt: string): TaintedString {. |