(clang/MacOS) Silence warning 'Possible misuse of comma operator here' (#11945)

warnings
This commit is contained in:
Autechre 2021-01-26 19:43:53 +01:00 committed by GitHub
parent e282cfe2fe
commit 39e8225c82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -607,7 +607,8 @@ static bool _rjson_optional_skip(rjson_t *json, const unsigned char **p, const u
(skip == '/' ? "comment" : "utf8 byte order mark"));
return false;
}
*p = json->input_p, *end = json->input_end;
*p = json->input_p;
*end = json->input_end;
}
c = *(*p)++;
if (skip == '/')
@ -697,7 +698,8 @@ enum rjson_type rjson_next(rjson_t *json)
}
else if (_rJSON_LIKELY(_rjson_io_input(json)))
{
p = json->input_p, end = json->input_end;
p = json->input_p;
end = json->input_end;
continue;
}
else