From 3e88d45f7c245a072d9ca8815f45a460da24a5fc Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 29 Jan 2009 22:08:07 +0100 Subject: [PATCH] kernel32/tests: Don't test the implementation details of the SList structure. --- dlls/kernel32/tests/sync.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dlls/kernel32/tests/sync.c b/dlls/kernel32/tests/sync.c index 62be4c72090..391046658f1 100644 --- a/dlls/kernel32/tests/sync.c +++ b/dlls/kernel32/tests/sync.c @@ -197,7 +197,7 @@ static void test_slist(void) int value; } item1, item2, item3, *pitem; - SLIST_HEADER slist_header, test_header; + SLIST_HEADER slist_header; PSLIST_ENTRY entry; USHORT size; @@ -224,11 +224,8 @@ static void test_slist(void) return; } - memset(&test_header, 0, sizeof(test_header)); memset(&slist_header, 0xFF, sizeof(slist_header)); pInitializeSListHead(&slist_header); - ok(memcmp(&test_header, &slist_header, sizeof(SLIST_HEADER)) == 0, - "InitializeSListHead didn't zero-fill list header\n"); size = pQueryDepthSList(&slist_header); ok(size == 0, "initially created slist has size %d, expected 0\n", size);