2022-06-29 07:21 ftp://ftp.de.debian.org/debian/pool/main/libc/libcitygml/libcitygml_2.4.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j2 platform: Linux-5.4.0-110-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.24 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 cppcheck: head 2.8 head-info: b90a726 (2022-06-29 07:22:26 +0200) count: 9 8 elapsed-time: 809.1 1791.0 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: libcitygml-2.4.2/osgplugin/CitygmlOsgViewer.cpp:61:9: style:inconclusive: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] libcitygml-2.4.2/osgplugin/ReaderWriterCityGML.cpp:162:1: error: There is an unknown macro here somewhere. Configuration is required. If REGISTER_OSGPLUGIN is a macro then please configure it. [unknownMacro] libcitygml-2.4.2/sources/src/parser/addressparser.cpp:55:21: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] libcitygml-2.4.2/sources/src/parser/addressparser.cpp:53:17: note: outer condition: !g_nodeSetsInitialized libcitygml-2.4.2/sources/src/parser/addressparser.cpp:55:21: note: identical inner condition: !g_nodeSetsInitialized libcitygml-2.4.2/sources/src/parser/cityobjectelementparser.cpp:57:17: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] libcitygml-2.4.2/sources/src/parser/cityobjectelementparser.cpp:54:13: note: outer condition: !typeIDTypeMapInitialized libcitygml-2.4.2/sources/src/parser/cityobjectelementparser.cpp:57:17: note: identical inner condition: !typeIDTypeMapInitialized libcitygml-2.4.2/sources/src/parser/cityobjectelementparser.cpp:116:17: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] libcitygml-2.4.2/sources/src/parser/cityobjectelementparser.cpp:113:13: note: outer condition: !attributesSetInitialized libcitygml-2.4.2/sources/src/parser/cityobjectelementparser.cpp:116:17: note: identical inner condition: !attributesSetInitialized libcitygml-2.4.2/sources/src/parser/geometryelementparser.cpp:49:17: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] libcitygml-2.4.2/sources/src/parser/geometryelementparser.cpp:45:12: note: outer condition: !geometryTypeIDSetInitialized libcitygml-2.4.2/sources/src/parser/geometryelementparser.cpp:49:17: note: identical inner condition: !geometryTypeIDSetInitialized libcitygml-2.4.2/sources/src/parser/parserxercesc.cpp:207:9: style: Class 'StdLogger' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libcitygml-2.4.2/sources/src/parser/polygonelementparser.cpp:41:16: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] libcitygml-2.4.2/sources/src/parser/polygonelementparser.cpp:38:13: note: outer condition: !typeIDSetInitialized libcitygml-2.4.2/sources/src/parser/polygonelementparser.cpp:41:16: note: identical inner condition: !typeIDSetInitialized libcitygml-2.4.2/sources/src/parser/nodetypes.cpp:82:17: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] libcitygml-2.4.2/sources/src/parser/nodetypes.cpp:79:12: note: outer condition: !nodesInitialized libcitygml-2.4.2/sources/src/parser/nodetypes.cpp:82:17: note: identical inner condition: !nodesInitialized diff: head libcitygml-2.4.2/sources/src/parser/parserxercesc.cpp:207:9: style: Class 'StdLogger' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] DONE