Fixed a couple bugs caught by clang's static analyzer

This commit is contained in:
Alex Szpakowski
2013-09-18 18:30:12 -03:00
parent 69dc24d7ce
commit 74f26160da
4 changed files with 6 additions and 4 deletions
@@ -65,7 +65,7 @@ int TrueTypeRasterizer::getLineHeight() const
GlyphData *TrueTypeRasterizer::getGlyphData(uint32 glyph) const
{
love::font::GlyphMetrics glyphMetrics;
love::font::GlyphMetrics glyphMetrics = {};
FT_Glyph ftglyph;
// Initialize