From c5bca5ab9697db457447ae53e1d8780842521c1e Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Thu, 8 Nov 2007 21:11:12 +0000 Subject: [PATCH] removed unused variables to calm msvc toolset --- src/load_map.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/load_map.cpp b/src/load_map.cpp index 4cd59a39b..3b8f049db 100644 --- a/src/load_map.cpp +++ b/src/load_map.cpp @@ -151,7 +151,7 @@ namespace mapnik } } } - catch (const boost::property_tree::ptree_bad_path & ex) + catch (const boost::property_tree::ptree_bad_path &) { throw config_error("Not a map file. Node 'Map' not found."); } @@ -720,7 +720,7 @@ namespace mapnik float f = boost::lexical_cast(*itr); dash_array.push_back(f); } - catch ( boost::bad_lexical_cast & ex) + catch ( boost::bad_lexical_cast &) { throw config_error(std::string("Failed to parse CSS ") + "parameter '" + css_name + "'. Expected a " +