crypt32/tests: remove a dead initialization (LLVM/Clang)

Austin English austinenglish at gmail.com
Wed Feb 16 19:50:14 CST 2011


We could probably remove this whole bit, since it's only needed for
Win9x, but this seemed nicer.

-- 
-Austin
-------------- next part --------------
diff --git a/dlls/crypt32/tests/protectdata.c b/dlls/crypt32/tests/protectdata.c
index 29d04e8..70a8ba8 100644
--- a/dlls/crypt32/tests/protectdata.c
+++ b/dlls/crypt32/tests/protectdata.c
@@ -244,7 +244,6 @@ static void test_simpleroundtrip(const char *plaintext)
 START_TEST(protectdata)
 {
     HMODULE hCrypt32 = GetModuleHandleA("crypt32.dll");
-    hCrypt32 = GetModuleHandleA("crypt32.dll");
     pCryptProtectData = (void*)GetProcAddress(hCrypt32, "CryptProtectData");
     pCryptUnprotectData = (void*)GetProcAddress(hCrypt32, "CryptUnprotectData");
     if (!pCryptProtectData || !pCryptUnprotectData)


More information about the wine-patches mailing list