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

Michael Stefaniuc mstefani at redhat.de
Wed Aug 10 06:05:46 CDT 2016


Signed-off-by: Michael Stefaniuc <mstefani at redhat.de>
---
One had a todo_wine that was removed with b2de316fc.


 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",
-- 
2.7.4



More information about the wine-patches mailing list