Skip to content

Commit

Permalink
fix clang-sanitizer warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
FSMaxB committed Feb 21, 2017
1 parent 68cd0d4 commit 5010462
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cJSON.c
Original file line number Diff line number Diff line change
Expand Up @@ -1182,7 +1182,6 @@ static unsigned char *print_array(const cJSON * const item, const size_t depth,
*output_pointer = '[';
output_buffer->offset++;

current_element = item->child;
while (current_element != NULL)
{
if (print_value(current_element, depth + 1, format, output_buffer, hooks) == NULL)
Expand Down Expand Up @@ -1346,7 +1345,6 @@ static unsigned char *print_object(const cJSON * const item, const size_t depth,
}
output_buffer->offset += length;

current_item = item->child;
while (current_item)
{
if (format)
Expand Down

0 comments on commit 5010462

Please sign in to comment.