2025-11-26 02:03 ftp://ftp.de.debian.org/debian/pool/main/e/elkcode/elkcode_10.4.9.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 -j4 platform: Linux-6.12.57+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: 796b181 (2025-11-25 16:14:10 +0100) count: 11 11 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: elk-10.4.9/utilities/xps/conv.c:45:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] elk-10.4.9/utilities/xps/conv.c:50:16: style: Local variable 'Ef' shadows outer variable [shadowVariable] elk-10.4.9/utilities/xps/conv.c:23:14: note: Shadowed declaration elk-10.4.9/utilities/xps/conv.c:50:16: note: Shadow variable elk-10.4.9/utilities/xps/conv.c:25:14: style: Parameter 't1' can be declared as pointer to const. However it seems that 'cmp1' is a callback function, if 't1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] elk-10.4.9/utilities/xps/conv.c:79:24: note: You might need to cast the function pointer here elk-10.4.9/utilities/xps/conv.c:25:14: note: Parameter 't1' can be declared as pointer to const elk-10.4.9/utilities/xps/conv.c:25:22: style: Parameter 't2' can be declared as pointer to const. However it seems that 'cmp1' is a callback function, if 't2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] elk-10.4.9/utilities/xps/conv.c:79:24: note: You might need to cast the function pointer here elk-10.4.9/utilities/xps/conv.c:25:22: note: Parameter 't2' can be declared as pointer to const elk-10.4.9/utilities/xps/conv.c:48:11: style: Variable 'tabl' can be declared as pointer to const [constVariablePointer] elk-10.4.9/utilities/xps/conv.c:48:15: style: Variable 'tabl' is assigned a value that is never used. [unreadVariable] elk-10.4.9/utilities/xps/conv.c:69:20: style: Variable 'n2' is assigned a value that is never used. [unreadVariable] elk-10.4.9/utilities/xps/conv.c:47:11: style: Unused variable: i1 [unusedVariable] elk-10.4.9/utilities/xps/conv.c:48:16: style: Variable 'tabl' is allocated memory that is never used. [unusedAllocatedMemory] elk-10.4.9/utilities/xps/conv.c:67:10: style: Unused variable: y [unusedVariable] elk-10.4.9/utilities/xps/conv.c:69:18: style: Variable 'n2' is assigned a value that is never used. [unreadVariable] diff: DONE