summaryrefslogtreecommitdiff
path: root/sys/src/libmach
diff options
context:
space:
mode:
authormischief <mischief@offblast.org>2015-08-05 06:30:57 -0700
committermischief <mischief@offblast.org>2015-08-05 06:30:57 -0700
commit8e78804fc05e70caf71cfcfe393de22aea1ac22c (patch)
tree7a0a122a3f8345535a90a1d4f01ee934c5e0f594 /sys/src/libmach
parent7844dafe621c7151a301220948edf494af2b8af9 (diff)
libmach: remove useless error check from previous commit
Diffstat (limited to 'sys/src/libmach')
-rw-r--r--sys/src/libmach/executable.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/src/libmach/executable.c b/sys/src/libmach/executable.c
index c5b2e652d..0cb47550d 100644
--- a/sys/src/libmach/executable.c
+++ b/sys/src/libmach/executable.c
@@ -739,9 +739,6 @@ elf32dotout(int fd, Fhdr *fp, ExecHdr *hp)
} else if(ep->ident[DATA] == ELFDATA2MSB){
fp->type = FMIPS;
fp->name = "mips be ELF32 executable";
- } else {
- werrstr("bad ELF32 encoding - not big or little endian");
- return 0;
}
break;
case SPARC64: