2025-09-15 21:37 ftp://ftp.de.debian.org/debian/pool/main/r/rdiff-backup/rdiff-backup_2.2.6.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=python --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 -j4 platform: Linux-6.12.43+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 3e169d6 (2025-09-15 13:38:15 +0200) count: 13 13 elapsed-time: 0.1 0.1 head-timing-info: old-timing-info: head results: rdiff-backup-2.2.6/src/_librsyncmodule.c:77:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RS_MD4_SIG_MAGIC [valueFlowBailoutIncompleteVar] rdiff-backup-2.2.6/src/_librsyncmodule.c:113:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RS_BLOCKED [valueFlowBailoutIncompleteVar] rdiff-backup-2.2.6/src/_librsyncmodule.c:157:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_AttributeError [valueFlowBailoutIncompleteVar] rdiff-backup-2.2.6/src/_librsyncmodule.c:233:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RS_DONE [valueFlowBailoutIncompleteVar] rdiff-backup-2.2.6/src/_librsyncmodule.c:281:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RS_BLOCKED [valueFlowBailoutIncompleteVar] rdiff-backup-2.2.6/src/_librsyncmodule.c:325:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_AttributeError [valueFlowBailoutIncompleteVar] rdiff-backup-2.2.6/src/_librsyncmodule.c:394:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] rdiff-backup-2.2.6/src/_librsyncmodule.c:453:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RS_BLOCKED [valueFlowBailoutIncompleteVar] rdiff-backup-2.2.6/src/_librsyncmodule.c:497:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_AttributeError [valueFlowBailoutIncompleteVar] rdiff-backup-2.2.6/src/_librsyncmodule.c:554:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyType_Type [valueFlowBailoutIncompleteVar] rdiff-backup-2.2.6/src/cmodule.c:47:13: style: Parameter 'self' can be declared as pointer to const. However it seems that 'my_sync' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rdiff-backup-2.2.6/src/cmodule.c:180:12: note: You might need to cast the function pointer here rdiff-backup-2.2.6/src/cmodule.c:47:13: note: Parameter 'self' can be declared as pointer to const rdiff-backup-2.2.6/src/cmodule.c:48:13: style: Parameter 'args' can be declared as pointer to const. However it seems that 'my_sync' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rdiff-backup-2.2.6/src/cmodule.c:180:12: note: You might need to cast the function pointer here rdiff-backup-2.2.6/src/cmodule.c:48:13: note: Parameter 'args' can be declared as pointer to const rdiff-backup-2.2.6/src/_librsyncmodule.c:42:44: style: Parameter 'location' can be declared as pointer to const [constParameterPointer] diff: DONE