crypt32: Remove dead code (llvm/clang).
This commit is contained in:
parent
28a71b3da3
commit
a582b389aa
|
@ -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,
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue