2026-05-03 22:10 ftp://ftp.de.debian.org/debian/pool/main/o/obexfs/obexfs_0.11.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 -j1 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 48 48 elapsed-time: 0.3 0.2 head-timing-info: old-timing-info: head results: obexfs-0.11/fuse/obexautofs.c:94:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] obexfs-0.11/fuse/obexautofs.c:138:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] obexfs-0.11/fuse/obexautofs.c:196:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] obexfs-0.11/fuse/obexautofs.c:275:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] obexfs-0.11/fuse/obexautofs.c:296:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] obexfs-0.11/fuse/obexautofs.c:305:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] obexfs-0.11/fuse/obexautofs.c:349:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] obexfs-0.11/fuse/obexautofs.c:419:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] obexfs-0.11/fuse/obexautofs.c:439:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] obexfs-0.11/fuse/obexautofs.c:492:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] obexfs-0.11/fuse/obexautofs.c:578:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] obexfs-0.11/fuse/obexautofs.c:627:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] obexfs-0.11/fuse/obexautofs.c:637:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] obexfs-0.11/fuse/obexautofs.c:672:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] obexfs-0.11/fuse/obexautofs.c:752:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] obexfs-0.11/fuse/obexautofs.c:838:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] obexfs-0.11/fuse/obexautofs.c:305:3: warning: Either the condition '!path' is redundant or there is possible null pointer dereference: path. [nullPointerRedundantCheck] obexfs-0.11/fuse/obexautofs.c:304:13: note: Assuming that condition '!path' is not redundant obexfs-0.11/fuse/obexautofs.c:305:3: note: Null pointer dereference obexfs-0.11/fuse/obexautofs.c:441:7: style: Variable 'res' is reassigned a value before the old one has been used. [redundantAssignment] obexfs-0.11/fuse/obexautofs.c:440:7: note: res is assigned obexfs-0.11/fuse/obexautofs.c:441:7: note: res is overwritten obexfs-0.11/fuse/obexautofs.c:446:8: style: Variable 'res' is reassigned a value before the old one has been used. [redundantAssignment] obexfs-0.11/fuse/obexautofs.c:445:9: note: res is assigned obexfs-0.11/fuse/obexautofs.c:446:8: note: res is overwritten obexfs-0.11/fuse/obexautofs.c:469:6: style: Variable 'res' is reassigned a value before the old one has been used. [redundantAssignment] obexfs-0.11/fuse/obexautofs.c:468:6: note: res is assigned obexfs-0.11/fuse/obexautofs.c:469:6: note: res is overwritten obexfs-0.11/fuse/obexautofs.c:130:31: style: Parameter 'port' can be declared as pointer to const [constParameterPointer] obexfs-0.11/fuse/obexautofs.c:334:16: style: Variable 'st' can be declared as pointer to const [constVariablePointer] obexfs-0.11/fuse/obexautofs.c:411:16: style: Variable 'conn' can be declared as pointer to const [constVariablePointer] obexfs-0.11/fuse/obexautofs.c:585:17: style: Variable 'wb' can be declared as pointer to const [constVariablePointer] obexfs-0.11/fuse/obexautofs.c:803:24: style: Variable 'long_options' can be declared as const array [constVariable] obexfs-0.11/fuse/obexautofs.c:441:7: style: Variable 'res' is assigned a value that is never used. [unreadVariable] obexfs-0.11/fuse/obexautofs.c:443:17: style: Variable 'stat.st_mode' is assigned a value that is never used. [unreadVariable] obexfs-0.11/fuse/obexautofs.c:469:6: style: Variable 'res' is assigned a value that is never used. [unreadVariable] obexfs-0.11/fuse/obexautofs.c:472:16: style: Variable 'stat.st_mode' is assigned a value that is never used. [unreadVariable] obexfs-0.11/fuse/obexautofs.c:600:10: style: Variable 'res' is assigned a value that is never used. [unreadVariable] obexfs-0.11/fuse/obexfs.c:127:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] obexfs-0.11/fuse/obexfs.c:142:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] obexfs-0.11/fuse/obexfs.c:161:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] obexfs-0.11/fuse/obexfs.c:216:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] obexfs-0.11/fuse/obexfs.c:243:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] obexfs-0.11/fuse/obexfs.c:311:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] obexfs-0.11/fuse/obexfs.c:354:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] obexfs-0.11/fuse/obexfs.c:364:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] obexfs-0.11/fuse/obexfs.c:397:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] obexfs-0.11/fuse/obexfs.c:464:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] obexfs-0.11/fuse/obexfs.c:528:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OBEX_TRANS_IRDA [valueFlowBailoutIncompleteVar] obexfs-0.11/fuse/obexfs.c:220:6: style: Variable 'res' is reassigned a value before the old one has been used. [redundantAssignment] obexfs-0.11/fuse/obexfs.c:219:6: note: res is assigned obexfs-0.11/fuse/obexfs.c:220:6: note: res is overwritten obexfs-0.11/fuse/obexfs.c:147:16: style: Variable 'st' can be declared as pointer to const [constVariablePointer] obexfs-0.11/fuse/obexfs.c:318:17: style: Variable 'wb' can be declared as pointer to const [constVariablePointer] obexfs-0.11/fuse/obexfs.c:507:24: style: Variable 'long_options' can be declared as const array [constVariable] obexfs-0.11/fuse/obexfs.c:220:6: style: Variable 'res' is assigned a value that is never used. [unreadVariable] obexfs-0.11/fuse/obexfs.c:223:16: style: Variable 'stat.st_mode' is assigned a value that is never used. [unreadVariable] obexfs-0.11/fuse/obexfs.c:331:10: style: Variable 'res' is assigned a value that is never used. [unreadVariable] diff: DONE