stdlib compiles mostly without warnings again
This commit is contained in:
parent
8215a32edd
commit
550b5d9aea
9 changed files with 14 additions and 16 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue