Austin English : crypt32/tests: Remove a dead initialization (LLVM/Clang).

Alexandre Julliard julliard at winehq.org
Thu Feb 17 13:06:34 CST 2011


Module: wine
Branch: master
Commit: c4b1523b90cc2be7fb5ef3c8c84348d6aaf83cc1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c4b1523b90cc2be7fb5ef3c8c84348d6aaf83cc1

Author: Austin English <austinenglish at gmail.com>
Date:   Wed Feb 16 17:50:14 2011 -0800

crypt32/tests: Remove a dead initialization (LLVM/Clang).

---

 dlls/crypt32/tests/protectdata.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

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-cvs mailing list