Merge pull request #1435 from pboettch/warning-fix

🚨 fixed unused variable warning
This commit is contained in:
Niels Lohmann
2019-01-15 22:18:13 +01:00
committed by GitHub
2 changed files with 0 additions and 2 deletions

View File

@@ -630,7 +630,6 @@ class serializer
// Fast int2ascii implementation inspired by "Fastware" talk by Andrei Alexandrescu
// See: https://www.youtube.com/watch?v=o4-CwDo2zpg
const auto buffer_end = buffer_ptr;
while (abs_value >= 100)
{
const auto digits_index = static_cast<unsigned>((abs_value % 100));

View File

@@ -11520,7 +11520,6 @@ class serializer
// Fast int2ascii implementation inspired by "Fastware" talk by Andrei Alexandrescu
// See: https://www.youtube.com/watch?v=o4-CwDo2zpg
const auto buffer_end = buffer_ptr;
while (abs_value >= 100)
{
const auto digits_index = static_cast<unsigned>((abs_value % 100));