1
0
mirror of https://github.com/upx/upx synced 2025-09-28 19:06:07 +08:00

Avoid compiler warning.

This commit is contained in:
Markus F.X.J. Oberhumer 2006-11-21 05:09:01 +01:00
parent 46e8e22236
commit 140d6ad839

View File

@ -137,7 +137,7 @@ void ElfLinker::init(const void *pdata_v, int plen)
if (plen >= 16 && memcmp(pdata, "UPX#", 4) == 0)
{
int method = -1;
unsigned u_len, c_len;
unsigned u_len = 0, c_len = 0;
if (pdata[4] == M_DEFLATE)
{
method = M_DEFLATE;