mirror of
https://git.musl-libc.org/git/musl
synced 2025-01-23 06:32:05 +03:00
delete a redundant if in dynamic linker ctor execution loop
This commit is contained in:
parent
8ee0ca0ce6
commit
086a12b920
@ -1461,7 +1461,6 @@ static void do_init_fini(struct dso **queue)
|
|||||||
pthread_cond_wait(&ctor_cond, &init_fini_lock);
|
pthread_cond_wait(&ctor_cond, &init_fini_lock);
|
||||||
if (p->ctor_visitor || p->constructed)
|
if (p->ctor_visitor || p->constructed)
|
||||||
continue;
|
continue;
|
||||||
if (p->constructed) continue;
|
|
||||||
p->ctor_visitor = self;
|
p->ctor_visitor = self;
|
||||||
|
|
||||||
decode_vec(p->dynv, dyn, DYN_CNT);
|
decode_vec(p->dynv, dyn, DYN_CNT);
|
||||||
|
Loading…
Reference in New Issue
Block a user