always initialize variable use_tls_callbacks
This commit is contained in:
parent
963ffecb96
commit
b031f7e902
@ -123,6 +123,7 @@ PackW32Pe::PackW32Pe(InputFile *f) : super(f)
|
||||
isrtm = false;
|
||||
use_dep_hack = true;
|
||||
use_clear_dirty_stack = true;
|
||||
use_tls_callbacks = false;
|
||||
}
|
||||
|
||||
|
||||
@ -200,8 +201,6 @@ void PackW32Pe::processTls(Interval *iv) // pass 1
|
||||
|
||||
const tls * const tlsp = (const tls*) (ibuf + IDADDR(PEDIR_TLS));
|
||||
|
||||
use_tls_callbacks = false; //NEW - Stefan Widmann
|
||||
|
||||
// note: TLS callbacks are not implemented in Windows 95/98/ME
|
||||
if (tlsp->callbacks)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user