2025-11-01 09:50 ftp://ftp.de.debian.org/debian/pool/main/p/python-blosc/python-blosc_1.11.2+ds1.orig.tar.xz 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 -j1 platform: Linux-6.8.0-87-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: 5016808 (2025-10-31 22:45:09 +0100) count: 10 9 elapsed-time: 0.0 0.2 head-timing-info: old-timing-info: head results: python-blosc-1.11.2/blosc/blosc_extension.c:56:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] python-blosc-1.11.2/blosc/blosc_extension.c:183:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] python-blosc-1.11.2/blosc/blosc_extension.c:194:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] python-blosc-1.11.2/blosc/blosc_extension.c:205:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] python-blosc-1.11.2/blosc/blosc_extension.c:219:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOSC_MAX_OVERHEAD [valueFlowBailoutIncompleteVar] python-blosc-1.11.2/blosc/blosc_extension.c:563:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_True [valueFlowBailoutIncompleteVar] python-blosc-1.11.2/blosc/blosc_extension.c:637:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOSC_MAX_BUFFERSIZE [valueFlowBailoutIncompleteVar] python-blosc-1.11.2/blosc/blosc_extension.c:633:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] python-blosc-1.11.2/blosc/blosc_extension.c:65:33: style: Parameter 'self' can be declared as pointer to const. However it seems that 'PyBlosc_get_blocksize' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] python-blosc-1.11.2/blosc/blosc_extension.c:586:34: note: You might need to cast the function pointer here python-blosc-1.11.2/blosc/blosc_extension.c:65:33: note: Parameter 'self' can be declared as pointer to const python-blosc-1.11.2/blosc/blosc_extension.c:99:35: style: Parameter 'self' can be declared as pointer to const. However it seems that 'PyBlosc_compressor_list' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] python-blosc-1.11.2/blosc/blosc_extension.c:590:36: note: You might need to cast the function pointer here python-blosc-1.11.2/blosc/blosc_extension.c:99:35: note: Parameter 'self' can be declared as pointer to const diff: head python-blosc-1.11.2/blosc/blosc_extension.c:99:35: style: Parameter 'self' can be declared as pointer to const. However it seems that 'PyBlosc_compressor_list' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] python-blosc-1.11.2/blosc/blosc_extension.c:590:36: note: You might need to cast the function pointer here python-blosc-1.11.2/blosc/blosc_extension.c:99:35: note: Parameter 'self' can be declared as pointer to const DONE