From c325db1b04b148265bb367710712de43a0840701 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20C=C5=93ur?= Date: Sat, 25 Nov 2023 18:45:15 +0100 Subject: [PATCH] float_common.h:237:52 Value stored to 'input_num' is never read --- include/fast_float/float_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fast_float/float_common.h b/include/fast_float/float_common.h index bee8821..d693dc3 100644 --- a/include/fast_float/float_common.h +++ b/include/fast_float/float_common.h @@ -234,7 +234,7 @@ int leading_zeroes_generic(uint64_t input_num, int last_bit = 0) { if(input_num & uint64_t( 0xff00)) { input_num >>= 8; last_bit |= 8; } if(input_num & uint64_t( 0xf0)) { input_num >>= 4; last_bit |= 4; } if(input_num & uint64_t( 0xc)) { input_num >>= 2; last_bit |= 2; } - if(input_num & uint64_t( 0x2)) { input_num >>= 1; last_bit |= 1; } + if(input_num & uint64_t( 0x2)) { /* input_num >>= 1; */ last_bit |= 1; } return 63 - last_bit; }