diff --git a/include/agg_renderer.hpp b/include/agg_renderer.hpp index 9e714b3b4..a215bee65 100644 --- a/include/agg_renderer.hpp +++ b/include/agg_renderer.hpp @@ -38,7 +38,7 @@ namespace mapnik void end_map_processing(Map const& map); void start_layer_processing(Layer const& lay); void end_layer_processing(Layer const& lay); - void process(point_symbolizer const& sym,Feature const& feature); + void process(point_symbolizer const& sym,Feature const& feature); void process(line_symbolizer const& sym,Feature const& feature); void process(line_pattern_symbolizer const& sym,Feature const& feature); void process(polygon_symbolizer const& sym,Feature const& feature); diff --git a/include/font_engine_freetype.hpp b/include/font_engine_freetype.hpp index f7d014cf6..2e4aed997 100644 --- a/include/font_engine_freetype.hpp +++ b/include/font_engine_freetype.hpp @@ -248,12 +248,12 @@ 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; - use_kerning = FT_HAS_KERNING(face)>0?true:false; + use_kerning = FT_HAS_KERNING(face)>0?true:false; FT_BBox bbox; bbox.xMin = bbox.yMin = 32000; diff --git a/plugins/input/shape/shape.cpp b/plugins/input/shape/shape.cpp index c0c534c59..5843702e0 100644 --- a/plugins/input/shape/shape.cpp +++ b/plugins/input/shape/shape.cpp @@ -26,12 +26,12 @@ DATASOURCE_PLUGIN(shape_datasource) -shape_datasource::shape_datasource(const parameters ¶ms) -: shape_name_(params.get("file")), -type_(datasource::Vector), -file_length_(0), -indexed_(false), -desc_(params.get("name")) + shape_datasource::shape_datasource(const parameters ¶ms) + : shape_name_(params.get("file")), + type_(datasource::Vector), + file_length_(0), + indexed_(false), + desc_(params.get("name")) { try {