Skip to content

Commit 08a5ac3

Browse files
committed
libunwind: add missing break statements in EHABI
Add missing break statements identified by static analysis tools. Patch by Andrii Kurdiumov! Reviewed By: compnerd, danielkiss Differential Revision: https://reviews.llvm.org/D107537
1 parent e2ff880 commit 08a5ac3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libunwind/src/Unwind-EHABI.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,11 @@ _Unwind_Reason_Code ProcessDescriptors(
9797
case Descriptor::LU32:
9898
descriptor = getNextWord(descriptor, &length);
9999
descriptor = getNextWord(descriptor, &offset);
100+
break;
100101
case Descriptor::LU16:
101102
descriptor = getNextNibble(descriptor, &length);
102103
descriptor = getNextNibble(descriptor, &offset);
104+
break;
103105
default:
104106
assert(false);
105107
return _URC_FAILURE;

0 commit comments

Comments
 (0)