Commit 5e92277f authored by Austin English's avatar Austin English Committed by Alexandre Julliard

msi/tests: Don't check return values inside of if(0) (LLVM/Clang).

parent 641d7484
...@@ -661,10 +661,10 @@ static void test_dispatch(void) ...@@ -661,10 +661,10 @@ static void test_dispatch(void)
/* Test invoking this function (without parameters passed) */ /* Test invoking this function (without parameters passed) */
if (0) /* All of these crash MSI on Windows XP */ if (0) /* All of these crash MSI on Windows XP */
{ {
hr = IDispatch_Invoke(pInstaller, dispid, &IID_NULL, LOCALE_NEUTRAL, DISPATCH_METHOD, NULL, NULL, NULL, NULL); IDispatch_Invoke(pInstaller, dispid, &IID_NULL, LOCALE_NEUTRAL, DISPATCH_METHOD, NULL, NULL, NULL, NULL);
hr = IDispatch_Invoke(pInstaller, dispid, &IID_NULL, LOCALE_NEUTRAL, DISPATCH_METHOD, NULL, NULL, &excepinfo, NULL); IDispatch_Invoke(pInstaller, dispid, &IID_NULL, LOCALE_NEUTRAL, DISPATCH_METHOD, NULL, NULL, &excepinfo, NULL);
VariantInit(&varresult); VariantInit(&varresult);
hr = IDispatch_Invoke(pInstaller, dispid, &IID_NULL, LOCALE_NEUTRAL, DISPATCH_METHOD, NULL, &varresult, &excepinfo, NULL); IDispatch_Invoke(pInstaller, dispid, &IID_NULL, LOCALE_NEUTRAL, DISPATCH_METHOD, NULL, &varresult, &excepinfo, NULL);
} }
/* Try with NULL params */ /* Try with NULL params */
...@@ -2289,7 +2289,7 @@ static void test_Installer_Products(BOOL bProductInstalled) ...@@ -2289,7 +2289,7 @@ static void test_Installer_Products(BOOL bProductInstalled)
if (0) /* Crashes on Windows XP */ if (0) /* Crashes on Windows XP */
{ {
/* IEnumVARIANT::Clone, NULL pointer */ /* IEnumVARIANT::Clone, NULL pointer */
hr = IEnumVARIANT_Clone(pEnum, NULL); IEnumVARIANT_Clone(pEnum, NULL);
} }
/* IEnumVARIANT::Clone */ /* IEnumVARIANT::Clone */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment