2025-05-10 21:53 ftp://ftp.de.debian.org/debian/pool/main/g/globus-xio-pipe-driver/globus-xio-pipe-driver_4.1.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-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: beb3362 (2025-05-10 14:33:23 +0200) count: 20 20 elapsed-time: 0.1 0.0 head-timing-info: old-timing-info: head results: globus_xio_pipe_driver-4.1/globus_xio_pipe_driver.c:115:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _xio_name [valueFlowBailoutIncompleteVar] globus_xio_pipe_driver-4.1/globus_xio_pipe_driver.c:151:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _xio_name [valueFlowBailoutIncompleteVar] globus_xio_pipe_driver-4.1/globus_xio_pipe_driver.c:182:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _xio_name [valueFlowBailoutIncompleteVar] globus_xio_pipe_driver-4.1/globus_xio_pipe_driver.c:214:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _xio_name [valueFlowBailoutIncompleteVar] globus_xio_pipe_driver-4.1/globus_xio_pipe_driver.c:236:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _xio_name [valueFlowBailoutIncompleteVar] globus_xio_pipe_driver-4.1/globus_xio_pipe_driver.c:266:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _xio_name [valueFlowBailoutIncompleteVar] globus_xio_pipe_driver-4.1/globus_xio_pipe_driver.c:291:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _xio_name [valueFlowBailoutIncompleteVar] globus_xio_pipe_driver-4.1/globus_xio_pipe_driver.c:343:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _xio_name [valueFlowBailoutIncompleteVar] globus_xio_pipe_driver-4.1/globus_xio_pipe_driver.c:370:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _xio_name [valueFlowBailoutIncompleteVar] globus_xio_pipe_driver-4.1/globus_xio_pipe_driver.c:395:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _xio_name [valueFlowBailoutIncompleteVar] globus_xio_pipe_driver-4.1/globus_xio_pipe_driver.c:443:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _xio_name [valueFlowBailoutIncompleteVar] globus_xio_pipe_driver-4.1/globus_xio_pipe_driver.c:468:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _xio_name [valueFlowBailoutIncompleteVar] globus_xio_pipe_driver-4.1/globus_xio_pipe_driver.c:524:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _xio_name [valueFlowBailoutIncompleteVar] globus_xio_pipe_driver-4.1/globus_xio_pipe_driver.c:572:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _xio_name [valueFlowBailoutIncompleteVar] globus_xio_pipe_driver-4.1/globus_xio_pipe_driver.c:592:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFO [valueFlowBailoutIncompleteVar] globus_xio_pipe_driver-4.1/globus_xio_pipe_driver.c:623:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _xio_name [valueFlowBailoutIncompleteVar] globus_xio_pipe_driver-4.1/globus_xio_pipe_driver.c:147:41: style: Variable 'src_attr' can be declared as pointer to const [constVariablePointer] globus_xio_pipe_driver-4.1/globus_xio_pipe_driver.c:211:41: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] globus_xio_pipe_driver-4.1/globus_xio_pipe_driver.c:231:41: style: Parameter 'attr' can be declared as pointer to const. However it seems that 'globus_l_xio_pipe_handle_init' is a callback function, if 'attr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] globus_xio_pipe_driver-4.1/globus_xio_pipe_driver.c:234:19: note: You might need to cast the function pointer here globus_xio_pipe_driver-4.1/globus_xio_pipe_driver.c:231:41: note: Parameter 'attr' can be declared as pointer to const globus_xio_pipe_driver-4.1/globus_xio_pipe_driver.c:216:10: style: Variable 'attr' is assigned a value that is never used. [unreadVariable] diff: DONE