stdlib compiles mostly without warnings again

This commit is contained in:
Araq 2014-02-06 00:27:01 +01:00
commit 550b5d9aea
9 changed files with 14 additions and 16 deletions

View file

@ -54,7 +54,7 @@ proc parseInt*(s: string, value: var int, validRange: TSlice[int]) {.
try:
discard parseutils.parseInt(s, x, 0)
except EOverflow:
nil
discard
if x in validRange: value = x
when isMainModule: