Andrew Talbot : cryptnet: Remove unused function.
Alexandre Julliard
julliard at winehq.org
Tue May 20 09:06:22 CDT 2008
Module: wine
Branch: master
Commit: 2289717a5980fba0559585ec779b001d822792ce
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2289717a5980fba0559585ec779b001d822792ce
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Mon May 19 22:13:13 2008 +0100
cryptnet: Remove unused function.
---
dlls/cryptnet/cryptnet_main.c | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/dlls/cryptnet/cryptnet_main.c b/dlls/cryptnet/cryptnet_main.c
index 30f9350..5bf1afe 100644
--- a/dlls/cryptnet/cryptnet_main.c
+++ b/dlls/cryptnet/cryptnet_main.c
@@ -453,17 +453,6 @@ static BOOL CRYPT_GetObjectFromCache(LPCWSTR pszURL, PCRYPT_BLOB_ARRAY pObject,
return ret;
}
-static inline LPWSTR strndupW(LPWSTR string, int len)
-{
- LPWSTR ret = NULL;
- if (string && (ret = CryptMemAlloc((len + 1) * sizeof(WCHAR))) != NULL)
- {
- memcpy(ret, string, len * sizeof(WCHAR));
- ret[len] = 0;
- }
- return ret;
-}
-
/* Parses the URL, and sets components's lpszHostName and lpszUrlPath members
* to NULL-terminated copies of those portions of the URL (to be freed with
* CryptMemFree.)
More information about the wine-cvs
mailing list