system.nim -> disabled Uninit warnings

This commit is contained in:
HOLYCOWBATMAN 2015-05-24 15:29:35 -04:00
commit 1dd2379e4c

View file

@ -61,7 +61,7 @@ const
on* = true ## alias for ``true`` on* = true ## alias for ``true``
off* = false ## alias for ``false`` off* = false ## alias for ``false``
{.push warning[GcMem]: off.} {.push warning[GcMem]: off, warning[Uninit]: off.}
{.push hints: off.} {.push hints: off.}
type type
@ -3273,4 +3273,4 @@ proc xlen*[T](x: seq[T]): int {.magic: "XLenSeq", noSideEffect.} =
## This is an optimization that rarely makes sense. ## This is an optimization that rarely makes sense.
discard discard
{.pop.} #{.push warning[GcMem]: off.} {.pop.} #{.push warning[GcMem]: off, warning[Uninit]: off.}