🚨 fixed unused variable warning
Since 6503e83e74
"Improve dump_integer performance by implementing a more efficient int2ascii"
an unused variable and thus a warning existed.
This commit is contained in:
parent
e5753b14a8
commit
d0c0d16110
2 changed files with 0 additions and 2 deletions
|
@ -630,7 +630,6 @@ class serializer
|
||||||
|
|
||||||
// Fast int2ascii implementation inspired by "Fastware" talk by Andrei Alexandrescu
|
// Fast int2ascii implementation inspired by "Fastware" talk by Andrei Alexandrescu
|
||||||
// See: https://www.youtube.com/watch?v=o4-CwDo2zpg
|
// See: https://www.youtube.com/watch?v=o4-CwDo2zpg
|
||||||
const auto buffer_end = buffer_ptr;
|
|
||||||
while (abs_value >= 100)
|
while (abs_value >= 100)
|
||||||
{
|
{
|
||||||
const auto digits_index = static_cast<unsigned>((abs_value % 100));
|
const auto digits_index = static_cast<unsigned>((abs_value % 100));
|
||||||
|
|
|
@ -11520,7 +11520,6 @@ class serializer
|
||||||
|
|
||||||
// Fast int2ascii implementation inspired by "Fastware" talk by Andrei Alexandrescu
|
// Fast int2ascii implementation inspired by "Fastware" talk by Andrei Alexandrescu
|
||||||
// See: https://www.youtube.com/watch?v=o4-CwDo2zpg
|
// See: https://www.youtube.com/watch?v=o4-CwDo2zpg
|
||||||
const auto buffer_end = buffer_ptr;
|
|
||||||
while (abs_value >= 100)
|
while (abs_value >= 100)
|
||||||
{
|
{
|
||||||
const auto digits_index = static_cast<unsigned>((abs_value % 100));
|
const auto digits_index = static_cast<unsigned>((abs_value % 100));
|
||||||
|
|
Loading…
Reference in a new issue