Browse Source

Fix clang -Wcomma warning

pull/344/head
Max Bruckner 6 years ago
parent
commit
6b249213dd
  1. 2
      cJSON.c

2
cJSON.c

@ -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] == '\"') {

Loading…
Cancel
Save