From b07684452f66d01de62dc6f4052a3fa8f81b34b9 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 19 Jun 2016 17:01:04 -0400 Subject: 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; -- cgit v1.2.3-18-g5258