Skip to content

Commit

Permalink
🚨 fixed unused variable warning
Browse files Browse the repository at this point in the history
Since 6503e83 "Improve dump_integer performance by implementing a more efficient int2ascii"
an unused variable and thus a warning existed.
  • Loading branch information
pboettch committed Jan 15, 2019
1 parent e5753b1 commit d0c0d16
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 d0c0d16

Please sign in to comment.