2024-11-19 20:15 ftp://ftp.de.debian.org/debian/pool/main/l/ldap2zone/ldap2zone_0.2.orig.tar.gz 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-6.11.8_1-x86_64-with-glibc2.39 python: 3.12.7 client-version: 1.3.65 compiler: g++ (GCC) 13.2.0 cppcheck: head 2.15.0 head-info: ac3c395 (2024-11-19 18:42:47 +0100) count: 17 17 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: ldap2zone/ldap2zone.c:171:13: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldap2zone/ldap2zone.c:176:13: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldap2zone/ldap2zone.c:287:15: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable LDAP_SUCCESS [valueFlowBailoutIncompleteVar] ldap2zone/ldap2zone.c:373:12: style: Local variable 's' shadows outer variable [shadowVariable] ldap2zone/ldap2zone.c:248:11: note: Shadowed declaration ldap2zone/ldap2zone.c:373:12: note: Shadow variable ldap2zone/ldap2zone.c:30:83: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] ldap2zone/ldap2zone.c:59:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] ldap2zone/ldap2zone.c:108:21: style: Parameter 'defaultttl' can be declared as pointer to const [constParameterPointer] ldap2zone/ldap2zone.c:113:17: style: Variable 'type' can be declared as pointer to const [constVariablePointer] ldap2zone/ldap2zone.c:175:16: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] ldap2zone/ldap2zone.c:175:28: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] ldap2zone/ldap2zone.c:180:57: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] ldap2zone/ldap2zone.c:180:69: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] ldap2zone/ldap2zone.c:180:81: style: Parameter 'ttl' can be declared as pointer to const [constParameterPointer] ldap2zone/ldap2zone.c:180:101: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] ldap2zone/ldap2zone.c:253:15: style: Variable 'serial' can be declared as pointer to const [constVariablePointer] ldap2zone/ldap2zone.c:257:32: style: Variable 'sizelimit' is assigned a value that is never used. [unreadVariable] ldap2zone/ldap2zone.c:260:21: style: Unused variable: timeout [unusedVariable] diff: head ldap2zone/ldap2zone.c:171:13: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.15.0 ldap2zone/ldap2zone.c:171:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head ldap2zone/ldap2zone.c:176:13: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.15.0 ldap2zone/ldap2zone.c:176:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head ldap2zone/ldap2zone.c:287:15: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable LDAP_SUCCESS [valueFlowBailoutIncompleteVar] 2.15.0 ldap2zone/ldap2zone.c:287:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_SUCCESS [valueFlowBailoutIncompleteVar] DONE