forked from github/server
simplify atoi36, it does not need to eat whitespace
This commit is contained in:
parent
2e3c0db02a
commit
b631f539ce
|
@ -32,9 +32,6 @@ int atoi36(const char *str)
|
|||
assert(s);
|
||||
if (!(*s))
|
||||
return 0;
|
||||
|
||||
while (isxspace(*(unsigned char *)s))
|
||||
++s;
|
||||
if (*s == '-') {
|
||||
sign = -1;
|
||||
++s;
|
||||
|
|
Loading…
Reference in New Issue