Andrew Riedi : imm32: No need for tests to return 0.

Alexandre Julliard julliard at winehq.org
Wed Dec 3 05:56:32 CST 2008


Module: wine
Branch: master
Commit: 625dca9d62ca6bc4625f3376777c453080cba68f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=625dca9d62ca6bc4625f3376777c453080cba68f

Author: Andrew Riedi <andrewriedi at gmail.com>
Date:   Tue Dec  2 19:59:03 2008 -0800

imm32: No need for tests to return 0.

---

 dlls/imm32/tests/imm32.c |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/dlls/imm32/tests/imm32.c b/dlls/imm32/tests/imm32.c
index 29ac553..35c154b 100644
--- a/dlls/imm32/tests/imm32.c
+++ b/dlls/imm32/tests/imm32.c
@@ -182,7 +182,7 @@ static void cleanup(void) {
     UnregisterClass(wndcls, GetModuleHandle(0));
 }
 
-static int test_ImmNotifyIME(void) {
+static void test_ImmNotifyIME(void) {
     static const char string[] = "wine";
     char resstr[16] = "";
     HIMC imc;
@@ -225,11 +225,9 @@ static int test_ImmNotifyIME(void) {
 
     msg_spy_flush_msgs();
     ImmReleaseContext(hwnd, imc);
-
-    return 0;
 }
 
-static int test_ImmGetCompositionString(void)
+static void test_ImmGetCompositionString(void)
 {
     HIMC imc;
     static const WCHAR string[] = {'w','i','n','e',0x65e5,0x672c,0x8a9e};
@@ -251,10 +249,9 @@ static int test_ImmGetCompositionString(void)
         ok(len==alen,"GCS_COMPATTR(A) not returning correct count\n");
     }
     ImmReleaseContext(hwnd, imc);
-    return 0;
 }
 
-static int test_ImmIME(void)
+static void test_ImmIME(void)
 {
     HIMC imc;
 
@@ -268,7 +265,6 @@ static int test_ImmIME(void)
         ok (rc == 0, "ImmConfigureIMEW did not fail\n");
     }
     ImmReleaseContext(hwnd,imc);
-    return 0;
 }
 
 START_TEST(imm32) {




More information about the wine-cvs mailing list