From 74bb2da73b31a3db51e7af4af3309810ff075bbd Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Mon, 18 Apr 2011 18:48:57 +0000 Subject: [PATCH] avoid uninitialized variable warning --- include/mapnik/ctrans.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mapnik/ctrans.hpp b/include/mapnik/ctrans.hpp index 4a0a44bdd..e18e80fd8 100644 --- a/include/mapnik/ctrans.hpp +++ b/include/mapnik/ctrans.hpp @@ -73,7 +73,7 @@ struct MAPNIK_DECL coord_transform2 unsigned vertex(double * x , double * y) const { - unsigned command; + unsigned command(SEG_MOVETO); bool ok = false; bool skipped_points = false; while (!ok)