[libc-commits] [libc] feb0778 - [libc][NFC] Remove unused variable
Guillaume Chatelet via libc-commits
libc-commits at lists.llvm.org
Wed Jan 4 07:27:15 PST 2023
Author: Guillaume Chatelet
Date: 2023-01-04T15:27:04Z
New Revision: feb0778862ab513eb3eb4e7f8e980d2956d3b57c
URL: https://github.com/llvm/llvm-project/commit/feb0778862ab513eb3eb4e7f8e980d2956d3b57c
DIFF: https://github.com/llvm/llvm-project/commit/feb0778862ab513eb3eb4e7f8e980d2956d3b57c.diff
LOG: [libc][NFC] Remove unused variable
Added:
Modified:
libc/src/stdio/printf_core/float_dec_converter.h
Removed:
################################################################################
diff --git a/libc/src/stdio/printf_core/float_dec_converter.h b/libc/src/stdio/printf_core/float_dec_converter.h
index 9c7d3ad193562..e0f7b06d03061 100644
--- a/libc/src/stdio/printf_core/float_dec_converter.h
+++ b/libc/src/stdio/printf_core/float_dec_converter.h
@@ -498,7 +498,6 @@ int inline convert_float_decimal_typed(Writer *writer,
constexpr int32_t MANT_WIDTH = fputil::MantissaWidth<T>::VALUE;
bool is_negative = float_bits.get_sign();
int exponent = float_bits.get_exponent();
- MantissaInt mantissa = float_bits.get_explicit_mantissa();
char sign_char = 0;
More information about the libc-commits
mailing list