2026-05-01 18:31 ftp://ftp.de.debian.org/debian/pool/main/e/erlang-p1-xml/erlang-p1-xml_1.1.57.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j6 platform: Linux-7.0.3+deb14-amd64-x86_64-with-glibc2.42 python: 3.13.12 client-version: 1.4.0 compiler: g++ (Debian 15.2.0-17) 15.2.0 cppcheck: head 2.20.0 head-info: e5c4a734 (2026-05-01 11:10:43 +0200) count: 17 17 elapsed-time: 0.4 0.3 head-timing-info: old-timing-info: head results: erlang-p1-xml-1.1.57/c_src/fxml.c:98:65: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] erlang-p1-xml-1.1.57/c_src/fxml.c:105:73: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] erlang-p1-xml-1.1.57/c_src/fxml.c:133:74: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] erlang-p1-xml-1.1.57/c_src/fxml_stream.c:326:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_FALSE [valueFlowBailoutIncompleteVar] erlang-p1-xml-1.1.57/c_src/fxml_stream.c:499:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_FALSE [valueFlowBailoutIncompleteVar] erlang-p1-xml-1.1.57/c_src/fxml_stream.c:570:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_FALSE [valueFlowBailoutIncompleteVar] erlang-p1-xml-1.1.57/c_src/fxml_stream.c:659:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_FALSE [valueFlowBailoutIncompleteVar] erlang-p1-xml-1.1.57/c_src/fxml_stream.c:703:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_FALSE [valueFlowBailoutIncompleteVar] erlang-p1-xml-1.1.57/c_src/fxml_stream.c:797:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ErlNifPid [valueFlowBailoutIncompleteVar] erlang-p1-xml-1.1.57/c_src/fxml_stream.c:808:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERL_NIF_RT_CREATE [valueFlowBailoutIncompleteVar] erlang-p1-xml-1.1.57/c_src/fxml_stream.c:826:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ERROR_EXTERNAL_ENTITY_HANDLING [valueFlowBailoutIncompleteVar] erlang-p1-xml-1.1.57/c_src/fxml_stream.c:877:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERL_NIF_LATIN1 [valueFlowBailoutIncompleteVar] erlang-p1-xml-1.1.57/c_src/fxml_stream.c:999:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ErlNifPid [valueFlowBailoutIncompleteVar] erlang-p1-xml-1.1.57/c_src/fxml_stream.c:1038:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERL_NIF_LATIN1 [valueFlowBailoutIncompleteVar] erlang-p1-xml-1.1.57/c_src/fxml_stream.c:136:49: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] erlang-p1-xml-1.1.57/c_src/fxml_stream.c:715:37: style: Parameter 'state' can be declared as pointer to const. However it seems that 'erlXML_DefaultHandler' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] erlang-p1-xml-1.1.57/c_src/fxml_stream.c:783:61: note: You might need to cast the function pointer here erlang-p1-xml-1.1.57/c_src/fxml_stream.c:715:37: note: Parameter 'state' can be declared as pointer to const erlang-p1-xml-1.1.57/c_src/fxml_stream.c:789:46: style: Parameter 'pid' can be declared as pointer to const [constParameterPointer] diff: DONE