diff --git a/src/p_djgpp2.cpp b/src/p_djgpp2.cpp index 23913051..dcd20791 100644 --- a/src/p_djgpp2.cpp +++ b/src/p_djgpp2.cpp @@ -49,9 +49,9 @@ PackDjgpp2::PackDjgpp2(InputFile *f) : bele = &N_BELE_RTP::le_policy; COMPILE_TIME_ASSERT(sizeof(external_scnhdr_t) == 40); COMPILE_TIME_ASSERT(sizeof(coff_header_t) == 0xa8); - COMPILE_TIME_ASSERT(sizeof(stub_i386_dos32_djgpp2_stubify) == 2048); COMPILE_TIME_ASSERT_ALIGNOF(external_scnhdr_t, char) COMPILE_TIME_ASSERT_ALIGNOF(coff_header_t, char) + COMPILE_TIME_ASSERT(sizeof(stub_i386_dos32_djgpp2_stubify) == 2048); COMPILE_TIME_ASSERT(STUB_I386_DOS32_DJGPP2_STUBIFY_ADLER32 == 0xbf689ba8) COMPILE_TIME_ASSERT(STUB_I386_DOS32_DJGPP2_STUBIFY_CRC32 == 0x2ae982b2) //printf("0x%08x\n", upx_adler32(stubify_stub, sizeof(stubify_stub))); diff --git a/src/packer.cpp b/src/packer.cpp index cb8d1ca1..8afcef30 100644 --- a/src/packer.cpp +++ b/src/packer.cpp @@ -55,10 +55,6 @@ Packer::~Packer() { delete uip; uip = NULL; delete linker; linker = NULL; -#if 0 - initLoader(NULL, 0); - delete linker; linker = NULL; -#endif }