imagehlp: Remove uninitialized variable.

This commit is contained in:
Andrey Turkin 2010-08-01 12:29:16 +04:00 committed by Alexandre Julliard
parent a070fbe94a
commit cb2ce2f371
1 changed files with 1 additions and 2 deletions

View File

@ -717,7 +717,6 @@ static BOOL IMAGEHLP_ReportImportSection( IMAGE_SECTION_HEADER *hdr,
{ {
BOOL ret = FALSE; BOOL ret = FALSE;
DWORD offset, size, base; DWORD offset, size, base;
PBYTE import;
/* Get import data */ /* Get import data */
offset = IMAGEHLP_GetSectionOffset( hdr, num_sections, ".idata", &size, offset = IMAGEHLP_GetSectionOffset( hdr, num_sections, ".idata", &size,
@ -740,7 +739,7 @@ static BOOL IMAGEHLP_ReportImportSection( IMAGE_SECTION_HEADER *hdr,
SetLastError(ERROR_INVALID_PARAMETER); SetLastError(ERROR_INVALID_PARAMETER);
ret = FALSE; ret = FALSE;
} }
HeapFree( GetProcessHeap(), 0, import );
return ret; return ret;
} }