https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2fa400b5215195054ad8dc...
commit 2fa400b5215195054ad8dc7d3d236ed36b25f996 Author: Mark Jansen mark.jansen@reactos.org AuthorDate: Sat Dec 29 19:44:26 2018 +0100 Commit: Mark Jansen mark.jansen@reactos.org CommitDate: Sat Dec 29 19:46:59 2018 +0100
[FONT][WIN32SS] Do not return an uninitialized variable --- win32ss/gdi/ntgdi/freetype.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/win32ss/gdi/ntgdi/freetype.c b/win32ss/gdi/ntgdi/freetype.c index cd548a5bca..8ab25b94a9 100644 --- a/win32ss/gdi/ntgdi/freetype.c +++ b/win32ss/gdi/ntgdi/freetype.c @@ -5821,6 +5821,7 @@ GreExtTextOutW( { DPRINT1("Failed to load glyph! [index: %d]\n", glyph_index); IntUnLockFreeType(); + bResult = FALSE; goto Cleanup; }
@@ -5834,6 +5835,7 @@ GreExtTextOutW( { DPRINT1("Failed to render glyph! [index: %d]\n", glyph_index); IntUnLockFreeType(); + bResult = FALSE; goto Cleanup; }