Browse Source

delete a redundant if in dynamic linker ctor execution loop

Ray 6 năm trước cách đây
mục cha
commit
086a12b920
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      ldso/dynlink.c

+ 0 - 1
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);