diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-10-27 15:11:25 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-10-27 15:30:59 +0200 |
commit | 6a12a9e941283fe32d7714d4aee694c397996c3a (patch) | |
tree | 2c83c288b5c4fa23ec60cc4aad99f0fd7988f9aa /setup_native | |
parent | 2272b7e876dade3359b9f1fd1ae8a24e391bb8e5 (diff) |
tdf#120703 PVS: V530 The return value of function is required to be utilized
Change-Id: Ifc170a45e25b3fd5b7f561cc50afb6452bb359bd
Reviewed-on: https://gerrit.libreoffice.org/62420
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'setup_native')
-rw-r--r-- | setup_native/source/win32/customactions/inst_msu/inst_msu.cxx | 2 |
1 files changed, 1 insertions, 1 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 91464fdd17de..c8d649a6f4d9 100644 --- a/setup_native/source/win32/customactions/inst_msu/inst_msu.cxx +++ b/setup_native/source/win32/customactions/inst_msu/inst_msu.cxx @@ -399,7 +399,7 @@ extern "C" __declspec(dllexport) UINT __stdcall UnpackMSUForInstall(MSIHANDLE hI CheckWin32Error("MsiSetPropertyW", MsiSetPropertyW(hInstall, L"inst_msu", sBinary.c_str())); // Don't delete the file: it will be done by following actions (inst_msu or cleanup_msu) - aDeleteFileGuard.release(); + (void)aDeleteFileGuard.release(); return ERROR_SUCCESS; } catch (std::exception& e) |