[PATCH 3/6] filetype: fix else clause indentation

Ahmad Fatoum a.fatoum at pengutronix.de
Wed Aug 14 02:24:21 PDT 2024


clangd notes the unexpected indentation in the file, so remove that
stray space.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 common/filetype.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/filetype.c b/common/filetype.c
index db65d1ece25a..3690d4ae077c 100644
--- a/common/filetype.c
+++ b/common/filetype.c
@@ -189,7 +189,7 @@ int is_fat_boot_sector(const void *sect)
 			 */
 			if (slot == 1 && is_fat_with_no_mbr(sect))
 				return 1;
-			 else
+			else
 				return -EINVAL;
 		}
 	}
-- 
2.39.2




More information about the barebox mailing list