Ricardo Filipe : crypt32: Remove dead code (llvm/clang).

Alexandre Julliard julliard at winehq.org
Thu Dec 4 09:02:27 CST 2008


Module: wine
Branch: master
Commit: a582b389aaf97fc52225ee940ce7c483d82645dc
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a582b389aaf97fc52225ee940ce7c483d82645dc

Author: Ricardo Filipe <ricardo_barbano at hotmail.com>
Date:   Wed Dec  3 03:30:03 2008 +0000

crypt32: Remove dead code (llvm/clang).

---

 dlls/crypt32/object.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/dlls/crypt32/object.c b/dlls/crypt32/object.c
index df5e509..825dad5 100644
--- a/dlls/crypt32/object.c
+++ b/dlls/crypt32/object.c
@@ -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;
         }
 




More information about the wine-cvs mailing list