From bf4b5b4b7e90c81f944b9e272f685a46d5866723 Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Mon, 11 Aug 2014 10:58:39 +0200 Subject: [PATCH] The conditional expressions of the 'if' operators situated alongside each other are identical. http://www.viva64.com/en/d/0183/print/ --- FileIO/Legacy/OGSIOVer4.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/FileIO/Legacy/OGSIOVer4.cpp b/FileIO/Legacy/OGSIOVer4.cpp index 1d7042b710e..c354d69be35 100644 --- a/FileIO/Legacy/OGSIOVer4.cpp +++ b/FileIO/Legacy/OGSIOVer4.cpp @@ -604,11 +604,7 @@ void writeGLIFileV4 (const std::string& fname, for (std::size_t j(0); j < (*plys)[k]->getNumberOfPoints(); j++) os << " " << ((*plys)[k])->getPointID(j) << "\n"; } - } - if (plys_vec) - { - const std::vector<GeoLib::Polyline*>* plys(plys_vec->getVector()); INFO("GeoLib::writeGLIFileV4(): write closed polylines as surfaces to file %s.", fname.c_str()); for (std::size_t k(0); k < plys->size(); k++) -- GitLab