From ec8de98740effdc529f97ef5ce85680faa655209 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Sat, 18 Sep 2010 18:51:22 +0000 Subject: [PATCH] avoid compiler warnings --- include/mapnik/svg/svg_path_adapter.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mapnik/svg/svg_path_adapter.hpp b/include/mapnik/svg/svg_path_adapter.hpp index 6dc859235..a97a78189 100644 --- a/include/mapnik/svg/svg_path_adapter.hpp +++ b/include/mapnik/svg/svg_path_adapter.hpp @@ -154,7 +154,7 @@ public: template void concat_path(VertexSource& vs, unsigned path_id = 0) { - double x, y; + double x(0), y(0); unsigned cmd; vs.rewind(path_id); while(!is_stop(cmd = vs.vertex(&x, &y)))