vcscanf: add curly braces around else clause

Makes the goto statement easier to read.
Also consistent with the rest of the codebase.
This commit is contained in:
Matheus Afonso Martins Moreira 2023-11-02 08:03:16 -03:00
parent bb0d4c2c15
commit cc79f6233d

View file

@ -438,7 +438,9 @@ int __vcscanf(int callback(void *), //
} else if (isdecexp || (hexadecimal && ishexp)) { } else if (isdecexp || (hexadecimal && ishexp)) {
state = SIGN; state = SIGN;
goto Continue; goto Continue;
} else goto Break; } else {
goto Break;
}
case SIGN: case SIGN:
if (issign) { if (issign) {
state = EXPONENT; state = EXPONENT;