Juan Lang : crypt32: ret is already true, don't retest it.

Alexandre Julliard julliard at winehq.org
Tue Sep 18 05:31:34 CDT 2007


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

Author: Juan Lang <juan.lang at gmail.com>
Date:   Mon Sep 17 17:59:53 2007 -0700

crypt32: ret is already true, don't retest it.

---

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

diff --git a/dlls/crypt32/decode.c b/dlls/crypt32/decode.c
index 0125fef..caf34cb 100644
--- a/dlls/crypt32/decode.c
+++ b/dlls/crypt32/decode.c
@@ -517,7 +517,7 @@ static BOOL CRYPT_AsnDecodeSequence(struct AsnDecodeSequenceItem items[],
                     bytesNeeded += items[i].size;
                     structSize += items[i].minSize;
                 }
-                if (ret && pcbDecoded)
+                if (pcbDecoded)
                     *pcbDecoded = 1 + lenBytes + cbDecoded;
                 if (!pvStructInfo)
                     *pcbStructInfo = bytesNeeded;




More information about the wine-cvs mailing list