Gerald Pfeifer : cryptdlg: Remove variable headingSep which is not really used from CRYPT_FormatCPS.

Alexandre Julliard julliard at winehq.org
Wed May 5 11:08:36 CDT 2010


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

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Wed May  5 00:24:27 2010 +0200

cryptdlg: Remove variable headingSep which is not really used from CRYPT_FormatCPS.

---

 dlls/cryptdlg/main.c |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/dlls/cryptdlg/main.c b/dlls/cryptdlg/main.c
index f6653ec..04311fd 100644
--- a/dlls/cryptdlg/main.c
+++ b/dlls/cryptdlg/main.c
@@ -534,19 +534,13 @@ static BOOL CRYPT_FormatCPS(DWORD dwCertEncodingType,
     if ((ret = CryptDecodeObjectEx(dwCertEncodingType, X509_UNICODE_ANY_STRING,
      pbEncoded, cbEncoded, CRYPT_DECODE_ALLOC_FLAG, NULL, &cpsValue, &size)))
     {
-        LPCWSTR headingSep, sep;
+        LPCWSTR sep;
         DWORD sepLen;
 
         if (dwFormatStrType & CRYPT_FORMAT_STR_MULTI_LINE)
-        {
-            headingSep = colonCrlf;
             sep = crlf;
-        }
         else
-        {
-            headingSep = colonSpace;
             sep = commaSep;
-        }
 
         sepLen = strlenW(sep);
 




More information about the wine-cvs mailing list