diff --git a/Modules/IO/IOGDAL/src/otbGDALImageIO.cxx b/Modules/IO/IOGDAL/src/otbGDALImageIO.cxx index 22cdc92cd695dbba7937858a4d994bc9ea0ceba5..5a8f62ce70387bd3b372b02747aca18c056663d0 100644 --- a/Modules/IO/IOGDAL/src/otbGDALImageIO.cxx +++ b/Modules/IO/IOGDAL/src/otbGDALImageIO.cxx @@ -1508,7 +1508,6 @@ void GDALImageIO::InternalWriteImageInformation(const void* buffer) /* -------------------------------------------------------------------- */ /* Set the RPC coeffs if no projection available (since GDAL 1.10.0) */ /* -------------------------------------------------------------------- */ -#if GDAL_VERSION_NUM >= 1100000 ImageKeywordlist otb_kwl; itk::ExposeMetaData<ImageKeywordlist>(dict, MetaDataKey::OSSIMKeywordlistKey, @@ -1523,7 +1522,6 @@ void GDALImageIO::InternalWriteImageInformation(const void* buffer) CSLDestroy( rpcMetadata ); } } -#endif } /* -------------------------------------------------------------------- */