kernel32: Remove dead code.

Signed-off-by: Mathew Hodson <mathew.hodson@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Mathew Hodson 2019-11-26 00:09:37 -05:00 committed by Alexandre Julliard
parent ddec23013e
commit 2fec865945
1 changed files with 1 additions and 7 deletions

View File

@ -801,13 +801,7 @@ HANDLE WINAPI FindFirstFileExW( LPCWSTR filename, FINDEX_INFO_LEVELS level,
}
info->data_len = io.Information;
if (!has_wildcard)
{
if (has_wildcard) /* release unused buffer space */
HeapReAlloc( GetProcessHeap(), HEAP_REALLOC_IN_PLACE_ONLY,
info, offsetof( FIND_FIRST_INFO, data[info->data_len] ));
info->data_size = 0; /* we read everything */
}
if (!has_wildcard) info->data_size = 0; /* we read everything */
if (!FindNextFileW( info, data ))
{