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

@ -28,7 +28,7 @@ proc hexbyte*(hex: char): int =
of '0'..'9': result = (ord(hex) - ord('0'))
of 'a'..'f': result = (ord(hex) - ord('a') + 10)
of 'A'..'F': result = (ord(hex) - ord('A') + 10)
else: nil
else: discard
proc parseOid*(str: cstring): TOid =
## parses an OID.