remove dead code

This commit is contained in:
artemp 2015-06-10 16:32:05 +01:00
parent 40b963f9ad
commit 1a95f1753e

View file

@ -472,16 +472,7 @@ void csv_datasource::parse_csv(T & stream,
try
{
// special handling for varieties of quoting that we will enounter with json
// TODO - test with custom "quo" option
#if 0 // TODO - remove
if (has_json_field && (quo == "\"") && (std::count(csv_line.begin(), csv_line.end(), '"') >= 6))
{
csv_utils::fix_json_quoting(csv_line);
}
#endif
auto values = mapnik::parse_line(csv_line, sep);
unsigned num_fields = values.size();
if (num_fields > num_headers)
{