Michael Stefaniuc : gdi32: Remove unused return value of init_system_links ().

Alexandre Julliard julliard at winehq.org
Thu Mar 14 18:33:21 CDT 2019


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

Author: Michael Stefaniuc <mstefani at winehq.org>
Date:   Tue Mar 12 21:19:19 2019 +0100

gdi32: Remove unused return value of init_system_links().

Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/gdi32/freetype.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index 68d232e..333856e 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -2568,10 +2568,9 @@ static void populate_system_links(const WCHAR *name, const WCHAR *const *values)
 /*************************************************************
  * init_system_links
  */
-static BOOL init_system_links(void)
+static void init_system_links(void)
 {
     HKEY hkey;
-    BOOL ret = FALSE;
     DWORD type, max_val, max_data, val_len, data_len, index;
     WCHAR *value, *data;
     WCHAR *entry, *next;
@@ -2717,7 +2716,6 @@ skip_internal:
         }
     }
     list_add_tail(&system_links, &system_font_link->entry);
-    return ret;
 }
 
 static BOOL ReadFontDir(const char *dirname, BOOL external_fonts)




More information about the wine-cvs mailing list