From 1a95f1753e186c6c83639f113b19bcb349e9a329 Mon Sep 17 00:00:00 2001 From: artemp Date: Wed, 10 Jun 2015 16:32:05 +0100 Subject: [PATCH] remove dead code --- plugins/input/csv/csv_datasource.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/plugins/input/csv/csv_datasource.cpp b/plugins/input/csv/csv_datasource.cpp index 8252c73a4..4a03e70de 100644 --- a/plugins/input/csv/csv_datasource.cpp +++ b/plugins/input/csv/csv_datasource.cpp @@ -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) {