crypt32: Remove dead code (llvm/clang).
authorRicardo Filipe <ricardo_barbano@hotmail.com>
Wed, 3 Dec 2008 03:30:03 +0000 (03:30 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 4 Dec 2008 11:41:47 +0000 (12:41 +0100)
dlls/crypt32/object.c

index df5e5099a3963c651868b35552b0fea2f4681e70..825dad587f1ceaa46d1abd238d09cea22b59ee16 100644 (file)
@@ -1723,12 +1723,11 @@ static BOOL WINAPI CRYPT_FormatCRLDistPoints(DWORD dwCertEncodingType,
      pbEncoded, cbEncoded, CRYPT_DECODE_ALLOC_FLAG, NULL, &info, &size)))
     {
         static const WCHAR numFmt[] = { '%','d',0 };
-        static const WCHAR commaSep[] = { ',',' ',0 };
         static const WCHAR colon[] = { ':',0 };
         static BOOL stringsLoaded = FALSE;
         DWORD bytesNeeded = sizeof(WCHAR); /* space for NULL terminator */
         BOOL haveAnEntry = FALSE;
-        LPCWSTR headingSep, distPointSep, nameSep;
+        LPCWSTR headingSep, nameSep;
         WCHAR distPointNum[11];
         DWORD i;
 
@@ -1751,13 +1750,11 @@ static BOOL WINAPI CRYPT_FormatCRLDistPoints(DWORD dwCertEncodingType,
         if (dwFormatStrType & CRYPT_FORMAT_STR_MULTI_LINE)
         {
             headingSep = crlf;
-            distPointSep = crlf;
             nameSep = colonCrlf;
         }
         else
         {
             headingSep = colonSep;
-            distPointSep = commaSep;
             nameSep = colon;
         }