From dbb4e67737d447a913c194415a95bf9ead7709e9 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Tue, 25 Jun 2013 16:54:30 +0200 Subject: [PATCH] Fixed warning about a not initialized variable. --- common/gal/stroke_font.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/gal/stroke_font.cpp b/common/gal/stroke_font.cpp index b4b89965de..3f0958284e 100644 --- a/common/gal/stroke_font.cpp +++ b/common/gal/stroke_font.cpp @@ -56,8 +56,8 @@ bool STROKE_FONT::LoadNewStrokeFont( const char* const aNewStrokeFont[], int aNe for( int j = 0; j < aNewStrokeFontSize; j++ ) { Glyph glyph; - double glyphStartX; - double glyphEndX; + double glyphStartX = 0.0; + double glyphEndX = 0.0; VECTOR2D glyphBoundingX; std::deque pointList;