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
GitOrigin-RevId: 08a5ac36b956edeb989b4a65269a829eac26a5a2
diff --git a/src/Unwind-EHABI.cpp b/src/Unwind-EHABI.cpp
index 32b5cbc..8843db7 100644
--- a/src/Unwind-EHABI.cpp
+++ b/src/Unwind-EHABI.cpp
@@ -97,9 +97,11 @@
case Descriptor::LU32:
descriptor = getNextWord(descriptor, &length);
descriptor = getNextWord(descriptor, &offset);
+ break;
case Descriptor::LU16:
descriptor = getNextNibble(descriptor, &length);
descriptor = getNextNibble(descriptor, &offset);
+ break;
default:
assert(false);
return _URC_FAILURE;