]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
libdw: Add missing FALLTHROUGH in execute_cfi.
authorMark Wielaard <mark@klomp.org>
Tue, 16 Jun 2020 16:05:59 +0000 (18:05 +0200)
committerMark Wielaard <mark@klomp.org>
Fri, 19 Jun 2020 12:56:00 +0000 (14:56 +0200)
Signed-off-by: Mark Wielaard <mark@klomp.org>
libdw/ChangeLog
libdw/cfi.c

index c75b09587b1b15d791091f859f0bd1598f3e9dcf..72cd5003463ec69a276f0580c5a2e6c4dd2dce49 100644 (file)
@@ -1,3 +1,7 @@
+2020-06-16  Mark Wielaard  <mark@klomp.org>
+
+       * cfi.c (execute_cfi): Add missing FALLTHROUGH.
+
 2020-05-08  Mark Wielaard  <mark@klomp.org>
 
        * libdw_visit_scopes.c (walk_children): Don't recurse into imported
index 341e055b082f61833e188e6efaa4b1bb29ca85f7..6705294f4c1025ec281342370bbef5f421baed07 100644 (file)
@@ -229,6 +229,7 @@ execute_cfi (Dwarf_CFI *cache,
        case DW_CFA_offset_extended:
          get_uleb128 (operand, program, end);
          cfi_assert (program < end);
+         FALLTHROUGH;
        case DW_CFA_offset + 0 ... DW_CFA_offset + CFI_PRIMARY_MAX:
          get_uleb128 (offset, program, end);
          offset *= cie->data_alignment_factor;