From 5a606e242b0131bdfad7e326b395df2e75a7a0b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Traizet?= <cedric.traizet@c-s.fr> Date: Thu, 20 Dec 2018 15:39:40 +0100 Subject: [PATCH] ENH: removed test for GDAL 1.10 version (drop for gdal 1.X support) --- Modules/IO/IOGDAL/src/otbGDALImageIO.cxx | 2 -- 1 file changed, 2 deletions(-) diff --git a/Modules/IO/IOGDAL/src/otbGDALImageIO.cxx b/Modules/IO/IOGDAL/src/otbGDALImageIO.cxx index 22cdc92cd6..5a8f62ce70 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 } /* -------------------------------------------------------------------- */ -- GitLab