diff --git a/include/mapnik/markers_placements/line.hpp b/include/mapnik/markers_placements/line.hpp index 38d68f380..1ac2d353b 100644 --- a/include/mapnik/markers_placements/line.hpp +++ b/include/mapnik/markers_placements/line.hpp @@ -38,11 +38,12 @@ class markers_line_placement : public markers_point_placement public: markers_line_placement(Locator &locator, Detector &detector, markers_placement_params const& params) : markers_point_placement(locator, detector, params), - marker_width_((params.size * params.tr).width()), last_x(0.0), last_y(0.0), next_x(0.0), next_y(0.0), + spacing_(0.0), + marker_width_((params.size * params.tr).width()), error_(0.0), spacing_left_(0.0), marker_nr_(0)