Sync with trunk (r48008)
[reactos.git] / dll / win32 / cryptdlg / main.c
index f6653ec..04311fd 100644 (file)
@@ -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);