diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2015-05-25 03:57:53 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2015-05-25 03:57:53 +0200 |
commit | 70be49966aa1af6f9f83ecd9bfdf1778a30d4b5d (patch) | |
tree | 7b1963cb6e327e9cc4c84e0be4695d67755dcd85 | |
parent | 177129195f1380762acf780324f924e89d5de7ed (diff) | |
parent | 1dd2379e4c662a090086456fdbe0569332967db0 (diff) | |
download | Nim-70be49966aa1af6f9f83ecd9bfdf1778a30d4b5d.tar.gz |
Merge pull request #2786 from HOLYCOWBATMAN/pr-uninit-warnings
system.nim -> disabled Uninit warnings
-rw-r--r-- | lib/system.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system.nim b/lib/system.nim index 1e6f76f3d..c02ae4bb3 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -61,7 +61,7 @@ const on* = true ## alias for ``true`` off* = false ## alias for ``false`` -{.push warning[GcMem]: off.} +{.push warning[GcMem]: off, warning[Uninit]: off.} {.push hints: off.} type @@ -3273,4 +3273,4 @@ proc xlen*[T](x: seq[T]): int {.magic: "XLenSeq", noSideEffect.} = ## This is an optimization that rarely makes sense. discard -{.pop.} #{.push warning[GcMem]: off.} +{.pop.} #{.push warning[GcMem]: off, warning[Uninit]: off.} |