forked from OSchip/llvm-project
[libc] Remove unused variable
This commit is contained in:
parent
84bf5e3286
commit
2f1c037bbd
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue