mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(jsonsax_full.c) Silence some warnings
This commit is contained in:
parent
6be03843e3
commit
558181e7dd
@ -2020,14 +2020,10 @@ reprocess:
|
||||
codepointToRecord = c;
|
||||
goto recordNumberCodepointAndAdvance;
|
||||
}
|
||||
else
|
||||
{
|
||||
/* The number is finished. */
|
||||
if (!JSON_Parser_ProcessToken(parser))
|
||||
return JSON_Failure;
|
||||
goto reprocess;
|
||||
}
|
||||
goto advance;
|
||||
/* The number is finished. */
|
||||
if (!JSON_Parser_ProcessToken(parser))
|
||||
return JSON_Failure;
|
||||
goto reprocess;
|
||||
|
||||
case LEXING_NUMBER_DECIMAL_DIGITS:
|
||||
if (c >= '0' && c <= '9')
|
||||
@ -2049,14 +2045,10 @@ reprocess:
|
||||
parser->lexerState = LEXING_NUMBER_AFTER_E;
|
||||
goto recordNumberCodepointAndAdvance;
|
||||
}
|
||||
else
|
||||
{
|
||||
/* The number is finished. */
|
||||
if (!JSON_Parser_ProcessToken(parser))
|
||||
return JSON_Failure;
|
||||
goto reprocess;
|
||||
}
|
||||
goto advance;
|
||||
/* The number is finished. */
|
||||
if (!JSON_Parser_ProcessToken(parser))
|
||||
return JSON_Failure;
|
||||
goto reprocess;
|
||||
|
||||
case LEXING_NUMBER_AFTER_DOT:
|
||||
if (c >= '0' && c <= '9')
|
||||
@ -2082,14 +2074,10 @@ reprocess:
|
||||
parser->lexerState = LEXING_NUMBER_AFTER_E;
|
||||
goto recordNumberCodepointAndAdvance;
|
||||
}
|
||||
else
|
||||
{
|
||||
/* The number is finished. */
|
||||
if (!JSON_Parser_ProcessToken(parser))
|
||||
return JSON_Failure;
|
||||
goto reprocess;
|
||||
}
|
||||
goto advance;
|
||||
/* The number is finished. */
|
||||
if (!JSON_Parser_ProcessToken(parser))
|
||||
return JSON_Failure;
|
||||
goto reprocess;
|
||||
|
||||
case LEXING_NUMBER_AFTER_E:
|
||||
if (c == '+')
|
||||
@ -2132,14 +2120,10 @@ reprocess:
|
||||
codepointToRecord = c;
|
||||
goto recordNumberCodepointAndAdvance;
|
||||
}
|
||||
else
|
||||
{
|
||||
/* The number is finished. */
|
||||
if (!JSON_Parser_ProcessToken(parser))
|
||||
return JSON_Failure;
|
||||
goto reprocess;
|
||||
}
|
||||
goto advance;
|
||||
/* The number is finished. */
|
||||
if (!JSON_Parser_ProcessToken(parser))
|
||||
return JSON_Failure;
|
||||
goto reprocess;
|
||||
|
||||
case LEXING_COMMENT_AFTER_SLASH:
|
||||
if (c == '/')
|
||||
|
Loading…
x
Reference in New Issue
Block a user