diff --git a/src/util.c b/src/util.c index ca5435026..dd776162e 100644 --- a/src/util.c +++ b/src/util.c @@ -368,9 +368,6 @@ int string2ll(const char *s, size_t slen, long long *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; }