From 4c6e57654f59a625c58726019093db5aa7b9e494 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Tue, 1 Mar 2011 17:08:06 +0100 Subject: [PATCH] kernel32/tests: Add SetLastError() before a test (Valgrind). --- dlls/kernel32/tests/fiber.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/kernel32/tests/fiber.c b/dlls/kernel32/tests/fiber.c index 9811439c80e..0e685351b46 100644 --- a/dlls/kernel32/tests/fiber.c +++ b/dlls/kernel32/tests/fiber.c @@ -138,6 +138,7 @@ static void test_FiberHandling(void) return; } + SetLastError(0xdeadbeef); fibers[1] = pCreateFiberEx(0,0,0,FiberMainProc,&testparam); ok(fibers[1] != 0, "CreateFiberEx failed with error %d\n", GetLastError());