diff --git a/include/mapnik/octree.hpp b/include/mapnik/octree.hpp index f9461db5d..89b47bc0c 100644 --- a/include/mapnik/octree.hpp +++ b/include/mapnik/octree.hpp @@ -114,8 +114,8 @@ namespace mapnik { : max_colors_(max_colors), colors_(0), leaf_level_(InsertPolicy::MAX_LEVELS), - root_(new node()), - has_alfa_(false) + has_alfa_(false), + root_(new node()) {} ~octree() { delete root_;} diff --git a/include/mapnik/png_io.hpp b/include/mapnik/png_io.hpp index 61b066ed1..6701fd28c 100644 --- a/include/mapnik/png_io.hpp +++ b/include/mapnik/png_io.hpp @@ -184,7 +184,7 @@ namespace mapnik { if (hasAlfa) { byte trans[] = {0,0,0,0}; - png_color_16p unused; + //png_color_16p unused; png_set_tRNS(png_ptr, info_ptr, (png_bytep)trans, 1, NULL); }