From f94d9ceaa63d0b3b17b88dadda0b198f49c3f43f Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sat, 26 Apr 2014 16:11:07 +0000 Subject: [PATCH] CID1130004: Nesting level does not match indentation Corresponding to flashrom svn r1770. Signed-off-by: Stefan Reinauer Acked-by: Stefan Tauner --- print.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/print.c b/print.c index 6001cdffe..6d2921ba7 100644 --- a/print.c +++ b/print.c @@ -436,12 +436,13 @@ static void print_supported_boards_helper(const struct board_info *boards, msg_ginfo("%s", b->name); for (i = 0; i < maxboardlen - strlen(b->name); i++) msg_ginfo(" "); - if (b->working == OK) - msg_ginfo("OK "); - else if (b->working == NT) - msg_ginfo("NT "); - else - msg_ginfo("BAD "); + + if (b->working == OK) + msg_ginfo("OK "); + else if (b->working == NT) + msg_ginfo("NT "); + else + msg_ginfo("BAD "); for (e = board_matches; e->vendor_name != NULL; e++) { if (strcmp(e->vendor_name, b->vendor)