aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2020-02-29 14:11:27 +0000
committerDimitry Andric <dim@FreeBSD.org>2020-02-29 14:11:27 +0000
commitb95cee35d395c05584ae951a7cd11369ab03c94e (patch)
tree013c775d744db6a09e9c9c7d753484254d13236f
parent9fdab7a316fa842c30d02f9f3a709776ff41025f (diff)
downloadsrc-b95cee35d395c05584ae951a7cd11369ab03c94e.tar.gz
src-b95cee35d395c05584ae951a7cd11369ab03c94e.zip
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
Notes
Notes: svn path=/head/; revision=358465
-rw-r--r--sys/arm64/arm64/identcpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm64/arm64/identcpu.c b/sys/arm64/arm64/identcpu.c
index 0a7b473c6053..f91c1463c593 100644
--- a/sys/arm64/arm64/identcpu.c
+++ b/sys/arm64/arm64/identcpu.c
@@ -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,