Skip to content
Snippets Groups Projects
Commit 09fb3957 authored by Julien Malik's avatar Julien Malik
Browse files

WRG: unused-but-set-variable

parent d4e55afc
No related branches found
No related tags found
No related merge requests found
......@@ -281,6 +281,7 @@ void OGRVectorDataIO::Write(const itk::DataObject* datag, char ** papszOptions)
layerKept = IOConversion->ProcessNodeWrite(inputRoot, m_DataSource, ogrCollection, ogrCurrentLayer, oSRS);
otbMsgDevMacro( << "layerKept " << layerKept );
(void)layerKept; // keep compiler happy
OGRDataSource::DestroyDataSource(m_DataSource);
m_DataSource = NULL;
......
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