Remove dead code from lpStringToInt64() (#8863)
This commit is contained in:
parent
4bfcf4654a
commit
bcf1b384e3
@ -183,9 +183,6 @@ int lpStringToInt64(const char *s, unsigned long slen, int64_t *value) {
|
||||
if (p[0] >= '1' && p[0] <= '9') {
|
||||
v = p[0]-'0';
|
||||
p++; plen++;
|
||||
} else if (p[0] == '0' && slen == 1) {
|
||||
*value = 0;
|
||||
return 1;
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user