mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
rjson_optional_skip - fix code
This commit is contained in:
parent
3f992de8a6
commit
862acd7160
@ -689,15 +689,13 @@ static bool _rjson_optional_skip(rjson_t *json, const unsigned char **p, const u
|
||||
}
|
||||
else if (skip == 0xEF)
|
||||
{
|
||||
#if 0
|
||||
/* Silence warning - state being set never used */
|
||||
if (state == 0 && c == 0xBB)
|
||||
state = 1;
|
||||
else
|
||||
#endif
|
||||
if (state == 1 && c == 0xBF)
|
||||
else if (state == 1 && c == 0xBF)
|
||||
return true;
|
||||
break;
|
||||
else
|
||||
break;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user