Michael Stefaniuc : user32/tests: Remove an identical if/else branch.

Alexandre Julliard julliard at winehq.org
Wed Aug 10 11:05:57 CDT 2016


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Wed Aug 10 13:05:46 2016 +0200

user32/tests: Remove an identical if/else branch.

Signed-off-by: Michael Stefaniuc <mstefani at redhat.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/user32/tests/dde.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/dlls/user32/tests/dde.c b/dlls/user32/tests/dde.c
index c90bac9..d63a0f6 100644
--- a/dlls/user32/tests/dde.c
+++ b/dlls/user32/tests/dde.c
@@ -2511,12 +2511,6 @@ static HDDEDATA CALLBACK server_end_to_end_callback(UINT uType, UINT uFmt, HCONV
                 ok(!lstrcmpW((WCHAR*)buffer, cmd_w),
                    "Expected %s, msg_index=%d\n", wine_dbgstr_w(cmd_w), msg_index);
             }
-            else if (unicode_client)
-            {
-                ok(size == size_w_to_a, "Wrong size %d/%d, msg_index=%d\n", size, size_w_to_a, msg_index);
-                ok(!lstrcmpA((CHAR*)buffer, test_cmd_w_to_a), "Expected %s, got %s, msg_index=%d\n",
-                   test_cmd_w_to_a, buffer, msg_index);
-            }
             else
             {
                 ok(size == size_w_to_a, "Wrong size %d/%d, msg_index=%d\n",




More information about the wine-cvs mailing list