Nikolay Sivov : gdi32: Remove some useless returns.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Dec 15 15:32:05 CST 2014


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Mon Dec 15 08:56:26 2014 +0300

gdi32: Remove some useless returns.

---

 dlls/gdi32/freetype.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index f1af5d6..62e19a5 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -995,7 +995,6 @@ static void DumpSubstList(void)
 	    TRACE("%s -> %s\n", debugstr_w(psub->from.name),
 		  debugstr_w(psub->to.name));
     }
-    return;
 }
 
 static LPWSTR strdupW(LPCWSTR p)
@@ -2215,7 +2214,6 @@ static void DumpFontList(void)
             TRACE("\n");
 	}
     }
-    return;
 }
 
 /***********************************************************
@@ -3011,7 +3009,6 @@ static void update_reg_entries(void)
     if(external_key) RegCloseKey(external_key);
     if(win9x_key) RegCloseKey(win9x_key);
     if(winnt_key) RegCloseKey(winnt_key);
-    return;
 }
 
 static void delete_external_font_keys(void)
@@ -4658,7 +4655,6 @@ static void calc_hash(FONT_DESC *pfd)
     }
     hash ^= !pfd->can_use_bitmap;
     pfd->hash = hash;
-    return;
 }
 
 static GdiFont *find_in_cache(HFONT hfont, const LOGFONTW *plf, const FMAT2 *pmat, BOOL can_use_bitmap)
@@ -5839,7 +5835,6 @@ static void FTVectorToPOINTFX(FT_Vector *vec, POINTFX *pt)
     pt->y.value = vec->y >> 6;
     pt->y.fract = (vec->y & 0x3f) << 10;
     pt->y.fract |= ((pt->y.fract >> 6) | (pt->y.fract >> 12));
-    return;
 }
 
 /***************************************************




More information about the wine-cvs mailing list