commit efec7bf8cf7c5afa5da9c112172d12158aadf776
parent c0c3e9fb05a9baf048c9677db217c1e6adc9e490
Author: Joris Vink <joris@coders.se>
Date: Fri, 19 Sep 2014 15:01:45 +0200
No need to set l here
Diffstat:
src/utils.c | 1 -
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/src/utils.c b/src/utils.c
@@ -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') {