Skip to content
Snippets Groups Projects
Commit 00a59d0f authored by Antoine Regimbeau's avatar Antoine Regimbeau
Browse files

BUG: Mantis 1507 option array used in gdal need to end with nullptr

parent 80a1152a
No related branches found
No related tags found
No related merge requests found
...@@ -215,7 +215,7 @@ LabelImageToOGRDataSourceFilter<TInputImage> ...@@ -215,7 +215,7 @@ LabelImageToOGRDataSourceFilter<TInputImage>
//Call GDALPolygonize() //Call GDALPolygonize()
char ** options; char ** options;
options = ITK_NULLPTR; options = ITK_NULLPTR;
char * option[1]; char * option[2]= { nullptr , nullptr } ;
if (m_Use8Connected == true) if (m_Use8Connected == true)
{ {
std::string opt("8CONNECTED:8"); std::string opt("8CONNECTED:8");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment