From b631f539ce37ab3d571f11a46c27cd3eecad44f2 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 5 Sep 2015 18:18:22 +0200 Subject: [PATCH] simplify atoi36, it does not need to eat whitespace --- src/util/base36.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/util/base36.c b/src/util/base36.c index c6ae9f02e..65c9db812 100644 --- a/src/util/base36.c +++ b/src/util/base36.c @@ -32,9 +32,6 @@ int atoi36(const char *str) assert(s); if (!(*s)) return 0; - - while (isxspace(*(unsigned char *)s)) - ++s; if (*s == '-') { sign = -1; ++s;