diff options
author | HOLYCOWBATMAN <holycowbatman@hugedick.ca> | 2015-05-24 15:29:35 -0400 |
---|---|---|
committer | HOLYCOWBATMAN <holycowbatman@hugedick.ca> | 2015-05-24 15:35:24 -0400 |
commit | 1dd2379e4c662a090086456fdbe0569332967db0 (patch) | |
tree | 7b1963cb6e327e9cc4c84e0be4695d67755dcd85 /lib | |
parent | 177129195f1380762acf780324f924e89d5de7ed (diff) | |
download | Nim-1dd2379e4c662a090086456fdbe0569332967db0.tar.gz |
system.nim -> disabled Uninit warnings
Diffstat (limited to 'lib')
-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.} |