1
0
mirror of https://github.com/nlohmann/json synced 2024-09-20 14:50:06 +00:00

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
commit dffae1082f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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));