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

Gerald Pfeifer gerald at pfeifer.com
Tue May 4 17:24:27 CDT 2010


---
 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);
 
-- 
1.6.6.2



More information about the wine-patches mailing list