Skip to content

Commit

Permalink
Merge pull request #1435 from pboettch/warning-fix
Browse files Browse the repository at this point in the history
🚨 fixed unused variable warning
  • Loading branch information
nlohmann authored Jan 15, 2019
2 parents 851fe8a + d0c0d16 commit dffae10
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion include/nlohmann/detail/output/serializer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
1 change: 0 additions & 1 deletion single_include/nlohmann/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit dffae10

Please sign in to comment.