commit:     b07684452f66d01de62dc6f4052a3fa8f81b34b9
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 19 21:01:04 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Sun Jun 19 21:01:04 2016 +0000
URL:        https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=b0768445

paxmacho: tweak case fall through style

This makes coverity happy by ignoring the missing break statement here.

 paxmacho.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/paxmacho.c b/paxmacho.c
index 985507d..84aeb86 100644
--- a/paxmacho.c
+++ b/paxmacho.c
@@ -164,6 +164,7 @@ inline static uint32_t read_mach_header(fatobj *fobj, void 
*addr)
        switch (mhdr->magic) {
                case MH_CIGAM:
                        fobj->swapped = 1;
+                       /* fall through */
                case MH_MAGIC:
                        /* 32-bits */
                        fobj->ismach64 = 0;
@@ -172,6 +173,7 @@ inline static uint32_t read_mach_header(fatobj *fobj, void 
*addr)
                        return mhdr->magic;
                case MH_CIGAM_64:
                        fobj->swapped = 1;
+                       /* fall through */
                case MH_MAGIC_64:
                        /* 64-bits */
                        fobj->ismach64 = 1;

Reply via email to