From ded97bf5afac6d7ea6398b0d458bbb9eabd18c7c Mon Sep 17 00:00:00 2001 From: Matheus Afonso Martins Moreira Date: Thu, 2 Nov 2023 20:05:41 -0300 Subject: [PATCH] vcscanf: add curly braces around another else Makes the goto statement easier to read. Also consistent with the rest of the codebase. --- libc/stdio/vcscanf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libc/stdio/vcscanf.c b/libc/stdio/vcscanf.c index 62a2545b3..d74b70067 100644 --- a/libc/stdio/vcscanf.c +++ b/libc/stdio/vcscanf.c @@ -451,7 +451,9 @@ int __vcscanf(int callback(void *), // case EXPONENT: if (isdecdigit) { goto Continue; - } else goto Break; + } else { + goto Break; + } default: goto Break; }