aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-03-26 13:30:52 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-03-26 13:30:52 +0100
commitaf0e994486346d89cdbe68fff68ce3c8d27b0c94 (patch)
treec1e2d01c9f4ba4d86b894fd7b81c5f18c40bf0bf /src
parenta3325679bfe3890b4764d70bdbe1850fc992bc31 (diff)
downloadPROJ-af0e994486346d89cdbe68fff68ce3c8d27b0c94.tar.gz
PROJ-af0e994486346d89cdbe68fff68ce3c8d27b0c94.zip
coordinateoperation.cpp: silent false positive about copy paste error. Coverity CID 193519
Diffstat (limited to 'src')
-rw-r--r--src/iso19111/coordinateoperation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/iso19111/coordinateoperation.cpp b/src/iso19111/coordinateoperation.cpp
index 50a6a003..ff104026 100644
--- a/src/iso19111/coordinateoperation.cpp
+++ b/src/iso19111/coordinateoperation.cpp
@@ -9163,6 +9163,7 @@ void ConcatenatedOperation::fixStepsDirection(
op = op->inverse();
}
} else if (i + 1 < operationsInOut.size()) {
+ /* coverity[copy_paste_error] */
l_targetCRS = operationsInOut[i + 1]->sourceCRS();
if (l_targetCRS) {
op->setCRSs(concatOpSourceCRS, NN_NO_CHECK(l_targetCRS),