shell32/tests: Remove support for a todo_wine flag in ShellExecute()'s test_lnks() loop.

Francois Gouget fgouget at free.fr
Sun Feb 7 22:25:14 CST 2016


The todo_wine was actually missing, resulting in two identical if branches. So simplify the code until the flag is needed.

Signed-off-by: Francois Gouget <fgouget at free.fr>
---
 dlls/shell32/tests/shlexec.c | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/dlls/shell32/tests/shlexec.c b/dlls/shell32/tests/shlexec.c
index 259ba06..4f708df 100644
--- a/dlls/shell32/tests/shlexec.c
+++ b/dlls/shell32/tests/shlexec.c
@@ -2189,14 +2189,7 @@ static void test_lnks(void)
                 okChildString("argvA3", "Lnk");
             }
             sprintf(params, test->basename, tmpdir);
-            if ((test->todo & 0x8)==0)
-            {
-                okChildPath("argvA4", params);
-            }
-            else
-            {
-                okChildPath("argvA4", params);
-            }
+            okChildPath("argvA4", params);
         }
         test++;
     }
-- 
2.7.0




More information about the wine-patches mailing list