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

This commit is contained in:
Gerald Pfeifer 2010-05-05 00:24:27 +02:00 committed by Alexandre Julliard
parent b8ee145992
commit f215784edc
1 changed files with 1 additions and 7 deletions

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