From 39e8225c8275b8633f3e86615153c5414a909cc1 Mon Sep 17 00:00:00 2001 From: Autechre Date: Tue, 26 Jan 2021 19:43:53 +0100 Subject: [PATCH] (clang/MacOS) Silence warning 'Possible misuse of comma operator here' (#11945) warnings --- libretro-common/formats/json/rjson.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libretro-common/formats/json/rjson.c b/libretro-common/formats/json/rjson.c index d972ceca00..0bb55d775e 100644 --- a/libretro-common/formats/json/rjson.c +++ b/libretro-common/formats/json/rjson.c @@ -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