Commit a582b389 authored by Ricardo Filipe's avatar Ricardo Filipe Committed by Alexandre Julliard

crypt32: Remove dead code (llvm/clang).

parent 28a71b3d
...@@ -1723,12 +1723,11 @@ static BOOL WINAPI CRYPT_FormatCRLDistPoints(DWORD dwCertEncodingType, ...@@ -1723,12 +1723,11 @@ static BOOL WINAPI CRYPT_FormatCRLDistPoints(DWORD dwCertEncodingType,
pbEncoded, cbEncoded, CRYPT_DECODE_ALLOC_FLAG, NULL, &info, &size))) pbEncoded, cbEncoded, CRYPT_DECODE_ALLOC_FLAG, NULL, &info, &size)))
{ {
static const WCHAR numFmt[] = { '%','d',0 }; static const WCHAR numFmt[] = { '%','d',0 };
static const WCHAR commaSep[] = { ',',' ',0 };
static const WCHAR colon[] = { ':',0 }; static const WCHAR colon[] = { ':',0 };
static BOOL stringsLoaded = FALSE; static BOOL stringsLoaded = FALSE;
DWORD bytesNeeded = sizeof(WCHAR); /* space for NULL terminator */ DWORD bytesNeeded = sizeof(WCHAR); /* space for NULL terminator */
BOOL haveAnEntry = FALSE; BOOL haveAnEntry = FALSE;
LPCWSTR headingSep, distPointSep, nameSep; LPCWSTR headingSep, nameSep;
WCHAR distPointNum[11]; WCHAR distPointNum[11];
DWORD i; DWORD i;
...@@ -1751,13 +1750,11 @@ static BOOL WINAPI CRYPT_FormatCRLDistPoints(DWORD dwCertEncodingType, ...@@ -1751,13 +1750,11 @@ static BOOL WINAPI CRYPT_FormatCRLDistPoints(DWORD dwCertEncodingType,
if (dwFormatStrType & CRYPT_FORMAT_STR_MULTI_LINE) if (dwFormatStrType & CRYPT_FORMAT_STR_MULTI_LINE)
{ {
headingSep = crlf; headingSep = crlf;
distPointSep = crlf;
nameSep = colonCrlf; nameSep = colonCrlf;
} }
else else
{ {
headingSep = colonSep; headingSep = colonSep;
distPointSep = commaSep;
nameSep = colon; nameSep = colon;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment