Francois Gouget : dwrite: Factory_release_cached_fontface() is unused so remove it.

Alexandre Julliard julliard at winehq.org
Fri Sep 8 15:03:21 CDT 2017


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Fri Sep  8 02:18:04 2017 +0200

dwrite: Factory_release_cached_fontface() is unused so remove it.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dwrite/main.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/dlls/dwrite/main.c b/dlls/dwrite/main.c
index 555860a..0dce133 100644
--- a/dlls/dwrite/main.c
+++ b/dlls/dwrite/main.c
@@ -947,12 +947,6 @@ struct fontfacecached *factory_cache_fontface(IDWriteFactory5 *iface, struct lis
     return cached;
 }
 
-void factory_release_cached_fontface(struct fontfacecached *cached)
-{
-    list_remove(&cached->entry);
-    heap_free(cached);
-}
-
 static HRESULT WINAPI dwritefactory_CreateFontFace(IDWriteFactory5 *iface, DWRITE_FONT_FACE_TYPE req_facetype,
     UINT32 files_number, IDWriteFontFile* const* font_files, UINT32 index, DWRITE_FONT_SIMULATIONS simulations,
     IDWriteFontFace **fontface)




More information about the wine-cvs mailing list