Skip to content

Commit 4d8ea66

Browse files
[compiler-rt] Fix a warning
This patch fixes: compiler-rt/lib/builtins/cpu_model.c:590:5: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough] by adding a missing "break;".
1 parent db9b6f4 commit 4d8ea66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler-rt/lib/builtins/cpu_model.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,7 @@ getIntelProcessorTypeAndSubtype(unsigned Family, unsigned Model,
586586
CPU = "clearwaterforest";
587587
*Type = INTEL_COREI7;
588588
*Subtype = INTEL_CLEARWATERFOREST;
589+
break;
589590

590591
case 0x57:
591592
CPU = "knl";

0 commit comments

Comments
 (0)