small cleanup

This commit is contained in:
Artem Pavlenko 2006-03-23 21:45:32 +00:00
parent fce4076ad5
commit d35e9f047e
3 changed files with 9 additions and 9 deletions

View file

@ -248,7 +248,7 @@ namespace mapnik
FT_Face face = face_->get_face();
FT_GlyphSlot slot = face->glyph;
FT_Bool use_kerning;
FT_UInt previous;
FT_UInt previous = 0;
pen.x = 0;
pen.y = 0;

View file

@ -26,12 +26,12 @@
DATASOURCE_PLUGIN(shape_datasource)
shape_datasource::shape_datasource(const parameters &params)
: shape_name_(params.get("file")),
type_(datasource::Vector),
file_length_(0),
indexed_(false),
desc_(params.get("name"))
shape_datasource::shape_datasource(const parameters &params)
: shape_name_(params.get("file")),
type_(datasource::Vector),
file_length_(0),
indexed_(false),
desc_(params.get("name"))
{
try
{