2024-04-21 23:48 ftp://ftp.de.debian.org/debian/pool/main/s/s3backer/s3backer_1.5.4.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=bsd --library=libcurl --library=openssl --library=zlib --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-20-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.56 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.14.0 head-info: ea2e716 (2024-04-21 15:59:20 +0200) count: 137 137 elapsed-time: 1.0 1.0 head-timing-info: old-timing-info: head results: s3backer-1.5.4/block_part.c:63:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] s3backer-1.5.4/block_part.c:102:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] s3backer-1.5.4/block_part.c:44:51: style:inconclusive: Function 'block_part_read_block_part' argument 1 names different: declaration 'inner' definition 's3b'. [funcArgNamesDifferent] s3backer-1.5.4/block_part.h:38:62: note: Function 'block_part_read_block_part' argument 1 names different: declaration 'inner' definition 's3b'. s3backer-1.5.4/block_part.c:44:51: note: Function 'block_part_read_block_part' argument 1 names different: declaration 'inner' definition 's3b'. s3backer-1.5.4/erase.c:81:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] s3backer-1.5.4/erase.c:215:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] s3backer-1.5.4/ec_protect.c:182:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] s3backer-1.5.4/ec_protect.c:352:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MD5_DIGEST_LENGTH [valueFlowBailoutIncompleteVar] s3backer-1.5.4/ec_protect.c:432:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MD5_DIGEST_LENGTH [valueFlowBailoutIncompleteVar] s3backer-1.5.4/ec_protect.c:633:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETIMEDOUT [valueFlowBailoutIncompleteVar] s3backer-1.5.4/ec_protect.c:659:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MD5_DIGEST_LENGTH [valueFlowBailoutIncompleteVar] s3backer-1.5.4/dcache.c:169:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] s3backer-1.5.4/dcache.c:377:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] s3backer-1.5.4/dcache.c:428:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MD5_DIGEST_LENGTH [valueFlowBailoutIncompleteVar] s3backer-1.5.4/dcache.c:535:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] s3backer-1.5.4/dcache.c:608:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] s3backer-1.5.4/dcache.c:737:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] s3backer-1.5.4/dcache.c:780:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] s3backer-1.5.4/dcache.c:880:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] s3backer-1.5.4/dcache.c:914:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] s3backer-1.5.4/dcache.c:933:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] s3backer-1.5.4/dcache.c:962:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] s3backer-1.5.4/fuse_ops.c:148:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] s3backer-1.5.4/fuse_ops.c:189:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] s3backer-1.5.4/fuse_ops.c:209:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] s3backer-1.5.4/fuse_ops.c:234:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable private_data [valueFlowBailoutIncompleteVar] s3backer-1.5.4/fuse_ops.c:271:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable private_data [valueFlowBailoutIncompleteVar] s3backer-1.5.4/fuse_ops.c:301:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] s3backer-1.5.4/fuse_ops.c:318:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable private_data [valueFlowBailoutIncompleteVar] s3backer-1.5.4/fuse_ops.c:342:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable private_data [valueFlowBailoutIncompleteVar] s3backer-1.5.4/fuse_ops.c:388:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable private_data [valueFlowBailoutIncompleteVar] s3backer-1.5.4/fuse_ops.c:460:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable private_data [valueFlowBailoutIncompleteVar] s3backer-1.5.4/fuse_ops.c:566:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] s3backer-1.5.4/ec_protect.c:427:106: style:inconclusive: Function 'ec_protect_write_block' argument 4 names different: declaration 'md5' definition 'caller_md5'. [funcArgNamesDifferent] s3backer-1.5.4/ec_protect.c:137:111: note: Function 'ec_protect_write_block' argument 4 names different: declaration 'md5' definition 'caller_md5'. s3backer-1.5.4/ec_protect.c:427:106: note: Function 'ec_protect_write_block' argument 4 names different: declaration 'md5' definition 'caller_md5'. s3backer-1.5.4/ec_protect.c:553:35: style: Variable 'config' can be declared as pointer to const [constVariablePointer] s3backer-1.5.4/ec_protect.c:562:35: style: Variable 'config' can be declared as pointer to const [constVariablePointer] s3backer-1.5.4/ec_protect.c:586:35: style: Variable 'config' can be declared as pointer to const [constVariablePointer] s3backer-1.5.4/ec_protect.c:675:30: style: Variable 'binfo' can be declared as pointer to const [constVariablePointer] s3backer-1.5.4/ec_protect.c:687:24: style: Variable 'binfo' can be declared as pointer to const [constVariablePointer] s3backer-1.5.4/block_cache.c:242:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] s3backer-1.5.4/block_cache.c:358:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] s3backer-1.5.4/block_cache.c:577:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] s3backer-1.5.4/block_cache.c:614:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MD5_DIGEST_LENGTH [valueFlowBailoutIncompleteVar] s3backer-1.5.4/block_cache.c:824:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] s3backer-1.5.4/block_cache.c:995:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] s3backer-1.5.4/block_cache.c:1056:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] s3backer-1.5.4/block_cache.c:1081:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MD5_DIGEST_LENGTH [valueFlowBailoutIncompleteVar] s3backer-1.5.4/hash.c:73:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] s3backer-1.5.4/hash.c:119:29: warning: Either the condition '(value)==NULL' is redundant or there is possible null pointer dereference: (s3b_block_t*)(value). [nullPointerRedundantCheck] s3backer-1.5.4/hash.c:125:13: note: Assuming that condition '(value)==NULL' is not redundant s3backer-1.5.4/hash.c:119:29: note: Null pointer dereference s3backer-1.5.4/hash.c:90:32: style: Parameter 'hash' can be declared as pointer to const [constParameterPointer] s3backer-1.5.4/hash.c:212:33: style: Parameter 'hash' can be declared as pointer to const [constParameterPointer] s3backer-1.5.4/fuse_ops.c:154:11: warning: Either the condition 'config!=NULL' is redundant or there is possible null pointer dereference: config. [nullPointerRedundantCheck] s3backer-1.5.4/fuse_ops.c:147:16: note: Assuming that condition 'config!=NULL' is not redundant s3backer-1.5.4/fuse_ops.c:154:11: note: Null pointer dereference s3backer-1.5.4/fuse_ops.c:140:39: style:inconclusive: Function 'fuse_ops_create' argument 1 names different: declaration 'config' definition 'config0'. [funcArgNamesDifferent] s3backer-1.5.4/fuse_ops.h:64:69: note: Function 'fuse_ops_create' argument 1 names different: declaration 'config' definition 'config0'. s3backer-1.5.4/fuse_ops.c:140:39: note: Function 'fuse_ops_create' argument 1 names different: declaration 'config' definition 'config0'. s3backer-1.5.4/fuse_ops.c:283:47: style: Parameter 'priv' can be declared as pointer to const [constParameterPointer] s3backer-1.5.4/fuse_ops.c:299:48: style: Parameter 'priv' can be declared as pointer to const [constParameterPointer] s3backer-1.5.4/fuse_ops.c:299:72: style: Parameter 'sfile' can be declared as pointer to const [constParameterPointer] s3backer-1.5.4/fuse_ops.c:318:36: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] s3backer-1.5.4/fuse_ops.c:386:28: style: Parameter 'fi' can be declared as pointer to const. However it seems that 'fuse_op_read' is a callback function, if 'fi' is declared with const you might also need to cast function pointer(s). [constParameterCallback] s3backer-1.5.4/fuse_ops.c:118:19: note: You might need to cast the function pointer here s3backer-1.5.4/fuse_ops.c:386:28: note: Parameter 'fi' can be declared as pointer to const s3backer-1.5.4/fuse_ops.c:397:33: style: Variable 'sfile' can be declared as pointer to const [constVariablePointer] s3backer-1.5.4/fuse_ops.c:458:42: style: Parameter 'fi' can be declared as pointer to const. However it seems that 'fuse_op_write' is a callback function, if 'fi' is declared with const you might also need to cast function pointer(s). [constParameterCallback] s3backer-1.5.4/fuse_ops.c:119:19: note: You might need to cast the function pointer here s3backer-1.5.4/fuse_ops.c:458:42: note: Parameter 'fi' can be declared as pointer to const s3backer-1.5.4/fuse_ops.c:549:56: style: Parameter 'fi' can be declared as pointer to const. However it seems that 'fuse_op_flush' is a callback function, if 'fi' is declared with const you might also need to cast function pointer(s). [constParameterCallback] s3backer-1.5.4/fuse_ops.c:122:19: note: You might need to cast the function pointer here s3backer-1.5.4/fuse_ops.c:549:56: note: Parameter 'fi' can be declared as pointer to const s3backer-1.5.4/fuse_ops.c:555:72: style: Parameter 'fi' can be declared as pointer to const. However it seems that 'fuse_op_fsync' is a callback function, if 'fi' is declared with const you might also need to cast function pointer(s). [constParameterCallback] s3backer-1.5.4/fuse_ops.c:123:19: note: You might need to cast the function pointer here s3backer-1.5.4/fuse_ops.c:555:72: note: Parameter 'fi' can be declared as pointer to const s3backer-1.5.4/fuse_ops.c:188:12: style: Variable 'r' is assigned a value that is never used. [unreadVariable] s3backer-1.5.4/http_io.c:2652:0: error: #error unexpected MD5_DIGEST_LENGTH [preprocessorErrorDirective] s3backer-1.5.4/main.c:73:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] s3backer-1.5.4/reset.c:75:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] s3backer-1.5.4/test_io.c:91:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] s3backer-1.5.4/test_io.c:145:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MD5_DIGEST_LENGTH [valueFlowBailoutIncompleteVar] s3backer-1.5.4/test_io.c:265:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MD5_DIGEST_LENGTH [valueFlowBailoutIncompleteVar] s3backer-1.5.4/test_io.c:389:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] s3backer-1.5.4/test_io.c:157:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] s3backer-1.5.4/test_io.c:302:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] s3backer-1.5.4/test_io.c:392:25: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] s3backer-1.5.4/test_io.c:259:103: style:inconclusive: Function 'test_io_write_block' argument 4 names different: declaration 'md5' definition 'caller_md5'. [funcArgNamesDifferent] s3backer-1.5.4/test_io.c:57:108: note: Function 'test_io_write_block' argument 4 names different: declaration 'md5' definition 'caller_md5'. s3backer-1.5.4/test_io.c:259:103: note: Function 'test_io_write_block' argument 4 names different: declaration 'md5' definition 'caller_md5'. s3backer-1.5.4/test_io.c:105:47: style: Parameter 's3b' can be declared as pointer to const. However it seems that 'test_io_create_threads' is a callback function, if 's3b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] s3backer-1.5.4/test_io.c:79:27: note: You might need to cast the function pointer here s3backer-1.5.4/test_io.c:105:47: note: Parameter 's3b' can be declared as pointer to const s3backer-1.5.4/test_io.c:111:42: style: Parameter 's3b' can be declared as pointer to const. However it seems that 'test_io_meta_data' is a callback function, if 's3b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] s3backer-1.5.4/test_io.c:80:22: note: You might need to cast the function pointer here s3backer-1.5.4/test_io.c:111:42: note: Parameter 's3b' can be declared as pointer to const s3backer-1.5.4/test_io.c:111:54: style: Parameter 'file_sizep' can be declared as pointer to const. However it seems that 'test_io_meta_data' is a callback function, if 'file_sizep' is declared with const you might also need to cast function pointer(s). [constParameterCallback] s3backer-1.5.4/test_io.c:80:22: note: You might need to cast the function pointer here s3backer-1.5.4/test_io.c:111:54: note: Parameter 'file_sizep' can be declared as pointer to const s3backer-1.5.4/test_io.c:111:73: style: Parameter 'block_sizep' can be declared as pointer to const. However it seems that 'test_io_meta_data' is a callback function, if 'block_sizep' is declared with const you might also need to cast function pointer(s). [constParameterCallback] s3backer-1.5.4/test_io.c:80:22: note: You might need to cast the function pointer here s3backer-1.5.4/test_io.c:111:73: note: Parameter 'block_sizep' can be declared as pointer to const s3backer-1.5.4/test_io.c:125:44: style: Parameter 's3b' can be declared as pointer to const. However it seems that 'test_io_flush' is a callback function, if 's3b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] s3backer-1.5.4/test_io.c:87:18: note: You might need to cast the function pointer here s3backer-1.5.4/test_io.c:125:44: note: Parameter 's3b' can be declared as pointer to const s3backer-1.5.4/test_io.c:363:32: style: Variable 'config' can be declared as pointer to const [constVariablePointer] s3backer-1.5.4/test_io.c:372:32: style: Variable 'config' can be declared as pointer to const [constVariablePointer] s3backer-1.5.4/test_io.c:383:20: style: Variable 'dent' can be declared as pointer to const [constVariablePointer] s3backer-1.5.4/s3b_config.c:574:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable templ [valueFlowBailoutIncompleteVar] s3backer-1.5.4/s3b_config.c:616:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] s3backer-1.5.4/s3b_config.c:866:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUSE_OPT_KEY_OPT [valueFlowBailoutIncompleteVar] s3backer-1.5.4/s3b_config.c:964:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] s3backer-1.5.4/s3b_config.c:1639:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] s3backer-1.5.4/s3b_config.c:1649:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] s3backer-1.5.4/s3b_config.c:1716:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] s3backer-1.5.4/s3b_config.c:1735:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] s3backer-1.5.4/s3b_config.c:1775:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] s3backer-1.5.4/tester.c:212:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] s3backer-1.5.4/dcache.c:420:38: style: Condition '(r=s3b_dcache_fsync(priv))!=0' is always false [knownConditionTrueFalse] s3backer-1.5.4/dcache.c:420:30: note: Calling function 's3b_dcache_fsync' returns 0 s3backer-1.5.4/dcache.c:420:38: note: Condition '(r=s3b_dcache_fsync(priv))!=0' is always false s3backer-1.5.4/dcache.c:457:38: style: Condition '(r=s3b_dcache_fsync(priv))!=0' is always false [knownConditionTrueFalse] s3backer-1.5.4/dcache.c:457:30: note: Calling function 's3b_dcache_fsync' returns 0 s3backer-1.5.4/dcache.c:457:38: note: Condition '(r=s3b_dcache_fsync(priv))!=0' is always false s3backer-1.5.4/dcache.c:609:9: error: Memory leak: tempfile [memleak] s3backer-1.5.4/dcache.c:353:37: style:inconclusive: Function 's3b_dcache_close' argument 1 names different: declaration 'dcache' definition 'priv'. [funcArgNamesDifferent] s3backer-1.5.4/dcache.h:54:49: note: Function 's3b_dcache_close' argument 1 names different: declaration 'dcache' definition 'priv'. s3backer-1.5.4/dcache.c:353:37: note: Function 's3b_dcache_close' argument 1 names different: declaration 'dcache' definition 'priv'. s3backer-1.5.4/dcache.c:363:36: style:inconclusive: Function 's3b_dcache_size' argument 1 names different: declaration 'dcache' definition 'priv'. [funcArgNamesDifferent] s3backer-1.5.4/dcache.h:55:49: note: Function 's3b_dcache_size' argument 1 names different: declaration 'dcache' definition 'priv'. s3backer-1.5.4/dcache.c:363:36: note: Function 's3b_dcache_size' argument 1 names different: declaration 'dcache' definition 'priv'. s3backer-1.5.4/dcache.c:470:42: style:inconclusive: Function 's3b_dcache_free_block' argument 1 names different: declaration 'dcache' definition 'priv'. [funcArgNamesDifferent] s3backer-1.5.4/dcache.h:59:53: note: Function 's3b_dcache_free_block' argument 1 names different: declaration 'dcache' definition 'priv'. s3backer-1.5.4/dcache.c:470:42: note: Function 's3b_dcache_free_block' argument 1 names different: declaration 'dcache' definition 'priv'. s3backer-1.5.4/dcache.c:493:42: style:inconclusive: Function 's3b_dcache_read_block' argument 1 names different: declaration 'dcache' definition 'priv'. [funcArgNamesDifferent] s3backer-1.5.4/dcache.h:60:53: note: Function 's3b_dcache_read_block' argument 1 names different: declaration 'dcache' definition 'priv'. s3backer-1.5.4/dcache.c:493:42: note: Function 's3b_dcache_read_block' argument 1 names different: declaration 'dcache' definition 'priv'. s3backer-1.5.4/dcache.c:509:43: style:inconclusive: Function 's3b_dcache_write_block' argument 1 names different: declaration 'dcache' definition 'priv'. [funcArgNamesDifferent] s3backer-1.5.4/dcache.h:61:54: note: Function 's3b_dcache_write_block' argument 1 names different: declaration 'dcache' definition 'priv'. s3backer-1.5.4/dcache.c:509:43: note: Function 's3b_dcache_write_block' argument 1 names different: declaration 'dcache' definition 'priv'. s3backer-1.5.4/dcache.c:525:37: style:inconclusive: Function 's3b_dcache_fsync' argument 1 names different: declaration 'dcache' definition 'priv'. [funcArgNamesDifferent] s3backer-1.5.4/dcache.h:62:48: note: Function 's3b_dcache_fsync' argument 1 names different: declaration 'dcache' definition 'priv'. s3backer-1.5.4/dcache.c:525:37: note: Function 's3b_dcache_fsync' argument 1 names different: declaration 'dcache' definition 'priv'. s3backer-1.5.4/dcache.c:567:79: style:inconclusive: Function 's3b_dcache_read_entry' argument 3 names different: declaration 'entryp' definition 'entry'. [funcArgNamesDifferent] s3backer-1.5.4/dcache.c:140:90: note: Function 's3b_dcache_read_entry' argument 3 names different: declaration 'entryp' definition 'entry'. s3backer-1.5.4/dcache.c:567:79: note: Function 's3b_dcache_read_entry' argument 3 names different: declaration 'entryp' definition 'entry'. s3backer-1.5.4/dcache.c:591:75: style:inconclusive: Function 's3b_dcache_resize_file' argument 2 names different: declaration 'header' definition 'old_header'. [funcArgNamesDifferent] s3backer-1.5.4/dcache.c:144:86: note: Function 's3b_dcache_resize_file' argument 2 names different: declaration 'header' definition 'old_header'. s3backer-1.5.4/dcache.c:591:75: note: Function 's3b_dcache_resize_file' argument 2 names different: declaration 'header' definition 'old_header'. s3backer-1.5.4/dcache.c:321:47: style: Parameter 'priv' can be declared as pointer to const [constParameterPointer] s3backer-1.5.4/dcache.c:363:36: style: Parameter 'priv' can be declared as pointer to const [constParameterPointer] s3backer-1.5.4/tester.c:131:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] s3backer-1.5.4/tester.c:138:39: style: Variable 'state' can be declared as pointer to const [constVariablePointer] s3backer-1.5.4/tester.c:104:16: style: Variable 'r' is assigned a value that is never used. [unreadVariable] s3backer-1.5.4/s3b_config.c:1855:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] s3backer-1.5.4/s3b_config.c:1856:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] s3backer-1.5.4/s3b_config.c:1857:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] s3backer-1.5.4/s3b_config.c:1858:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] s3backer-1.5.4/s3b_config.c:1861:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] s3backer-1.5.4/s3b_config.c:1862:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] s3backer-1.5.4/s3b_config.c:1863:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] s3backer-1.5.4/s3b_config.c:1866:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] s3backer-1.5.4/s3b_config.c:1867:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] s3backer-1.5.4/s3b_config.c:1869:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] s3backer-1.5.4/s3b_config.c:1870:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] s3backer-1.5.4/s3b_config.c:1873:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] s3backer-1.5.4/s3b_config.c:1284:77: style: Checking if unsigned expression 'config.block_cache.num_threads' is less than zero. [unsignedLessThanZero] s3backer-1.5.4/s3b_config.c:607:42: style:inconclusive: Function 's3backer_create_store' argument 1 names different: declaration 'config' definition 'conf'. [funcArgNamesDifferent] s3backer-1.5.4/s3b_config.h:74:72: note: Function 's3backer_create_store' argument 1 names different: declaration 'config' definition 'conf'. s3backer-1.5.4/s3b_config.c:607:42: note: Function 's3backer_create_store' argument 1 names different: declaration 'config' definition 'conf'. s3backer-1.5.4/block_cache.c:954:13: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] s3backer-1.5.4/block_cache.c:397:36: style: Variable 'config' can be declared as pointer to const [constVariablePointer] s3backer-1.5.4/block_cache.c:472:36: style: Variable 'config' can be declared as pointer to const [constVariablePointer] s3backer-1.5.4/block_cache.c:544:11: style: Parameter 'actual_md5' can be declared as pointer to const. However it seems that 'block_cache_read_block' is a callback function, if 'actual_md5' is declared with const you might also need to cast function pointer(s). [constParameterCallback] s3backer-1.5.4/block_cache.c:249:23: note: You might need to cast the function pointer here s3backer-1.5.4/block_cache.c:544:11: note: Parameter 'actual_md5' can be declared as pointer to const s3backer-1.5.4/block_cache.c:547:36: style: Variable 'config' can be declared as pointer to const [constVariablePointer] s3backer-1.5.4/block_cache.c:783:107: style: Parameter 'md5' can be declared as pointer to const. However it seems that 'block_cache_write_block' is a callback function, if 'md5' is declared with const you might also need to cast function pointer(s). [constParameterCallback] s3backer-1.5.4/block_cache.c:250:24: note: You might need to cast the function pointer here s3backer-1.5.4/block_cache.c:783:107: note: Parameter 'md5' can be declared as pointer to const s3backer-1.5.4/block_cache.c:787:36: style: Variable 'config' can be declared as pointer to const [constVariablePointer] s3backer-1.5.4/block_cache.c:1261:79: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] s3backer-1.5.4/block_cache.c:1280:50: style: Parameter 'priv' can be declared as pointer to const [constParameterPointer] s3backer-1.5.4/block_cache.c:1304:36: style: Variable 'config' can be declared as pointer to const [constVariablePointer] s3backer-1.5.4/block_cache.c:1348:77: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] s3backer-1.5.4/block_cache.c:1350:36: style: Variable 'config' can be declared as pointer to const [constVariablePointer] s3backer-1.5.4/block_cache.c:1373:36: style: Variable 'config' can be declared as pointer to const [constVariablePointer] s3backer-1.5.4/block_cache.c:1400:36: style: Variable 'config' can be declared as pointer to const [constVariablePointer] s3backer-1.5.4/block_cache.c:1442:36: style: Variable 'config' can be declared as pointer to const [constVariablePointer] s3backer-1.5.4/block_cache.c:441:11: style: Variable 'r' is assigned a value that is never used. [unreadVariable] diff: DONE