Minor dlls/comctl32/tests/mru.c simplification

Gerald Pfeifer gerald at pfeifer.com
Fri Apr 23 13:56:36 CDT 2010


ChangeLog:
Remove variable iRet which is not really used from test_EnumMRUList.

diff --git a/dlls/comctl32/tests/mru.c b/dlls/comctl32/tests/mru.c
index 3eae9a9..24fcff5 100644
--- a/dlls/comctl32/tests/mru.c
+++ b/dlls/comctl32/tests/mru.c
@@ -471,11 +471,9 @@ static void test_EnumMRUList(void)
     /* NULL handle */
     if (0)
     {
-        INT iRet;
-
         /* crashes on NT4, passed on Win2k, XP, 2k3, Vista, 2k8 */
-        iRet = pEnumMRUList(NULL, 0, NULL, 0);
-        iRet = pEnumMRUListW(NULL, 0, NULL, 0);
+        pEnumMRUList(NULL, 0, NULL, 0);
+        pEnumMRUListW(NULL, 0, NULL, 0);
     }
 }
 



More information about the wine-patches mailing list