crypt32: Remove dead code (llvm/clang).

This commit is contained in:
Ricardo Filipe 2008-12-03 03:30:03 +00:00 committed by Alexandre Julliard
parent 28a71b3da3
commit a582b389aa
1 changed files with 1 additions and 4 deletions

View File

@ -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;
} }