Commit f73733b8 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

crypt32: Remove dead code (Clang).

parent b732d428
......@@ -234,7 +234,6 @@ static BOOL BinaryToBase64A(const BYTE *pbBinary,
strcpy(ptr, trailer);
ptr += strlen(ptr);
strcpy(ptr, sep);
ptr += strlen(sep);
}
*pcchString = charsNeeded - 1;
}
......@@ -429,7 +428,6 @@ static BOOL BinaryToBase64W(const BYTE *pbBinary,
strcpyW(ptr, trailer);
ptr += strlenW(ptr);
strcpyW(ptr, sep);
ptr += strlenW(sep);
}
*pcchString = charsNeeded - 1;
}
......
......@@ -3302,7 +3302,6 @@ static BOOL match_dns_to_subject_dn(PCCERT_CONTEXT cert, LPCWSTR server_name)
{
LPCWSTR ptr = server_name;
matches = TRUE;
do {
LPCWSTR dot = strchrW(ptr, '.'), end;
/* 254 is the maximum DNS label length, see RFC 1035 */
......
......@@ -1841,7 +1841,6 @@ static BOOL WINAPI CRYPT_AsnEncodePolicyQualifierUserNotice(
CERT_NAME_VALUE displayTextValue;
DWORD cItem = 0;
ret = TRUE;
if (notice->pNoticeReference)
{
items[cItem].encodeFunc = CRYPT_AsnEncodeNoticeReference;
......
......@@ -1111,7 +1111,6 @@ static BOOL WINAPI CRYPT_FormatBasicConstraints2(DWORD dwCertEncodingType,
strcpyW(str, pathLengthHeader);
str += strlenW(pathLengthHeader);
strcpyW(str, pathLength);
str += strlenW(pathLength);
}
LocalFree(info);
}
......@@ -2468,7 +2467,6 @@ static BOOL WINAPI CRYPT_FormatSpcFinancialCriteria(DWORD dwCertEncodingType,
else
{
strcpyW(str, notAvailable);
str += strlenW(notAvailable);
}
}
}
......
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