Module: wine Branch: master Commit: ce894b9fc6a37ab42e0a93ea6dd607f0d1ab2887 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ce894b9fc6a37ab42e0a93ea6d...
Author: Dmitry Timoshkov dmitry@baikal.ru Date: Mon Feb 10 12:43:54 2014 +0900
xmllite/tests: There is no need to initialize OLE.
---
dlls/xmllite/tests/reader.c | 10 ---------- dlls/xmllite/tests/writer.c | 10 ---------- 2 files changed, 20 deletions(-)
diff --git a/dlls/xmllite/tests/reader.c b/dlls/xmllite/tests/reader.c index 5774400..b7ef862 100644 --- a/dlls/xmllite/tests/reader.c +++ b/dlls/xmllite/tests/reader.c @@ -1671,16 +1671,8 @@ static void test_read_attribute(void)
START_TEST(reader) { - HRESULT r; - - r = CoInitialize( NULL ); - ok( r == S_OK, "failed to init com\n"); - if (!init_pointers()) - { - CoUninitialize(); return; - }
test_reader_create(); test_readerinput(); @@ -1697,6 +1689,4 @@ START_TEST(reader) test_read_pending(); test_readvaluechunk(); test_read_xmldeclaration(); - - CoUninitialize(); } diff --git a/dlls/xmllite/tests/writer.c b/dlls/xmllite/tests/writer.c index af4e1a8..5f3d511 100644 --- a/dlls/xmllite/tests/writer.c +++ b/dlls/xmllite/tests/writer.c @@ -70,18 +70,8 @@ static BOOL init_pointers(void)
START_TEST(writer) { - HRESULT r; - - r = CoInitialize( NULL ); - ok( r == S_OK, "failed to init com\n"); - if (!init_pointers()) - { - CoUninitialize(); return; - }
test_writer_create(); - - CoUninitialize(); }