mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-10 20:00:27 +00:00
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:
parent
bb0d4c2c15
commit
cc79f6233d
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue