diff options
Diffstat (limited to 'src/ports/SkFontHost_win.cpp')
-rw-r--r-- | src/ports/SkFontHost_win.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ports/SkFontHost_win.cpp b/src/ports/SkFontHost_win.cpp index ef17ca8af5..64fcfa4f6c 100644 --- a/src/ports/SkFontHost_win.cpp +++ b/src/ports/SkFontHost_win.cpp @@ -2050,7 +2050,7 @@ int LogFontTypeface::onCharsToGlyphs(const void* chars, Encoding encoding, WCHAR scratch[scratchCount]; int glyphIndex = 0; const char* currentUtf8 = reinterpret_cast<const char*>(chars); - SkUnichar currentChar; + SkUnichar currentChar = 0; if (glyphCount) { currentChar = SkUTF8_NextUnichar(¤tUtf8); } |