[PATCH] kernel32: Remove dead code.
Signed-off-by: Mathew Hodson <mathew.hodson(a)gmail.com> --- dlls/kernel32/file.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/dlls/kernel32/file.c b/dlls/kernel32/file.c index c3be67c..17f06f2 100644 --- a/dlls/kernel32/file.c +++ b/dlls/kernel32/file.c @@ -803,9 +803,6 @@ 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 */ } -- 2.7.4
Hi, While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=60857 Your paranoid android. === debian10 (32 bit report) === kernel32: debugger: Timeout === debian10 (32 bit Chinese:China report) === kernel32: debugger: Timeout === debian10 (32 bit WoW report) === kernel32: comm.c:918: Test failed: OutQueue should not be empty === debian10 (64 bit WoW report) === kernel32: debugger.c:320: Test failed: GetThreadContext failed: 5 debugger.c:320: Test failed: GetThreadContext failed: 5 debugger.c:320: Test failed: GetThreadContext failed: 5
participants (2)
-
Marvin -
Mathew Hodson