[PROJ] false positive of cppcheck?

Javier Jimenez Shaw j1 at jimenezshaw.com
Mon Jul 6 00:26:47 PDT 2026


After updating my repo to upstream, I get this error

https://github.com/jjimenezshaw/PROJ/actions/runs/28773629301/job/85312573467

Cppcheck 2.22 dev
Running cppcheck on /home/runner/work/PROJ/PROJ/./scripts/../src... (can be
long)
/home/runner/work/PROJ/PROJ/src/iso19111/io.cpp:7259,style,knownConditionTrueFalse,Condition
'!datumAdded' is always true
knownConditionTrueFalse check failed

Is it a false positive?

In https://github.com/OSGeo/PROJ/actions/runs/28773631888/job/85312581973
the failure is there, but the test is green.

Am I missing anything?

Thank you
Javier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20260706/e776dd66/attachment.htm>


More information about the PROJ mailing list