[libc] Remove unused variable

This commit is contained in:
Guillaume Chatelet 2021-11-22 10:12:46 +00:00
parent 84bf5e3286
commit 2f1c037bbd
1 changed files with 0 additions and 2 deletions

View File

@ -746,11 +746,9 @@ static inline T strtofloatingpoint(const char *__restrict src,
if (isdigit(*src) || *src == DECIMAL_POINT) { // regular number
int base = 10;
char exponentMarker = 'e';
if (is_float_hex_start(src, DECIMAL_POINT)) {
base = 16;
src += 2;
exponentMarker = 'p';
seenDigit = true;
}
char *newStrEnd = nullptr;