From 54211c98457ee0457d775df44f0ec47937f44c3c Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 31 Aug 2021 21:08:47 +0200 Subject: io.cpp: remove always true test --- src/iso19111/io.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/iso19111/io.cpp b/src/iso19111/io.cpp index b7421afc..9dc0eb6c 100644 --- a/src/iso19111/io.cpp +++ b/src/iso19111/io.cpp @@ -8005,7 +8005,7 @@ const std::string &PROJStringFormatter::toString() const { if (d->maxLineLength_ > 0 && d->multiLine_ && curLine.size() + newKV.size() > static_cast(d->maxLineLength_)) { - if (d->multiLine_ && !d->result_.empty()) + if (!d->result_.empty()) d->result_ += '\n'; d->result_ += curLine; curLine = std::string( -- cgit v1.2.3