Skip to content

Commit

Permalink
Fix clang -Wcomma warning
Browse files Browse the repository at this point in the history
  • Loading branch information
FSMaxB committed Apr 14, 2019
1 parent 09ebae8 commit 6b24921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cJSON.c
Original file line number Diff line number Diff line change
Expand Up @@ -2673,7 +2673,7 @@ static void minify_string(char **input, char **output) {
*output += static_strlen("\"");


for (; (*input)[0] != '\0'; ++(*input), ++(*output)) {
for (; (*input)[0] != '\0'; (void)++(*input), ++(*output)) {
(*output)[0] = (*input)[0];

if ((*input)[0] == '\"') {
Expand Down

0 comments on commit 6b24921

Please sign in to comment.