diff options
author | Fangrui Song <i@maskray.me> | 2020-03-08 11:10:32 -0700 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2020-03-20 12:35:38 -0400 |
commit | 72658c658b234bf24ebbc2be1863f4c6b2f2434d (patch) | |
tree | 9a4080bd017de7fec32a78e43f5403eb114de657 | |
parent | 3e9d3386f17e4c2af3049cf5f802ccd5bbe083d0 (diff) | |
download | musl-72658c658b234bf24ebbc2be1863f4c6b2f2434d.tar.gz musl-72658c658b234bf24ebbc2be1863f4c6b2f2434d.tar.bz2 musl-72658c658b234bf24ebbc2be1863f4c6b2f2434d.tar.xz musl-72658c658b234bf24ebbc2be1863f4c6b2f2434d.zip |
ldso: remove redundant switch case for REL_NONE
as a result of commit b6a6cd703ffefa6352249fb01f4da28d85d17306,
the REL_NONE case is now redundant.
-rw-r--r-- | ldso/dynlink.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ldso/dynlink.c b/ldso/dynlink.c index afec985a..6468f203 100644 --- a/ldso/dynlink.c +++ b/ldso/dynlink.c @@ -415,8 +415,6 @@ static void do_relocs(struct dso *dso, size_t *rel, size_t rel_size, size_t stri } switch(type) { - case REL_NONE: - break; case REL_OFFSET: addend -= (size_t)reloc_addr; case REL_SYMBOLIC: |