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:
parent
ddec23013e
commit
2fec865945
|
@ -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 ))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue