summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorRay <i@maskray.me>2019-03-13 10:12:17 +0000
committerRich Felker <dalias@aerifal.cx>2019-04-02 10:36:49 -0400
commit086a12b920eedc1779b83a5dfddc00460a4d6be7 (patch)
tree815ec4a1b47e071a713a7113300a9cb60267f73c /ldso
parent8ee0ca0ce6cc04f3283e5391773108376ba5b4aa (diff)
downloadmusl-086a12b920eedc1779b83a5dfddc00460a4d6be7.tar.gz
musl-086a12b920eedc1779b83a5dfddc00460a4d6be7.tar.bz2
musl-086a12b920eedc1779b83a5dfddc00460a4d6be7.tar.xz
musl-086a12b920eedc1779b83a5dfddc00460a4d6be7.zip
delete a redundant if in dynamic linker ctor execution loop
Diffstat (limited to 'ldso')
-rw-r--r--ldso/dynlink.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ldso/dynlink.c b/ldso/dynlink.c
index 46c5b5ff..206427fe 100644
--- a/ldso/dynlink.c
+++ b/ldso/dynlink.c
@@ -1461,7 +1461,6 @@ static void do_init_fini(struct dso **queue)
pthread_cond_wait(&ctor_cond, &init_fini_lock);
if (p->ctor_visitor || p->constructed)
continue;
- if (p->constructed) continue;
p->ctor_visitor = self;
decode_vec(p->dynv, dyn, DYN_CNT);