removed unused variables to calm msvc toolset

This commit is contained in:
Artem Pavlenko 2007-11-08 21:11:12 +00:00
parent 0e9c542d11
commit c5bca5ab96

View file

@ -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<float>(*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 " +