Skip to content

Commit 93331cb

Browse files
author
Yolan Romailler
committed
Removing always true if condition
1 parent 129d19b commit 93331cb

File tree

1 file changed

+1
-2
lines changed
  • include/rapidjson/internal

1 file changed

+1
-2
lines changed

include/rapidjson/internal/itoa.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,8 @@ inline char* u64toa(uint64_t value, char* buffer) {
211211
*buffer++ = cDigitsLut[d3 + 1];
212212
if (value >= kTen9)
213213
*buffer++ = cDigitsLut[d4];
214-
if (value >= kTen8)
215-
*buffer++ = cDigitsLut[d4 + 1];
216214

215+
*buffer++ = cDigitsLut[d4 + 1];
217216
*buffer++ = cDigitsLut[d5];
218217
*buffer++ = cDigitsLut[d5 + 1];
219218
*buffer++ = cDigitsLut[d6];

0 commit comments

Comments
 (0)