2024-04-23 01:25 ftp://ftp.de.debian.org/debian/pool/main/v/vobcopy/vobcopy_1.2.1.orig.tar.xz cppcheck-options: --library=posix --library=gnu --check-library --inconclusive --enable=style,information --inline-suppr --disable=missingInclude --suppress=unmatchedSuppression --template=daca2 --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j2 platform: Linux-6.6.15-amd64-x86_64-with-glibc2.37 python: 3.11.8 client-version: 1.3.53 compiler: g++ (Debian 13.2.0-13) 13.2.0 cppcheck: head 2.14.0 head-info: bd7136d (2024-04-22 21:34:48 +0200) count: 20 20 elapsed-time: 0.2 0.2 head-timing-info: old-timing-info: head results: vobcopy-1.2.1/vobcopy.c:485:29: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE_VERSION is a macro then please configure it. [unknownMacro] vobcopy-1.2.1/dvd.c:41:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] vobcopy-1.2.1/dvd.c:316:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] vobcopy-1.2.1/dvd.c:517:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] vobcopy-1.2.1/dvd.c:754:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] vobcopy-1.2.1/dvd.c:806:3: error: Memory leak: dvd_info.titles [memleak] vobcopy-1.2.1/dvd.c:608:38: style: Parameter 'provided_input_dir' can be declared as pointer to const [constParameterPointer] vobcopy-1.2.1/dvd.c:706:30: style: Parameter 'dt' can be declared as pointer to const [constParameterPointer] vobcopy-1.2.1/dvd.c:708:10: style: Variable 'frames_per_s' can be declared as const array [constVariable] vobcopy-1.2.1/dvd.c:722:51: style: Parameter 'dt' can be declared as pointer to const [constParameterPointer] vobcopy-1.2.1/dvd.c:724:10: style: Variable 'frames_per_s' can be declared as const array [constVariable] vobcopy-1.2.1/dvd.c:744:15: style: Variable 'vmgi_mat' can be declared as pointer to const [constVariablePointer] vobcopy-1.2.1/dvd.c:745:17: style: Variable 'video_attr' can be declared as pointer to const [constVariablePointer] vobcopy-1.2.1/dvd.c:115:11: style: Variable 'l' is assigned a value that is never used. [unreadVariable] vobcopy-1.2.1/dvd.c:112:9: style: Unused variable: tmp_streamin_fuseiso [unusedVariable] vobcopy-1.2.1/dvd.c:779:24: style: Variable 'dvd_info.title_count' is assigned a value that is never used. [unreadVariable] vobcopy-1.2.1/dvd.c:790:13: style: Variable 'video_attr' is assigned a value that is never used. [unreadVariable] vobcopy-1.2.1/dvd.c:792:11: style: Variable 'vmgi_mat' is assigned a value that is never used. [unreadVariable] vobcopy-1.2.1/dvd.c:796:36: style: Variable 'dvd_info.titles[j].general.length' is assigned a value that is never used. [unreadVariable] vobcopy-1.2.1/dvd.c:798:36: style: Variable 'dvd_info.titles[j].general.vts_id' is assigned a value that is never used. [unreadVariable] diff: DONE