Module: wine Branch: master Commit: 29d543d12a2085be8513859369291bbcc35694db URL: https://gitlab.winehq.org/wine/wine/-/commit/29d543d12a2085be8513859369291bb... Author: Alex Henrie <alexhenrie24(a)gmail.com> Date: Fri Jun 16 21:56:14 2023 -0600 advpack: Check the return value of adv_install in DoInfInstallW (scan-build). --- dlls/advpack/install.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/advpack/install.c b/dlls/advpack/install.c index deaa82d6d98..f7768cf7852 100644 --- a/dlls/advpack/install.c +++ b/dlls/advpack/install.c @@ -533,7 +533,7 @@ static HRESULT DoInfInstallW(const SETUPCOMMAND_PARAMSW *setup) done: install_release(&info); - return S_OK; + return hr; } /***********************************************************************