Amine Khaldi : crypt32: Remove an unneeded assignment.

Alexandre Julliard julliard at winehq.org
Thu Dec 17 10:37:07 CST 2009


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

Author: Amine Khaldi <amine48rz at gmail.com>
Date:   Wed Dec 16 18:19:15 2009 +0100

crypt32: Remove an unneeded assignment.

---

 dlls/crypt32/chain.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/crypt32/chain.c b/dlls/crypt32/chain.c
index e5ad7dc..0d1a2f0 100644
--- a/dlls/crypt32/chain.c
+++ b/dlls/crypt32/chain.c
@@ -619,7 +619,7 @@ static BOOL rfc822_name_matches(LPCWSTR constraint, LPCWSTR name,
         *trustErrorStatus |= CERT_TRUST_INVALID_NAME_CONSTRAINTS;
     else if (!name)
         ; /* no match */
-    else if ((at = strchrW(constraint, '@')))
+    else if (strchrW(constraint, '@'))
         match = !lstrcmpiW(constraint, name);
     else
     {




More information about the wine-cvs mailing list