[PATCH] dwrite: remove unused hresult assignment (Coverity)

Marcus Meissner marcus at jet.franken.de
Sun Nov 2 04:10:16 CST 2014


1250627 Unused value

it is not checked below either.
---
 dlls/dwrite/font.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/dwrite/font.c b/dlls/dwrite/font.c
index ed0a760..d5819ef 100644
--- a/dlls/dwrite/font.c
+++ b/dlls/dwrite/font.c
@@ -1499,7 +1499,7 @@ HRESULT create_font_collection(IDWriteFactory* factory, IDWriteFontFileEnumerato
             exists = FALSE;
             hr = collection_find_family(collection, buffer, &index, &exists);
             if (exists)
-                hr = fontfamily_add_font(collection->family_data[index], font_data);
+                fontfamily_add_font(collection->family_data[index], font_data);
             else {
                 struct dwrite_fontfamily_data *family_data;
 
-- 
1.8.4.5




More information about the wine-patches mailing list