aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-06-19 17:01:04 -0400
committerMike Frysinger <vapier@gentoo.org>2016-06-19 17:01:04 -0400
commitb07684452f66d01de62dc6f4052a3fa8f81b34b9 (patch)
tree78ea62de75f02d66f83ae0e5e211fe1c57925248
parenttravis: add coverity scan integration (diff)
downloadpax-utils-b07684452f66d01de62dc6f4052a3fa8f81b34b9.tar.gz
pax-utils-b07684452f66d01de62dc6f4052a3fa8f81b34b9.tar.bz2
pax-utils-b07684452f66d01de62dc6f4052a3fa8f81b34b9.zip
paxmacho: tweak case fall through style
This makes coverity happy by ignoring the missing break statement here.
-rw-r--r--paxmacho.c2
1 files changed, 2 insertions, 0 deletions
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;