Skip to content

Commit

Permalink
libunwind: add missing break statements in EHABI
Browse files Browse the repository at this point in the history
Add missing break statements identified by static analysis tools.

Patch by Andrii Kurdiumov!

Reviewed By: compnerd, danielkiss

Differential Revision: https://reviews.llvm.org/D107537
  • Loading branch information
compnerd committed Aug 10, 2021
1 parent e2ff880 commit 08a5ac3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libunwind/src/Unwind-EHABI.cpp
Expand Up @@ -97,9 +97,11 @@ _Unwind_Reason_Code ProcessDescriptors(
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;
Expand Down

0 comments on commit 08a5ac3

Please sign in to comment.