msi: Fix compiler warning on older gcc.
This commit is contained in:
parent
67f9570332
commit
8ca2aa3da9
|
@ -1894,7 +1894,7 @@ static UINT msi_enum_patches(LPCWSTR szProductCode, LPCWSTR szUserSid,
|
||||||
MSIINSTALLCONTEXT *pdwTargetProductContext, LPWSTR szTargetUserSid,
|
MSIINSTALLCONTEXT *pdwTargetProductContext, LPWSTR szTargetUserSid,
|
||||||
LPDWORD pcchTargetUserSid, LPWSTR *szTransforms)
|
LPDWORD pcchTargetUserSid, LPWSTR *szTransforms)
|
||||||
{
|
{
|
||||||
UINT r;
|
UINT r = ERROR_INVALID_PARAMETER;
|
||||||
|
|
||||||
if (dwContext & MSIINSTALLCONTEXT_USERMANAGED)
|
if (dwContext & MSIINSTALLCONTEXT_USERMANAGED)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue