Skip to content

Commit 736561c

Browse files
authored
Merge pull request #224 from Coeur/coeur/input_num
float_common.h:237:52 Value stored to 'input_num' is never read
2 parents 80400d2 + c325db1 commit 736561c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/fast_float/float_common.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ int leading_zeroes_generic(uint64_t input_num, int last_bit = 0) {
234234
if(input_num & uint64_t( 0xff00)) { input_num >>= 8; last_bit |= 8; }
235235
if(input_num & uint64_t( 0xf0)) { input_num >>= 4; last_bit |= 4; }
236236
if(input_num & uint64_t( 0xc)) { input_num >>= 2; last_bit |= 2; }
237-
if(input_num & uint64_t( 0x2)) { input_num >>= 1; last_bit |= 1; }
237+
if(input_num & uint64_t( 0x2)) { /* input_num >>= 1; */ last_bit |= 1; }
238238
return 63 - last_bit;
239239
}
240240

0 commit comments

Comments
 (0)