mirror of https://git.kore.io/kore.git
No need to set l here
This commit is contained in:
parent
c0c3e9fb05
commit
efec7bf8cf
|
@ -132,7 +132,6 @@ kore_strtonum(const char *str, int base, long long min, long long max, int *err)
|
|||
return (0);
|
||||
}
|
||||
|
||||
l = 0;
|
||||
errno = 0;
|
||||
l = strtoll(str, &ep, base);
|
||||
if (errno != 0 || str == ep || *ep != '\0') {
|
||||
|
|
Loading…
Reference in New Issue