From 08455359bdad94832ec410e12a0fd161d69b2302 Mon Sep 17 00:00:00 2001 From: Mickael Savinaud <mickael.savinaud@c-s.fr> Date: Wed, 1 Apr 2015 15:43:00 +0200 Subject: [PATCH] ENH: fix a small error in the migration --- Modules/IO/IOJPEG2000/src/otbJPEG2000ImageIO.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/IO/IOJPEG2000/src/otbJPEG2000ImageIO.cxx b/Modules/IO/IOJPEG2000/src/otbJPEG2000ImageIO.cxx index 0850c2a667..d67338ea19 100644 --- a/Modules/IO/IOJPEG2000/src/otbJPEG2000ImageIO.cxx +++ b/Modules/IO/IOJPEG2000/src/otbJPEG2000ImageIO.cxx @@ -302,7 +302,7 @@ int JPEG2000InternalReader::Open(const char *filename, unsigned int resolution) this->m_FileName = str; // Open the file - if (!this->m_FileName.empty()) + if (this->m_FileName.empty()) { this->Clean(); return 0; -- GitLab