diff options
Diffstat (limited to '')
| -rw-r--r-- | src/libs/dutil/WixToolset.DUtil/fileutil.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/fileutil.cpp b/src/libs/dutil/WixToolset.DUtil/fileutil.cpp index a9369ea1..31802d29 100644 --- a/src/libs/dutil/WixToolset.DUtil/fileutil.cpp +++ b/src/libs/dutil/WixToolset.DUtil/fileutil.cpp | |||
| @@ -414,8 +414,8 @@ extern "C" HRESULT DAPI FileSetPointer( | |||
| 414 | Assert(INVALID_HANDLE_VALUE != hFile); | 414 | Assert(INVALID_HANDLE_VALUE != hFile); |
| 415 | 415 | ||
| 416 | HRESULT hr = S_OK; | 416 | HRESULT hr = S_OK; |
| 417 | LARGE_INTEGER liMove; | 417 | LARGE_INTEGER liMove = { }; |
| 418 | LARGE_INTEGER liNewPosition; | 418 | LARGE_INTEGER liNewPosition = { }; |
| 419 | 419 | ||
| 420 | liMove.QuadPart = dw64Move; | 420 | liMove.QuadPart = dw64Move; |
| 421 | if (!::SetFilePointerEx(hFile, liMove, &liNewPosition, dwMoveMethod)) | 421 | if (!::SetFilePointerEx(hFile, liMove, &liNewPosition, dwMoveMethod)) |
| @@ -843,7 +843,7 @@ extern "C" HRESULT DAPI FileCopyUsingHandles( | |||
| 843 | { | 843 | { |
| 844 | HRESULT hr = S_OK; | 844 | HRESULT hr = S_OK; |
| 845 | DWORD64 cbTotalCopied = 0; | 845 | DWORD64 cbTotalCopied = 0; |
| 846 | BYTE rgbData[4 * 1024]; | 846 | BYTE rgbData[4 * 1024] = { }; |
| 847 | DWORD cbRead = 0; | 847 | DWORD cbRead = 0; |
| 848 | 848 | ||
| 849 | do | 849 | do |
| @@ -887,7 +887,7 @@ extern "C" HRESULT DAPI FileCopyUsingHandlesWithProgress( | |||
| 887 | { | 887 | { |
| 888 | HRESULT hr = S_OK; | 888 | HRESULT hr = S_OK; |
| 889 | DWORD64 cbTotalCopied = 0; | 889 | DWORD64 cbTotalCopied = 0; |
| 890 | BYTE rgbData[64 * 1024]; | 890 | BYTE rgbData[64 * 1024] = { }; |
| 891 | DWORD cbRead = 0; | 891 | DWORD cbRead = 0; |
| 892 | 892 | ||
| 893 | LARGE_INTEGER liSourceSize = { }; | 893 | LARGE_INTEGER liSourceSize = { }; |
