2026-05-01 22:13 ftp://ftp.de.debian.org/debian/pool/main/f/flwrap/flwrap_1.3.6.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-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: 61 61 elapsed-time: 0.9 0.7 head-timing-info: old-timing-info: head results: flwrap-1.3.6/src/base64.cxx:25:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iolen [valueFlowBailoutIncompleteVar] flwrap-1.3.6/src/base64.cxx:73:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable output [valueFlowBailoutIncompleteVar] flwrap-1.3.6/src/base64.cxx:119:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable output [valueFlowBailoutIncompleteVar] flwrap-1.3.6/src/flwrap.cxx:553:22: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] flwrap-1.3.6/src/wrapdialog.cxx:22:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usecompression [valueFlowBailoutIncompleteVar] flwrap-1.3.6/src/wrapdialog.cxx:35:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_LIGHT3 [valueFlowBailoutIncompleteVar] flwrap-1.3.6/src/lzma/LzmaLib.c:11:48: style: Redundant assignment of 'p' to itself. [selfAssignment] flwrap-1.3.6/src/lzma/LzmaLib.c:12:48: style: Redundant assignment of 'p' to itself. [selfAssignment] flwrap-1.3.6/src/lzma/LzmaLib.c:11:48: style: Variable 'p' is assigned a value that is never used. [unreadVariable] flwrap-1.3.6/src/lzma/LzmaLib.c:12:48: style: Variable 'p' is assigned a value that is never used. [unreadVariable] flwrap-1.3.6/src/wrapdialog.cxx:36:28: style: C-style pointer casting [cstyleCast] flwrap-1.3.6/src/wrapdialog.cxx:41:26: style: C-style pointer casting [cstyleCast] flwrap-1.3.6/src/wrapdialog.cxx:44:30: style: C-style pointer casting [cstyleCast] flwrap-1.3.6/src/wrapdialog.cxx:43:24: style: Local variable 'o' shadows outer variable [shadowVariable] flwrap-1.3.6/src/wrapdialog.cxx:27:23: note: Shadowed declaration flwrap-1.3.6/src/wrapdialog.cxx:43:24: note: Shadow variable flwrap-1.3.6/src/lzma/LzmaEnc.c:921:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable backPrev [valueFlowBailoutIncompleteVar] flwrap-1.3.6/src/lzma/LzmaEnc.c:1040:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable backPrev [valueFlowBailoutIncompleteVar] flwrap-1.3.6/src/lzma/LzFind.c:343:84: style:inconclusive: Function 'GetMatchesSpec1' argument 4 names different: declaration 'buffer' definition 'cur'. [funcArgNamesDifferent] flwrap-1.3.6/src/lzma/LzFind.h:72:84: note: Function 'GetMatchesSpec1' argument 4 names different: declaration 'buffer' definition 'cur'. flwrap-1.3.6/src/lzma/LzFind.c:343:84: note: Function 'GetMatchesSpec1' argument 4 names different: declaration 'buffer' definition 'cur'. flwrap-1.3.6/src/lzma/LzFind.c:344:63: style:inconclusive: Function 'GetMatchesSpec1' argument 8 names different: declaration '_cutValue' definition 'cutValue'. [funcArgNamesDifferent] flwrap-1.3.6/src/lzma/LzFind.h:73:63: note: Function 'GetMatchesSpec1' argument 8 names different: declaration '_cutValue' definition 'cutValue'. flwrap-1.3.6/src/lzma/LzFind.c:344:63: note: Function 'GetMatchesSpec1' argument 8 names different: declaration '_cutValue' definition 'cutValue'. flwrap-1.3.6/src/lzma/LzFind.c:45:56: style: Parameter 'p' can be declared as pointer to const. However it seems that 'MatchFinder_GetPointerToCurrentPos' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flwrap-1.3.6/src/lzma/LzFind.c:730:68: note: You might need to cast the function pointer here flwrap-1.3.6/src/lzma/LzFind.c:45:56: note: Parameter 'p' can be declared as pointer to const flwrap-1.3.6/src/lzma/LzFind.c:48:55: style: Parameter 'p' can be declared as pointer to const. However it seems that 'MatchFinder_GetNumAvailableBytes' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flwrap-1.3.6/src/lzma/LzFind.c:729:64: note: You might need to cast the function pointer here flwrap-1.3.6/src/lzma/LzFind.c:48:55: note: Parameter 'p' can be declared as pointer to const flwrap-1.3.6/src/lzma/LzFind.c:89:40: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] flwrap-1.3.6/src/lzma/LzFind.c:275:53: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] flwrap-1.3.6/src/lzma/LzFind.c:725:45: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] flwrap-1.3.6/src/lzma/LzmaDec.c:900:29: style:inconclusive: Function 'LzmaDec_Free' argument 1 names different: declaration 'state' definition 'p'. [funcArgNamesDifferent] flwrap-1.3.6/src/lzma/LzmaDec.h:134:29: note: Function 'LzmaDec_Free' argument 1 names different: declaration 'state' definition 'p'. flwrap-1.3.6/src/lzma/LzmaDec.c:900:29: note: Function 'LzmaDec_Free' argument 1 names different: declaration 'state' definition 'p'. flwrap-1.3.6/src/lzma/LzmaDec.c:955:33: style:inconclusive: Function 'LzmaDec_Allocate' argument 1 names different: declaration 'state' definition 'p'. [funcArgNamesDifferent] flwrap-1.3.6/src/lzma/LzmaDec.h:133:33: note: Function 'LzmaDec_Allocate' argument 1 names different: declaration 'state' definition 'p'. flwrap-1.3.6/src/lzma/LzmaDec.c:955:33: note: Function 'LzmaDec_Allocate' argument 1 names different: declaration 'state' definition 'p'. flwrap-1.3.6/src/lzma/LzmaDec.c:955:48: style:inconclusive: Function 'LzmaDec_Allocate' argument 2 names different: declaration 'prop' definition 'props'. [funcArgNamesDifferent] flwrap-1.3.6/src/lzma/LzmaDec.h:133:52: note: Function 'LzmaDec_Allocate' argument 2 names different: declaration 'prop' definition 'props'. flwrap-1.3.6/src/lzma/LzmaDec.c:955:48: note: Function 'LzmaDec_Allocate' argument 2 names different: declaration 'prop' definition 'props'. flwrap-1.3.6/src/lzma/LzmaDec.c:269:18: style: Local variable 'limit' shadows outer argument [shadowArgument] flwrap-1.3.6/src/lzma/LzmaDec.c:137:63: note: Shadowed declaration flwrap-1.3.6/src/lzma/LzmaDec.c:269:18: note: Shadow variable flwrap-1.3.6/src/lzma/LzmaDec.c:537:22: style: Variable 'probLit' can be declared as pointer to const [constVariablePointer] flwrap-1.3.6/src/lzma/LzmaDec.c:607:20: style: Variable 'probLen' can be declared as pointer to const [constVariablePointer] flwrap-1.3.6/src/lzma/LzmaDec.c:359:15: style: Variable 'i' is assigned a value that is never used. [unreadVariable] flwrap-1.3.6/src/lzma/LzmaEnc.c:2168:16: style: Condition 'outStream.overflow' is always false [knownConditionTrueFalse] flwrap-1.3.6/src/lzma/LzmaEnc.c:2151:24: note: Assignment 'outStream.overflow=0', assigned value is 0 flwrap-1.3.6/src/lzma/LzmaEnc.c:2168:16: note: Condition 'outStream.overflow' is always false flwrap-1.3.6/src/lzma/LzmaEnc.c:2101:6: style: Redundant assignment of 'pp' to itself. [selfAssignment] flwrap-1.3.6/src/lzma/LzmaEnc.c:412:38: style:inconclusive: Function 'LzmaEnc_SetProps' argument 1 names different: declaration 'p' definition 'pp'. [funcArgNamesDifferent] flwrap-1.3.6/src/lzma/LzmaEnc.h:50:38: note: Function 'LzmaEnc_SetProps' argument 1 names different: declaration 'p' definition 'pp'. flwrap-1.3.6/src/lzma/LzmaEnc.c:412:38: note: Function 'LzmaEnc_SetProps' argument 1 names different: declaration 'p' definition 'pp'. flwrap-1.3.6/src/lzma/LzmaEnc.c:412:63: style:inconclusive: Function 'LzmaEnc_SetProps' argument 2 names different: declaration 'props' definition 'props2'. [funcArgNamesDifferent] flwrap-1.3.6/src/lzma/LzmaEnc.h:50:62: note: Function 'LzmaEnc_SetProps' argument 2 names different: declaration 'props' definition 'props2'. flwrap-1.3.6/src/lzma/LzmaEnc.c:412:63: note: Function 'LzmaEnc_SetProps' argument 2 names different: declaration 'props' definition 'props2'. flwrap-1.3.6/src/lzma/LzmaEnc.c:2174:36: style:inconclusive: Function 'LzmaEnc_Encode' argument 1 names different: declaration 'p' definition 'pp'. [funcArgNamesDifferent] flwrap-1.3.6/src/lzma/LzmaEnc.h:52:36: note: Function 'LzmaEnc_Encode' argument 1 names different: declaration 'p' definition 'pp'. flwrap-1.3.6/src/lzma/LzmaEnc.c:2174:36: note: Function 'LzmaEnc_Encode' argument 1 names different: declaration 'p' definition 'pp'. flwrap-1.3.6/src/lzma/LzmaEnc.c:2208:45: style:inconclusive: Function 'LzmaEnc_WriteProperties' argument 1 names different: declaration 'p' definition 'pp'. [funcArgNamesDifferent] flwrap-1.3.6/src/lzma/LzmaEnc.h:51:45: note: Function 'LzmaEnc_WriteProperties' argument 1 names different: declaration 'p' definition 'pp'. flwrap-1.3.6/src/lzma/LzmaEnc.c:2208:45: note: Function 'LzmaEnc_WriteProperties' argument 1 names different: declaration 'p' definition 'pp'. flwrap-1.3.6/src/lzma/LzmaEnc.c:2208:55: style:inconclusive: Function 'LzmaEnc_WriteProperties' argument 2 names different: declaration 'properties' definition 'props'. [funcArgNamesDifferent] flwrap-1.3.6/src/lzma/LzmaEnc.h:51:54: note: Function 'LzmaEnc_WriteProperties' argument 2 names different: declaration 'properties' definition 'props'. flwrap-1.3.6/src/lzma/LzmaEnc.c:2208:55: note: Function 'LzmaEnc_WriteProperties' argument 2 names different: declaration 'properties' definition 'props'. flwrap-1.3.6/src/lzma/LzmaEnc.c:2237:39: style:inconclusive: Function 'LzmaEnc_MemEncode' argument 1 names different: declaration 'p' definition 'pp'. [funcArgNamesDifferent] flwrap-1.3.6/src/lzma/LzmaEnc.h:54:39: note: Function 'LzmaEnc_MemEncode' argument 1 names different: declaration 'p' definition 'pp'. flwrap-1.3.6/src/lzma/LzmaEnc.c:2237:39: note: Function 'LzmaEnc_MemEncode' argument 1 names different: declaration 'p' definition 'pp'. flwrap-1.3.6/src/lzma/LzmaEnc.c:1147:34: style: Local variable 'numPairs' shadows outer variable [shadowVariable] flwrap-1.3.6/src/lzma/LzmaEnc.c:952:29: note: Shadowed declaration flwrap-1.3.6/src/lzma/LzmaEnc.c:1147:34: note: Shadow variable flwrap-1.3.6/src/lzma/LzmaEnc.c:1147:60: style: Local variable 'posState' shadows outer variable [shadowVariable] flwrap-1.3.6/src/lzma/LzmaEnc.c:952:55: note: Shadowed declaration flwrap-1.3.6/src/lzma/LzmaEnc.c:1147:60: note: Shadow variable flwrap-1.3.6/src/lzma/LzmaEnc.c:1148:36: style: Local variable 'matchPrice' shadows outer variable [shadowVariable] flwrap-1.3.6/src/lzma/LzmaEnc.c:953:10: note: Shadowed declaration flwrap-1.3.6/src/lzma/LzmaEnc.c:1148:36: note: Shadow variable flwrap-1.3.6/src/lzma/LzmaEnc.c:1148:48: style: Local variable 'repMatchPrice' shadows outer variable [shadowVariable] flwrap-1.3.6/src/lzma/LzmaEnc.c:953:22: note: Shadowed declaration flwrap-1.3.6/src/lzma/LzmaEnc.c:1148:48: note: Shadow variable flwrap-1.3.6/src/lzma/LzmaEnc.c:1150:10: style: Local variable 'curByte' shadows outer variable [shadowVariable] flwrap-1.3.6/src/lzma/LzmaEnc.c:957:8: note: Shadowed declaration flwrap-1.3.6/src/lzma/LzmaEnc.c:1150:10: note: Shadow variable flwrap-1.3.6/src/lzma/LzmaEnc.c:1150:19: style: Local variable 'matchByte' shadows outer variable [shadowVariable] flwrap-1.3.6/src/lzma/LzmaEnc.c:957:17: note: Shadowed declaration flwrap-1.3.6/src/lzma/LzmaEnc.c:1150:19: note: Shadow variable flwrap-1.3.6/src/lzma/LzmaEnc.c:1151:17: style: Local variable 'data' shadows outer variable [shadowVariable] flwrap-1.3.6/src/lzma/LzmaEnc.c:956:15: note: Shadowed declaration flwrap-1.3.6/src/lzma/LzmaEnc.c:1151:17: note: Shadow variable flwrap-1.3.6/src/lzma/LzmaEnc.c:1214:16: style: Local variable 'i' shadows outer variable [shadowVariable] flwrap-1.3.6/src/lzma/LzmaEnc.c:952:52: note: Shadowed declaration flwrap-1.3.6/src/lzma/LzmaEnc.c:1214:16: note: Shadow variable flwrap-1.3.6/src/lzma/LzmaEnc.c:1223:16: style: Local variable 'i' shadows outer variable [shadowVariable] flwrap-1.3.6/src/lzma/LzmaEnc.c:952:52: note: Shadowed declaration flwrap-1.3.6/src/lzma/LzmaEnc.c:1223:16: note: Shadow variable flwrap-1.3.6/src/lzma/LzmaEnc.c:1420:14: style: Local variable 'normalMatchPrice' shadows outer variable [shadowVariable] flwrap-1.3.6/src/lzma/LzmaEnc.c:953:37: note: Shadowed declaration flwrap-1.3.6/src/lzma/LzmaEnc.c:1420:14: note: Shadow variable flwrap-1.3.6/src/lzma/LzmaEnc.c:1478:22: style: Local variable 'curAndLenPrice' shadows outer variable [shadowVariable] flwrap-1.3.6/src/lzma/LzmaEnc.c:1433:16: note: Shadowed declaration flwrap-1.3.6/src/lzma/LzmaEnc.c:1478:22: note: Shadow variable flwrap-1.3.6/src/lzma/LzmaEnc.c:1479:25: style: Local variable 'opt' shadows outer variable [shadowVariable] flwrap-1.3.6/src/lzma/LzmaEnc.c:1435:19: note: Shadowed declaration flwrap-1.3.6/src/lzma/LzmaEnc.c:1479:25: note: Shadow variable flwrap-1.3.6/src/lzma/LzmaEnc.c:1687:14: style: Local variable 'i' shadows outer variable [shadowVariable] flwrap-1.3.6/src/lzma/LzmaEnc.c:1666:10: note: Shadowed declaration flwrap-1.3.6/src/lzma/LzmaEnc.c:1687:14: note: Shadow variable flwrap-1.3.6/src/lzma/LzmaEnc.c:657:78: style: Parameter 'ProbPrices' can be declared as pointer to const [constParameterPointer] flwrap-1.3.6/src/lzma/LzmaEnc.c:670:103: style: Parameter 'ProbPrices' can be declared as pointer to const [constParameterPointer] flwrap-1.3.6/src/lzma/LzmaEnc.c:714:96: style: Parameter 'ProbPrices' can be declared as pointer to const [constParameterPointer] flwrap-1.3.6/src/lzma/LzmaEnc.c:726:103: style: Parameter 'ProbPrices' can be declared as pointer to const [constParameterPointer] flwrap-1.3.6/src/lzma/LzmaEnc.c:777:39: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] flwrap-1.3.6/src/lzma/LzmaEnc.c:2210:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] flwrap-1.3.6/src/lzma/LzmaEnc.c:419:27: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] flwrap-1.3.6/src/lzma/LzmaEnc.c:2101:6: style: Variable 'pp' is assigned a value that is never used. [unreadVariable] flwrap-1.3.6/src/lzma/LzmaEnc.c:2149:18: style: Variable 'outStream.data' is assigned a value that is never used. [unreadVariable] flwrap-1.3.6/src/lzma/LzmaEnc.c:2248:18: style: Variable 'outStream.data' is assigned a value that is never used. [unreadVariable] diff: DONE