diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-05-01 15:15:38 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-05-01 15:15:38 +0200 |
commit | b2869173851aadf6182cc2038d9af9fc90aa9183 (patch) | |
tree | 90e8678912a455dacc400fdb03ea4980d3c2fb2b /setup_native | |
parent | 3242871ac5ccb8af968ddc930c2e654d51fbfc33 (diff) |
loplugin:nullptr (clang-cl)
Change-Id: I302cb394b1883932d4cb7b160a4a74185dbff04b
Diffstat (limited to 'setup_native')
-rw-r--r-- | setup_native/source/win32/customactions/inst_msu/inst_msu.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setup_native/source/win32/customactions/inst_msu/inst_msu.cxx b/setup_native/source/win32/customactions/inst_msu/inst_msu.cxx index b03d3cf3791c..fee4e6feb58b 100644 --- a/setup_native/source/win32/customactions/inst_msu/inst_msu.cxx +++ b/setup_native/source/win32/customactions/inst_msu/inst_msu.cxx @@ -368,8 +368,8 @@ extern "C" UINT __stdcall UnpackMSUForInstall(MSIHANDLE hInstall) MsiSetPropertyW(hInstall, L"cleanup_msu", sBinary.c_str())); { - HANDLE hFile = CreateFileW(sBinary.c_str(), GENERIC_WRITE, 0, 0, CREATE_ALWAYS, - FILE_ATTRIBUTE_NORMAL, 0); + HANDLE hFile = CreateFileW(sBinary.c_str(), GENERIC_WRITE, 0, nullptr, CREATE_ALWAYS, + FILE_ATTRIBUTE_NORMAL, nullptr); if (hFile == INVALID_HANDLE_VALUE) ThrowLastError("CreateFileW"); auto aFileHandleGuard(Guard(hFile)); |