Moved a { to the same line as if

Moved a { to the same line as if
pull/15431/head
alrvid 2023-06-15 15:38:55 +02:00 committed by GitHub
parent 7e206a90db
commit 56ca532ef1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -656,8 +656,7 @@ extern "C" int PREFIX(_close)(FILEHANDLE fh)
#if !MBED_CONF_PLATFORM_STDIO_MINIMAL_CONSOLE_ONLY
extern "C" int close(int fildes)
{
if (fildes < 0)
{
if (fildes < 0) {
errno = EBADF;
return -1;
}