scrrun/tests: Fix a warning on GCC 6.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ba858c28fd
commit
bbb1602442
|
@ -101,8 +101,8 @@ static void test_comparemode(void)
|
|||
&IID_IDictionary, (void**)&dict);
|
||||
ok(hr == S_OK, "got 0x%08x\n", hr);
|
||||
|
||||
if (0) /* crashes on native */
|
||||
hr = IDictionary_get_CompareMode(dict, NULL);
|
||||
if (0) /* crashes on native */
|
||||
hr = IDictionary_get_CompareMode(dict, NULL);
|
||||
|
||||
method = 10;
|
||||
hr = IDictionary_get_CompareMode(dict, &method);
|
||||
|
@ -933,8 +933,8 @@ static void test_IEnumVARIANT(void)
|
|||
&IID_IDictionary, (void**)&dict);
|
||||
ok(hr == S_OK, "got 0x%08x\n", hr);
|
||||
|
||||
if (0) /* crashes on native */
|
||||
hr = IDictionary__NewEnum(dict, NULL);
|
||||
if (0) /* crashes on native */
|
||||
hr = IDictionary__NewEnum(dict, NULL);
|
||||
|
||||
hr = IDictionary__NewEnum(dict, &enum1);
|
||||
ok(hr == S_OK, "got 0x%08x\n", hr);
|
||||
|
|
Loading…
Reference in New Issue