No need to set l here

This commit is contained in:
Joris Vink 2014-09-19 15:01:45 +02:00
parent c0c3e9fb05
commit efec7bf8cf
1 changed files with 0 additions and 1 deletions

View File

@ -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') {