2026-05-04 11:02 ftp://ftp.de.debian.org/debian/pool/main/p/pysmbc/pysmbc_1.0.25.1.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 -j1 platform: Linux-6.12.85+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.70 compiler: g++ (20250906) 15.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 49 49 elapsed-time: 0.2 0.1 head-timing-info: old-timing-info: head results: pysmbc-1.0.25.1/smbc/context.c:140:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/context.c:225:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/context.c:270:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/context.c:326:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/context.c:361:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/context.c:387:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/context.c:476:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/context.c:500:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/context.c:525:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/context.c:559:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/context.c:599:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/context.c:714:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/context.c:750:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/context.c:782:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/context.c:856:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/context.c:924:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/context.c:952:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/context.c:969:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/context.c:994:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/context.c:1016:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/context.c:1038:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/context.c:1060:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/context.c:1082:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/dir.c:69:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/dir.c:124:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/file.c:88:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/file.c:234:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/file.c:292:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_StopIteration [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/file.c:316:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_OverflowError [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/file.c:330:23: style: Parameter 'self' can be declared as pointer to const. However it seems that 'File_flush' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pysmbc-1.0.25.1/smbc/file.c:384:25: note: You might need to cast the function pointer here pysmbc-1.0.25.1/smbc/file.c:330:23: note: Parameter 'self' can be declared as pointer to const pysmbc-1.0.25.1/smbc/file.c:343:22: style: Parameter 'self' can be declared as pointer to const. However it seems that 'File_seekable' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pysmbc-1.0.25.1/smbc/file.c:392:28: note: You might need to cast the function pointer here pysmbc-1.0.25.1/smbc/file.c:343:22: note: Parameter 'self' can be declared as pointer to const pysmbc-1.0.25.1/smbc/file.c:145:15: style: Variable 'current' is assigned a value that is never used. [unreadVariable] pysmbc-1.0.25.1/smbc/smbcdirent.c:108:11: style: Variable 'dent' can be declared as pointer to const [constVariablePointer] pysmbc-1.0.25.1/smbc/smbcmodule.c:111:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMBC_WORKGROUP [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/smbcmodule.c:172:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/smbcmodule.c:239:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pysmbc-1.0.25.1/smbc/smbcmodule.c:75:3: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] pysmbc-1.0.25.1/smbc/smbcmodule.c:80:3: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] pysmbc-1.0.25.1/smbc/smbcmodule.c:85:3: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] pysmbc-1.0.25.1/smbc/smbcmodule.c:90:3: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] pysmbc-1.0.25.1/smbc/smbcmodule.c:131:3: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] pysmbc-1.0.25.1/smbc/smbcmodule.c:135:3: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] pysmbc-1.0.25.1/smbc/smbcmodule.c:139:3: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] pysmbc-1.0.25.1/smbc/smbcmodule.c:143:3: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] pysmbc-1.0.25.1/smbc/smbcmodule.c:147:3: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] pysmbc-1.0.25.1/smbc/smbcmodule.c:151:3: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] pysmbc-1.0.25.1/smbc/smbcmodule.c:155:3: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] pysmbc-1.0.25.1/smbc/smbcmodule.c:159:3: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] pysmbc-1.0.25.1/smbc/smbcmodule.c:163:3: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] diff: DONE