From bdaf3d532ae2adf0b580a7bb53ec252f4da9da56 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 9 Feb 2021 15:49:32 +0100 Subject: [PATCH] (libretro-common) Resync --- libretro-common/formats/json/rjson.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libretro-common/formats/json/rjson.c b/libretro-common/formats/json/rjson.c index 0bb55d775e..ef16fb9b36 100644 --- a/libretro-common/formats/json/rjson.c +++ b/libretro-common/formats/json/rjson.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2010-2020 The RetroArch team +/* Copyright (C) 2010-2021 The RetroArch team * * --------------------------------------------------------------------------------------- * The following license statement only applies to this file (rjson.c). @@ -339,7 +339,6 @@ static bool _rjson_validate_utf8(rjson_t *json) else if (first <= 0xEF) { if ((from = p + 3) > to) goto invalid_utf8; - from = p + 3; continue_length_3: if ((c = p[2]) < 0x80 || c > 0xBF) goto invalid_utf8; goto continue_length_2;