Commit 9d0ee185 authored by Manuel Grizonnet's avatar Manuel Grizonnet

WRG: declaration shadows a global variable

parent dca6e3fb
......@@ -797,7 +797,6 @@ BOOST_AUTO_TEST_CASE(Add_n_Read_Fields)
const std::string k_shp = "SomeShapeFileWithFeatures";
const std::string k_one = k_shp;
ogr::DataSource::Pointer ds = ogr::DataSource::New(k_shp+".shp", ogr::DataSource::Modes::Overwrite);
ogr::Layer l = ds -> CreateLayer(k_one, 0, wkbPoint);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment