Nikolay Sivov : scrrun/tests: Fix a warning on GCC 6.
Alexandre Julliard
julliard at winehq.org
Wed Aug 10 11:05:56 CDT 2016
Module: wine
Branch: master
Commit: bbb1602442c1b3789d8085c9f9853d8f7800d686
URL: http://source.winehq.org/git/wine.git/?a=commit;h=bbb1602442c1b3789d8085c9f9853d8f7800d686
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Tue Aug 9 19:59:50 2016 +0300
scrrun/tests: Fix a warning on GCC 6.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/scrrun/tests/dictionary.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/scrrun/tests/dictionary.c b/dlls/scrrun/tests/dictionary.c
index a1b7d06..a94782f 100644
--- a/dlls/scrrun/tests/dictionary.c
+++ b/dlls/scrrun/tests/dictionary.c
@@ -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);
More information about the wine-cvs
mailing list