mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
Avoid compiler warning.
This commit is contained in:
parent
46e8e22236
commit
140d6ad839
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user