Fix the following -Werror warning from clang 10.0.0:
sys/arm64/arm64/identcpu.c:1170:5: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation] break; ^ sys/arm64/arm64/identcpu.c:1168:4: note: previous statement is here if (fv[j].desc[0] != '\0') ^ The break should be after the if statement, indented one level less. MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D23871
This commit is contained in:
parent
9fdab7a316
commit
b95cee35d3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=358465
@ -1167,7 +1167,7 @@ print_id_fields(struct sbuf *sb, uint64_t reg, void *arg)
|
||||
|
||||
if (fv[j].desc[0] != '\0')
|
||||
sbuf_printf(sb, "%s%s", SEP_STR, fv[j].desc);
|
||||
break;
|
||||
break;
|
||||
}
|
||||
if (fv[j].desc == NULL)
|
||||
sbuf_printf(sb, "%sUnknown %s(%x)", SEP_STR,
|
||||
|
Loading…
Reference in New Issue
Block a user