Commit 2fec8659 authored by Mathew Hodson's avatar Mathew Hodson Committed by Alexandre Julliard

kernel32: Remove dead code.

parent ddec2301
...@@ -801,13 +801,7 @@ HANDLE WINAPI FindFirstFileExW( LPCWSTR filename, FINDEX_INFO_LEVELS level, ...@@ -801,13 +801,7 @@ HANDLE WINAPI FindFirstFileExW( LPCWSTR filename, FINDEX_INFO_LEVELS level,
} }
info->data_len = io.Information; info->data_len = io.Information;
if (!has_wildcard) if (!has_wildcard) info->data_size = 0; /* we read everything */
{
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 (!FindNextFileW( info, data )) if (!FindNextFileW( info, data ))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment