2025-05-10 03:56 ftp://ftp.de.debian.org/debian/pool/main/e/e2fsprogs/e2fsprogs_1.47.2~rc1.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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: b3c7f00 (2025-05-09 17:59:20 +0200) count: 3071 3061 elapsed-time: 14.8 14.8 head-timing-info: old-timing-info: head results: e2fsprogs-1.47.2-rc1/contrib/add_ext4_encrypt.c:33:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/android/base_fs.c:154:67: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/contrib/android/base_fs.c:163:50: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/contrib/android/base_fs.c:173:55: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/contrib/android/basefs_allocator.c:356:32: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/contrib/android/basefs_allocator.c:375:46: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/contrib/android/block_list.c:31:67: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/contrib/android/block_list.c:41:50: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/contrib/android/block_list.c:51:55: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/contrib/android/block_list.c:37:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i_mode [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/android/basefs_allocator.c:170:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/android/basefs_allocator.c:200:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/android/basefs_allocator.c:248:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BLOCK_ALLOC_FAIL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/android/basefs_allocator.c:310:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCK_ALLOC_DATA [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/android/base_fs.c:39:58: style: Variable 'block' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/contrib/android/block_range.c:9:2: warning: If memory allocation fails, then there is a possible null pointer dereference: range [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/contrib/android/block_range.c:8:36: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/contrib/android/block_range.c:8:36: note: Assignment 'range=malloc(sizeof(*range))', assigned value is 0 e2fsprogs-1.47.2-rc1/contrib/android/block_range.c:9:2: note: Null pointer dereference e2fsprogs-1.47.2-rc1/contrib/android/block_range.c:10:2: warning: If memory allocation fails, then there is a possible null pointer dereference: range [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/contrib/android/block_range.c:8:36: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/contrib/android/block_range.c:8:36: note: Assignment 'range=malloc(sizeof(*range))', assigned value is 0 e2fsprogs-1.47.2-rc1/contrib/android/block_range.c:10:2: note: Null pointer dereference e2fsprogs-1.47.2-rc1/contrib/android/block_range.c:11:2: warning: If memory allocation fails, then there is a possible null pointer dereference: range [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/contrib/android/block_range.c:8:36: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/contrib/android/block_range.c:8:36: note: Assignment 'range=malloc(sizeof(*range))', assigned value is 0 e2fsprogs-1.47.2-rc1/contrib/android/block_range.c:11:2: note: Null pointer dereference e2fsprogs-1.47.2-rc1/contrib/android/block_range.c:47:16: style: Parameter 'sep' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/contrib/android/basefs_allocator.c:356:32: style:inconclusive: Function 'base_fs_alloc_set_target' argument 3 names different: declaration 'name' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/contrib/android/basefs_allocator.h:12:14: note: Function 'base_fs_alloc_set_target' argument 3 names different: declaration 'name' definition 'unused'. e2fsprogs-1.47.2-rc1/contrib/android/basefs_allocator.c:356:32: note: Function 'base_fs_alloc_set_target' argument 3 names different: declaration 'name' definition 'unused'. e2fsprogs-1.47.2-rc1/contrib/android/basefs_allocator.c:375:46: style:inconclusive: Function 'base_fs_alloc_unset_target' argument 2 names different: declaration 'target_path' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/contrib/android/basefs_allocator.h:13:66: note: Function 'base_fs_alloc_unset_target' argument 2 names different: declaration 'target_path' definition 'unused'. e2fsprogs-1.47.2-rc1/contrib/android/basefs_allocator.c:375:46: note: Function 'base_fs_alloc_unset_target' argument 2 names different: declaration 'target_path' definition 'unused'. e2fsprogs-1.47.2-rc1/contrib/android/ext2simg.c:53:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/android/ext2simg.c:78:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/android/basefs_allocator.c:29:32: style: Parameter 'allocator' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/contrib/android/ext2simg.c:115:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/android/basefs_allocator.c:103:34: style: Parameter 'allocator' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/contrib/android/ext2simg.c:127:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unix_io_manager [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/android/basefs_allocator.c:240:75: style: Parameter 'allocator' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/contrib/android/ext2simg.c:192:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/android/basefs_allocator.c:284:26: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/contrib/android/ext2simg.c:223:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/android/e2fsdroid.c:47:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/android/e2fsdroid.c:58:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/android/e2fsdroid.c:85:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/android/e2fsdroid.c:127:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/android/e2fsdroid.c:207:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_RW [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/android/fsmap.c:14:52: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/contrib/android/fsmap.c:107:53: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/contrib/android/fsmap.c:23:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fs [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/android/fsmap.c:33:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_EXTENT_ROOT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/android/fsmap.c:82:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_INODE_NOT_EXTENT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/android/fsmap.c:127:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/android/fsmap.c:165:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ROOT_INO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/android/ext2simg.c:51:8: style: Variable 'progname' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/contrib/android/fsmap.c:116:30: style: Variable 'name' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/contrib/android/perms.c:329:51: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/contrib/android/perms.c:238:49: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/contrib/ext4-ioc.c:51:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/ext4-ioc.c:62:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/ext4-ioc.c:92:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/ext4-ioc.c:73:3: error: Resource leak: fd [resourceLeak] e2fsprogs-1.47.2-rc1/contrib/android/perms.c:40:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/android/perms.c:77:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/android/perms.c:129:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/android/perms.c:179:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/android/perms.c:256:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/android/perms.c:316:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ROOT_INO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/android/perms.c:341:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nopt [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/ext4-ioc.c:59:47: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/contrib/fallocate.c:126:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fallocate.c:60:14: style: Parameter 's' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/contrib/fallocate.c:96:8: style: Variable 'fname' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/contrib/android/perms.c:313:13: warning: Either the condition 'mountpoint' is redundant or there is possible null pointer dereference: mountpoint. [nullPointerRedundantCheck] e2fsprogs-1.47.2-rc1/contrib/android/perms.c:370:13: note: Assuming that condition 'mountpoint' is not redundant e2fsprogs-1.47.2-rc1/contrib/android/perms.c:373:57: note: Calling function '__android_configure_fs', 4th argument 'mountpoint' value is 0 e2fsprogs-1.47.2-rc1/contrib/android/perms.c:313:13: note: Null pointer dereference e2fsprogs-1.47.2-rc1/contrib/android/perms.c:329:51: style:inconclusive: Function 'android_configure_fs' argument 5 names different: declaration 'seopts' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/contrib/android/perms.h:58:31: note: Function 'android_configure_fs' argument 5 names different: declaration 'seopts' definition 'unused'. e2fsprogs-1.47.2-rc1/contrib/android/perms.c:329:51: note: Function 'android_configure_fs' argument 5 names different: declaration 'seopts' definition 'unused'. e2fsprogs-1.47.2-rc1/contrib/android/perms.c:170:32: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/contrib/android/e2fsdroid.c:233:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] e2fsprogs-1.47.2-rc1/contrib/android/e2fsdroid.c:243:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] e2fsprogs-1.47.2-rc1/contrib/android/e2fsdroid.c:138:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/contrib/android/e2fsdroid.c:138:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/contrib/android/e2fsdroid.c:138:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/contrib/android/e2fsdroid.c:138:5: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/contrib/android/e2fsdroid.c:138:5: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/contrib/android/e2fsdroid.c:138:5: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/contrib/android/e2fsdroid.c:148:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/contrib/android/e2fsdroid.c:148:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/contrib/android/e2fsdroid.c:148:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/contrib/android/e2fsdroid.c:148:5: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/contrib/android/e2fsdroid.c:148:5: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/contrib/android/e2fsdroid.c:148:5: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/contrib/make-sparse.c:35:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/make-sparse.c:59:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/android/e2fsdroid.c:75:8: style: Variable 'token' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/contrib/android/e2fsdroid.c:212:8: style: Variable 'token' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/contrib/python-uuid/uuid.c:5:60: style: Parameter 'args' can be declared as pointer to const. However it seems that '_uuid_generate' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/contrib/python-uuid/uuid.c:16:16: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/contrib/python-uuid/uuid.c:5:60: note: Parameter 'args' can be declared as pointer to const e2fsprogs-1.47.2-rc1/contrib/spd_readdir.c:105:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_GET_DUMPABLE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/spd_readdir.c:125:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTLD_NEXT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/spd_readdir.c:193:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_RECURSIVE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/spd_readdir.c:257:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/spd_readdir.c:290:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/spd_readdir.c:198:2: warning: If memory allocation fails, then there is a possible null pointer dereference: dirstruct [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/contrib/spd_readdir.c:195:20: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/contrib/spd_readdir.c:195:20: note: Assignment 'dirstruct=malloc(sizeof(struct dir_s))', assigned value is 0 e2fsprogs-1.47.2-rc1/contrib/spd_readdir.c:198:2: note: Null pointer dereference e2fsprogs-1.47.2-rc1/contrib/spd_readdir.c:123:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/contrib/spd_readdir.c:206:19: style: Variable 'd' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/contrib/spd_readdir.c:323:19: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/contrib/spd_readdir.c:345:19: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/contrib/spd_readdir.c:369:19: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/contrib/spd_readdir.c:393:19: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:533:45: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:225:73: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:346:74: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:308:64: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:375:73: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:437:30: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1893:70: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1904:63: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1549:65: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1572:66: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1636:67: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1646:71: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1676:29: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1730:29: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:999:65: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1031:73: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1103:67: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1121:67: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1139:65: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1155:66: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1186:65: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1218:66: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1233:66: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1253:65: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1274:66: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1361:73: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1440:32: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1459:30: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1771:66: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1785:66: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1839:66: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1966:66: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2024:51: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2037:71: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2052:69: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2074:65: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2139:65: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2171:66: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2243:30: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2304:32: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2333:66: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2369:70: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2406:68: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2488:40: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:579:57: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:625:43: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1092:58: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1560:42: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1855:45: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1943:51: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:353:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:615:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:707:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:737:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable id [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:817:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:961:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:982:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1033:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1067:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1085:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1123:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1141:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1159:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1180:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1201:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1252:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1324:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1347:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1365:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1383:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1784:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1821:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1922:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2009:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2094:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2274:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2316:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2518:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2676:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/do_journal.c:537:74: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/do_journal.c:865:73: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/do_journal.c:935:45: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/do_journal.c:948:43: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/do_journal.c:59:74: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/do_journal.c:76:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/do_journal.c:173:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/do_journal.c:278:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/do_journal.c:422:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jbd2_journal_block_tail [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/do_journal.c:458:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSPC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/do_journal.c:470:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/do_journal.c:593:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/do_journal.c:632:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jbd2_journal_block_tail [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/do_journal.c:678:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/do_journal.c:801:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JBD2_CRC32C_CHKSUM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:69:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:147:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unix_io_manager [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:232:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_SOFTSUPP_FEATURES [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:317:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:328:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_IB_DIRTY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:355:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:387:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_super_block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:447:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:538:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argv [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:631:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_GOOD_OLD_INODE_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:677:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_EXTENT_ROOT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:823:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:837:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_GOOD_OLD_INODE_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1011:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1042:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1117:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1303:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1325:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1347:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1392:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_OS_LINUX [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2031:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_RW [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2070:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2086:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2182:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2271:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E2P_FS_FEATURE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2316:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E2P_FS_FEATURE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2395:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FALLOCATE_INIT_BEYOND_EOF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2493:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2507:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2555:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_SOFTSUPP_FEATURES [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/do_journal.c:537:74: style:inconclusive: Function 'do_journal_write' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:184:60: note: Function 'do_journal_write' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/do_journal.c:537:74: note: Function 'do_journal_write' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/do_journal.c:865:73: style:inconclusive: Function 'do_journal_open' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:185:59: note: Function 'do_journal_open' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/do_journal.c:865:73: note: Function 'do_journal_open' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/do_journal.c:935:45: style:inconclusive: Function 'do_journal_close' argument 1 names different: declaration 'argc' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:186:34: note: Function 'do_journal_close' argument 1 names different: declaration 'argc' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/do_journal.c:935:45: note: Function 'do_journal_close' argument 1 names different: declaration 'argc' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/do_journal.c:948:43: style:inconclusive: Function 'do_journal_run' argument 1 names different: declaration 'argc' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:187:32: note: Function 'do_journal_run' argument 1 names different: declaration 'argc' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/do_journal.c:948:43: note: Function 'do_journal_run' argument 1 names different: declaration 'argc' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/do_journal.c:265:20: style: Parameter 'block_list' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/debugfs/do_journal.c:627:23: style: Variable 'tag' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/debugfs/dump.c:147:65: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/dump.c:371:64: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/dump.c:326:66: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/dump.c:305:28: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:480:2: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:763:4: warning: %lld in format string (no. 2) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:763:4: warning: %lld in format string (no. 4) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:771:4: warning: %lld in format string (no. 2) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:771:4: warning: %lld in format string (no. 5) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:898:2: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'char'. [invalidPrintfArgType_uint] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:898:2: warning: %u in format string (no. 4) requires 'unsigned int' but the argument type is 'char'. [invalidPrintfArgType_uint] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1425:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] e2fsprogs-1.47.2-rc1/debugfs/dump.c:81:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/dump.c:131:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/dump.c:157:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/dump.c:208:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/dump.c:260:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/dump.c:309:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_NAME_LEN [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/dump.c:343:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/dump.c:379:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2328:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2327:7: note: ret is assigned e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2328:7: note: ret is overwritten e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:225:73: style:inconclusive: Function 'do_open_filesys' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:131:59: note: Function 'do_open_filesys' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:225:73: note: Function 'do_open_filesys' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:308:64: style:inconclusive: Function 'do_lcd' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:133:50: note: Function 'do_lcd' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:308:64: note: Function 'do_lcd' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:346:74: style:inconclusive: Function 'do_close_filesys' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:132:60: note: Function 'do_close_filesys' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:346:74: note: Function 'do_close_filesys' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:375:73: style:inconclusive: Function 'do_init_filesys' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:134:59: note: Function 'do_init_filesys' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:375:73: note: Function 'do_init_filesys' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:437:30: style:inconclusive: Function 'do_show_super_stats' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:135:63: note: Function 'do_show_super_stats' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:437:30: note: Function 'do_show_super_stats' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:533:45: style:inconclusive: Function 'do_dirty_filesys' argument 1 names different: declaration 'argc' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:130:34: note: Function 'do_dirty_filesys' argument 1 names different: declaration 'argc' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:533:45: note: Function 'do_dirty_filesys' argument 1 names different: declaration 'argc' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:999:65: style:inconclusive: Function 'do_stat' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:144:51: note: Function 'do_stat' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:999:65: note: Function 'do_stat' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1031:73: style:inconclusive: Function 'do_dump_extents' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:145:59: note: Function 'do_dump_extents' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1031:73: note: Function 'do_dump_extents' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1103:67: style:inconclusive: Function 'do_blocks' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:146:53: note: Function 'do_blocks' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1103:67: note: Function 'do_blocks' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1121:67: style:inconclusive: Function 'do_chroot' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:148:53: note: Function 'do_chroot' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1121:67: note: Function 'do_chroot' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1139:65: style:inconclusive: Function 'do_clri' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:149:51: note: Function 'do_clri' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1139:65: note: Function 'do_clri' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1155:66: style:inconclusive: Function 'do_freei' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:150:52: note: Function 'do_freei' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1155:66: note: Function 'do_freei' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1186:65: style:inconclusive: Function 'do_seti' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:151:51: note: Function 'do_seti' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1186:65: note: Function 'do_seti' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1218:66: style:inconclusive: Function 'do_testi' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:152:52: note: Function 'do_testi' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1218:66: note: Function 'do_testi' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1233:66: style:inconclusive: Function 'do_freeb' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:153:52: note: Function 'do_freeb' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1233:66: note: Function 'do_freeb' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1253:65: style:inconclusive: Function 'do_setb' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:154:51: note: Function 'do_setb' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1253:65: note: Function 'do_setb' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1274:66: style:inconclusive: Function 'do_testb' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:155:52: note: Function 'do_testb' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1274:66: note: Function 'do_testb' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1361:73: style:inconclusive: Function 'do_modify_inode' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:156:59: note: Function 'do_modify_inode' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1361:73: note: Function 'do_modify_inode' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1440:32: style:inconclusive: Function 'do_change_working_dir' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:158:65: note: Function 'do_change_working_dir' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1440:32: note: Function 'do_change_working_dir' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1459:30: style:inconclusive: Function 'do_print_working_directory' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:159:70: note: Function 'do_print_working_directory' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1459:30: note: Function 'do_print_working_directory' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1549:65: style:inconclusive: Function 'do_link' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:138:51: note: Function 'do_link' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1549:65: note: Function 'do_link' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1572:66: style:inconclusive: Function 'do_undel' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:139:52: note: Function 'do_undel' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1572:66: note: Function 'do_undel' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1636:67: style:inconclusive: Function 'do_unlink' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:140:53: note: Function 'do_unlink' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1636:67: note: Function 'do_unlink' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1646:71: style:inconclusive: Function 'do_copy_inode' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:141:57: note: Function 'do_copy_inode' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1646:71: note: Function 'do_copy_inode' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1676:29: style:inconclusive: Function 'do_find_free_block' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:142:62: note: Function 'do_find_free_block' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1676:29: note: Function 'do_find_free_block' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1730:29: style:inconclusive: Function 'do_find_free_inode' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:143:62: note: Function 'do_find_free_inode' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1730:29: note: Function 'do_find_free_inode' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1771:66: style:inconclusive: Function 'do_write' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:160:52: note: Function 'do_write' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1771:66: note: Function 'do_write' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1785:66: style:inconclusive: Function 'do_mknod' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:161:52: note: Function 'do_mknod' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1785:66: note: Function 'do_mknod' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1839:66: style:inconclusive: Function 'do_mkdir' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:162:52: note: Function 'do_mkdir' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1839:66: note: Function 'do_mkdir' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1893:70: style:inconclusive: Function 'do_kill_file' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:136:56: note: Function 'do_kill_file' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1893:70: note: Function 'do_kill_file' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1904:63: style:inconclusive: Function 'do_rm' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:137:49: note: Function 'do_rm' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1904:63: note: Function 'do_rm' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1966:66: style:inconclusive: Function 'do_rmdir' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:163:52: note: Function 'do_rmdir' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1966:66: note: Function 'do_rmdir' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2024:51: style:inconclusive: Function 'do_show_debugfs_params' argument 1 names different: declaration 'argc' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:164:40: note: Function 'do_show_debugfs_params' argument 1 names different: declaration 'argc' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2024:51: note: Function 'do_show_debugfs_params' argument 1 names different: declaration 'argc' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2037:71: style:inconclusive: Function 'do_expand_dir' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:165:57: note: Function 'do_expand_dir' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2037:71: note: Function 'do_expand_dir' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2052:69: style:inconclusive: Function 'do_features' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:166:55: note: Function 'do_features' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2052:69: note: Function 'do_features' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2074:65: style:inconclusive: Function 'do_bmap' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:167:51: note: Function 'do_bmap' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2074:65: note: Function 'do_bmap' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2139:65: style:inconclusive: Function 'do_imap' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:168:51: note: Function 'do_imap' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2139:65: note: Function 'do_imap' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2171:66: style:inconclusive: Function 'do_idump' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:169:52: note: Function 'do_idump' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2171:66: note: Function 'do_idump' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2243:30: style:inconclusive: Function 'do_set_current_time' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:170:63: note: Function 'do_set_current_time' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2243:30: note: Function 'do_set_current_time' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2304:32: style:inconclusive: Function 'do_supported_features' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:171:65: note: Function 'do_supported_features' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2304:32: note: Function 'do_supported_features' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2333:66: style:inconclusive: Function 'do_punch' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:172:52: note: Function 'do_punch' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2333:66: note: Function 'do_punch' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2369:70: style:inconclusive: Function 'do_fallocate' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:173:56: note: Function 'do_fallocate' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2369:70: note: Function 'do_fallocate' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2406:68: style:inconclusive: Function 'do_symlink' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:174:54: note: Function 'do_symlink' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2406:68: note: Function 'do_symlink' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2488:40: style:inconclusive: Function 'do_dump_mmp' argument 1 names different: declaration 'argc' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:176:29: note: Function 'do_dump_mmp' argument 1 names different: declaration 'argc' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2488:40: note: Function 'do_dump_mmp' argument 1 names different: declaration 'argc' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:66:42: style: Parameter 'device_name' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:70:14: style: Variable 'tdb_dir' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:72:9: style: Variable 'dev_name' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:424:18: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:440:14: style: Variable 'units' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:638:46: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:671:47: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:787:53: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:798:43: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:830:14: style: Variable 'i_type' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:965:15: style: Variable 'devnote' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1294:46: style: Parameter 'prompt' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1295:21: style: Parameter 'format' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1316:47: style: Parameter 'prompt' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1317:22: style: Parameter 'format' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1338:47: style: Parameter 'prompt' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1339:22: style: Parameter 'format' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1559:54: style: Parameter 'blocknr' can be declared as pointer to const. However it seems that 'mark_blocks_proc' is a callback function, if 'blocknr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1606:10: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1559:54: note: Parameter 'blocknr' can be declared as pointer to const e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1854:57: style: Parameter 'blocknr' can be declared as pointer to const. However it seems that 'release_blocks_proc' is a callback function, if 'blocknr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1885:17: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:1854:57: note: Parameter 'blocknr' can be declared as pointer to const e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2265:37: style: Parameter 'supp' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2498:36: style: Parameter 'cmd_file' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2567:14: style: Variable 'opt_string' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/debugfs/dump.c:96:6: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] e2fsprogs-1.47.2-rc1/debugfs/dump.c:147:65: style:inconclusive: Function 'do_dump' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:69:51: note: Function 'do_dump' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/dump.c:147:65: note: Function 'do_dump' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/dump.c:326:66: style:inconclusive: Function 'do_rdump' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:71:52: note: Function 'do_rdump' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/dump.c:326:66: note: Function 'do_rdump' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/dump.c:371:64: style:inconclusive: Function 'do_cat' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:70:50: note: Function 'do_cat' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/dump.c:371:64: note: Function 'do_cat' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/dump.c:252:16: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/debugfs/dump.c:252:34: style: Parameter 'dumproot' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/debugfs/debugfs.c:2328:7: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:68:72: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:118:73: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:164:73: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:170:70: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:176:70: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:182:70: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:188:69: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:194:69: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:200:69: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:206:70: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:212:70: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:218:65: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:224:65: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:230:63: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:236:65: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:242:72: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:265:73: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:310:71: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:327:72: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:386:69: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:435:70: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:487:72: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:503:65: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:538:71: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/filefrag.c:267:69: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/filefrag.c:105:66: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/filefrag.c:173:58: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:799:26: error: Invalid getcwd() argument nr 2. The value is -1 but the valid values are '0:'. [invalidFunctionArg] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:39:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_EXTENT_FLAGS_LEAF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:100:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sci_idx [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:135:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sci_idx [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:167:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_EXTENT_CURRENT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:173:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_EXTENT_ROOT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:179:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_EXTENT_LAST_LEAF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:185:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_EXTENT_FIRST_SIB [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:191:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_EXTENT_LAST_SIB [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:197:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_EXTENT_NEXT_SIB [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:203:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_EXTENT_PREV_SIB [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:209:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_EXTENT_NEXT_LEAF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:215:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_EXTENT_PREV_LEAF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:221:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_EXTENT_NEXT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:227:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_EXTENT_PREV [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:233:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_EXTENT_UP [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:239:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_EXTENT_DOWN [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:258:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_EXTENT_CURRENT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:282:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_EXTENT_FLAGS_UNINIT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:324:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_EXTENT_CURRENT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:349:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_EXTENT_INSERT_AFTER [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:405:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_EXTENT_SET_BMAP_UNINIT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:441:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_EXTENT_NO_NEXT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:520:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_EXTENT_CURRENT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:567:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_EXTENT_CURRENT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1739:6: style: Condition '!e' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1737:20: note: Calling function 'generate_fname' returns 1 e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1737:20: note: Assignment 'e=generate_fname(fep,type,&f,&id,&v)', assigned value is 1 e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1739:6: note: Condition '!e' is always false e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2164:6: style: Condition '!e' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2162:20: note: Calling function 'generate_fname' returns 1 e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2162:20: note: Assignment 'e=generate_fname(fep,flp-flist,&l,&id,&v1)', assigned value is 1 e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2164:6: note: Condition '!e' is always false e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2202:6: style: Condition '!e' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2200:20: note: Calling function 'generate_fname' returns 1 e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2200:20: note: Assignment 'e=generate_fname(fep,0,&f,&id,&v1)', assigned value is 1 e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2202:6: note: Condition '!e' is always false e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2237:6: style: Condition '!e' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2235:20: note: Calling function 'generate_fname' returns 1 e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2235:20: note: Assignment 'e=generate_fname(fep,3,&f,&id,&v1)', assigned value is 1 e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2237:6: note: Condition '!e' is always false e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2364:6: style: Condition '!e' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2362:20: note: Calling function 'generate_fname' returns 1 e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2362:20: note: Assignment 'e=generate_fname(dfep,flp-flist,&newf,&id,&v1)', assigned value is 1 e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2364:6: note: Condition '!e' is always false e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2509:6: style: Condition '!e' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2507:20: note: Calling function 'generate_fname' returns 1 e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2507:20: note: Assignment 'e=generate_fname(fep,2,&f,&id,&v1)', assigned value is 1 e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2509:6: note: Condition '!e' is always false e2fsprogs-1.47.2-rc1/contrib/fsstress.c:456:4: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/debugfs/filefrag.c:152:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_HUGE_FILE_FL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/filefrag.c:184:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_NAME_LEN [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/filefrag.c:280:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:373:4: error: Common realloc mistake: 'ilist' nulled but not freed upon failure [memleakOnRealloc] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1056:4: warning: If memory allocation fails, then there is a possible null pointer dereference: freq_table [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1052:21: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1052:21: note: Assignment 'freq_table=malloc(f*sizeof(*freq_table))', assigned value is 0 e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1056:4: note: Null pointer dereference e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1341:14: warning: If memory allocation fails, then there is a possible null pointer dereference: name1 [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2519:14: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2519:14: note: Assignment 'val=malloc(len+1)', assigned value is 0 e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2525:19: note: Calling function 'symlink_path', 1st argument 'val' value is 0 e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1341:14: note: Null pointer dereference e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1346:17: warning: If memory allocation fails, then there is a possible null pointer dereference: name1 [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2519:14: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2519:14: note: Assignment 'val=malloc(len+1)', assigned value is 0 e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2525:19: note: Calling function 'symlink_path', 1st argument 'val' value is 0 e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1341:6: note: Assuming condition is false e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1346:17: note: Null pointer dereference e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2522:2: warning: If memory allocation fails, then there is a possible null pointer dereference: val [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2519:14: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2519:14: note: Assignment 'val=malloc(len+1)', assigned value is 0 e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2522:2: note: Null pointer dereference e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2524:3: warning: If memory allocation fails, then there is a possible null pointer dereference: val [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2519:14: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2519:14: note: Assignment 'val=malloc(len+1)', assigned value is 0 e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2524:3: note: Null pointer dereference e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2700:9: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2699:14: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2699:14: note: Assignment 'buf=malloc(len)', assigned value is 0 e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2700:9: note: Null pointer dereference e2fsprogs-1.47.2-rc1/contrib/fsstress.c:541:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:548:6: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:2130:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1880:10: style: Checking if unsigned expression 'len' is less than zero. [unsignedLessThanZero] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1970:10: style: Checking if unsigned expression 'len' is less than zero. [unsignedLessThanZero] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:423:7: style: Local variable 'i' shadows outer variable [shadowVariable] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:321:6: note: Shadowed declaration e2fsprogs-1.47.2-rc1/contrib/fsstress.c:423:7: note: Shadow variable e2fsprogs-1.47.2-rc1/contrib/fsstress.c:319:8: style: Variable 'dirname' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:599:47: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:768:10: style: Variable 'efep' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:825:48: style: Parameter 'flp' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:825:62: style: Parameter 'fep' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:870:11: style: Variable 'flp' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1152:25: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1263:37: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1281:31: style: Parameter 'lead_str' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/debugfs/filefrag.c:267:69: style:inconclusive: Function 'do_filefrag' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:180:55: note: Function 'do_filefrag' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/filefrag.c:267:69: note: Function 'do_filefrag' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1734:11: style: Variable 'extsize' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/contrib/fsstress.c:1736:11: style: Variable 'extsize' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:68:72: style:inconclusive: Function 'do_extent_open' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:74:58: note: Function 'do_extent_open' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:68:72: note: Function 'do_extent_open' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:118:73: style:inconclusive: Function 'do_extent_close' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:75:59: note: Function 'do_extent_close' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:118:73: note: Function 'do_extent_close' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:164:73: style:inconclusive: Function 'do_current_node' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:76:59: note: Function 'do_current_node' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:164:73: note: Function 'do_current_node' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:170:70: style:inconclusive: Function 'do_root_node' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:77:56: note: Function 'do_root_node' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:170:70: note: Function 'do_root_node' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:176:70: style:inconclusive: Function 'do_last_leaf' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:78:56: note: Function 'do_last_leaf' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:176:70: note: Function 'do_last_leaf' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:182:70: style:inconclusive: Function 'do_first_sib' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:79:56: note: Function 'do_first_sib' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:182:70: note: Function 'do_first_sib' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:188:69: style:inconclusive: Function 'do_last_sib' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:80:55: note: Function 'do_last_sib' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:188:69: note: Function 'do_last_sib' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:194:69: style:inconclusive: Function 'do_next_sib' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:81:55: note: Function 'do_next_sib' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:194:69: note: Function 'do_next_sib' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:200:69: style:inconclusive: Function 'do_prev_sib' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:82:55: note: Function 'do_prev_sib' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:200:69: note: Function 'do_prev_sib' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:206:70: style:inconclusive: Function 'do_next_leaf' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:83:56: note: Function 'do_next_leaf' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:206:70: note: Function 'do_next_leaf' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:212:70: style:inconclusive: Function 'do_prev_leaf' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:84:56: note: Function 'do_prev_leaf' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:212:70: note: Function 'do_prev_leaf' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:218:65: style:inconclusive: Function 'do_next' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:85:51: note: Function 'do_next' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:218:65: note: Function 'do_next' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:224:65: style:inconclusive: Function 'do_prev' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:86:51: note: Function 'do_prev' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:224:65: note: Function 'do_prev' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:230:63: style:inconclusive: Function 'do_up' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:87:49: note: Function 'do_up' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:230:63: note: Function 'do_up' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:236:65: style:inconclusive: Function 'do_down' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:88:51: note: Function 'do_down' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:236:65: note: Function 'do_down' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:242:72: style:inconclusive: Function 'do_delete_node' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:89:58: note: Function 'do_delete_node' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:242:72: note: Function 'do_delete_node' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:265:73: style:inconclusive: Function 'do_replace_node' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:90:59: note: Function 'do_replace_node' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:265:73: note: Function 'do_replace_node' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:310:71: style:inconclusive: Function 'do_split_node' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:91:57: note: Function 'do_split_node' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:310:71: note: Function 'do_split_node' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:327:72: style:inconclusive: Function 'do_insert_node' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:92:58: note: Function 'do_insert_node' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:327:72: note: Function 'do_insert_node' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:386:69: style:inconclusive: Function 'do_set_bmap' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:93:55: note: Function 'do_set_bmap' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:386:69: note: Function 'do_set_bmap' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:435:70: style:inconclusive: Function 'do_print_all' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:94:56: note: Function 'do_print_all' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:435:70: note: Function 'do_print_all' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:487:72: style:inconclusive: Function 'do_fix_parents' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:95:58: note: Function 'do_fix_parents' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:487:72: note: Function 'do_fix_parents' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:503:65: style:inconclusive: Function 'do_info' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:96:51: note: Function 'do_info' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:503:65: note: Function 'do_info' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:538:71: style:inconclusive: Function 'do_goto_block' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:97:57: note: Function 'do_goto_block' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:538:71: note: Function 'do_goto_block' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:31:36: style: Parameter 'desc' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/debugfs/extent_inode.c:31:64: style: Parameter 'extent' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/debugfs/icheck.c:56:67: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/icheck.c:34:52: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/htree.c:248:71: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/htree.c:332:68: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/htree.c:428:70: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/htree.c:463:37: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/journal.c:164:52: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/journal.c:275:37: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/icheck.c:51:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCK_ABORT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/icheck.c:77:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/icheck.c:56:67: style:inconclusive: Function 'do_icheck' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:111:53: note: Function 'do_icheck' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/icheck.c:56:67: note: Function 'do_icheck' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/htree.c:41:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_NAME_LEN [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/htree.c:157:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_dx_entry [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/htree.c:276:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_BTREE_FL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/htree.c:351:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAGS_UNSIGNED_HASH [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/htree.c:454:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCK_FLAG_READ_ONLY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/htree.c:482:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCK_ABORT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/journal.c:53:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JBD2_CRC32C_CHKSUM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/journal.c:63:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable journal_superblock_t [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/journal.c:136:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable journal_enable_debug [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/journal.c:156:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable K_DEV_FS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/journal.c:172:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REQ_OP_READ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/journal.c:223:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REQ_OP_WRITE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/journal.c:242:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REQ_OP_READ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/journal.c:254:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_VALID_FS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/journal.c:286:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCK_ABORT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/journal.c:309:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable journal_t [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/journal.c:536:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_INODE_NUM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/journal.c:560:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REQ_OP_READ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/journal.c:653:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_RW [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/journal.c:711:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_JOURNAL_FLAGS_WRONG [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/journal.c:771:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/journal.c:798:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_RW [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/journal.c:882:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/journal.c:940:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jbd2_journal_block_tail [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/logdump.c:89:68: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/logdump.c:747:49: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/logdump.c:811:44: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/htree.c:114:4: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/debugfs/htree.c:248:71: style:inconclusive: Function 'do_htree_dump' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:100:57: note: Function 'do_htree_dump' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/htree.c:248:71: note: Function 'do_htree_dump' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/htree.c:332:68: style:inconclusive: Function 'do_dx_hash' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:101:54: note: Function 'do_dx_hash' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/htree.c:332:68: note: Function 'do_dx_hash' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/htree.c:428:70: style:inconclusive: Function 'do_dirsearch' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:102:56: note: Function 'do_dirsearch' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/htree.c:428:70: note: Function 'do_dirsearch' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/htree.c:463:37: style:inconclusive: Function 'search_dir_block' argument 4 names different: declaration 'ref_blk' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/htree.c:425:38: note: Function 'search_dir_block' argument 4 names different: declaration 'ref_blk' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/htree.c:463:37: note: Function 'search_dir_block' argument 4 names different: declaration 'ref_blk' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/htree.c:34:33: style: Parameter 'rootnode' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/debugfs/htree.c:106:32: style: Variable 't' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/debugfs/journal.c:395:10: style: Variable 'retval' is reassigned a value before the old one has been used. [redundantAssignment] e2fsprogs-1.47.2-rc1/debugfs/journal.c:366:10: note: retval is assigned e2fsprogs-1.47.2-rc1/debugfs/journal.c:395:10: note: retval is overwritten e2fsprogs-1.47.2-rc1/debugfs/journal.c:785:48: style:inconclusive: Function 'ext2fs_run_ext3_journal' argument 1 names different: declaration 'fs' definition 'fsp'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/journal.h:20:48: note: Function 'ext2fs_run_ext3_journal' argument 1 names different: declaration 'fs' definition 'fsp'. e2fsprogs-1.47.2-rc1/debugfs/journal.c:785:48: note: Function 'ext2fs_run_ext3_journal' argument 1 names different: declaration 'fs' definition 'fsp'. e2fsprogs-1.47.2-rc1/debugfs/journal.c:48:31: style: Parameter 'jsb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/debugfs/journal.c:100:34: style: Parameter 'journal' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/debugfs/journal.c:229:41: style: Parameter 'bh' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/debugfs/journal.c:273:15: style: Parameter 'block_nr' can be declared as pointer to const. However it seems that 'process_journal_block' is a callback function, if 'block_nr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/debugfs/journal.c:368:13: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/debugfs/journal.c:273:15: note: Parameter 'block_nr' can be declared as pointer to const e2fsprogs-1.47.2-rc1/debugfs/journal.c:530:27: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/debugfs/ls.c:182:69: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/logdump.c:116:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk64_t [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/ls.c:75:54: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/logdump.c:319:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/logdump.c:375:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_MAX_BLOCK_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/logdump.c:580:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JBD2_FEATURE_INCOMPAT_CSUM_V3 [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/logdump.c:623:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT_INIT_MAX_LEN [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/logdump.c:701:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable journal_header_t [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/logdump.c:755:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __u32 [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/logdump.c:819:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_MAX_BLOCK_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/ls.c:87:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_NAME_LEN [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/ls.c:189:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIRENT_FLAG_INCLUDE_EMPTY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/lsdel.c:74:66: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/lsdel.c:53:43: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/lsdel.c:65:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCK_ABORT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/lsdel.c:108:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/ls.c:129:11: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] e2fsprogs-1.47.2-rc1/debugfs/ls.c:182:69: style:inconclusive: Function 'do_list_dir' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:157:55: note: Function 'do_list_dir' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/ls.c:182:69: note: Function 'do_list_dir' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/ls.c:50:14: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/debugfs/ls.c:85:14: style: Variable 'tm_p' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/debugfs/ls.c:93:30: style: Variable 't' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/debugfs/lsdel.c:74:66: style:inconclusive: Function 'do_lsdel' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:108:52: note: Function 'do_lsdel' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/lsdel.c:74:66: note: Function 'do_lsdel' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/lsdel.c:43:29: style: Variable 'arg1' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/debugfs/lsdel.c:43:36: style: Variable 'arg2' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/debugfs/ncheck.c:93:67: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/ncheck.c:40:34: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/quota.c:105:71: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/quota.c:135:70: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/quota.c:93:38: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/ncheck.c:83:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/ncheck.c:107:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/quota.c:61:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXQUOTAS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/ncheck.c:93:67: style:inconclusive: Function 'do_ncheck' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:114:53: note: Function 'do_ncheck' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/ncheck.c:93:67: note: Function 'do_ncheck' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/ncheck.c:137:9: style: Variable 'str' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/debugfs/quota.c:105:71: style:inconclusive: Function 'do_list_quota' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:190:57: note: Function 'do_list_quota' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/quota.c:105:71: note: Function 'do_list_quota' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/quota.c:135:70: style:inconclusive: Function 'do_get_quota' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:191:56: note: Function 'do_get_quota' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/quota.c:135:70: note: Function 'do_get_quota' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/quota.c:92:46: style: Parameter 'dq' can be declared as pointer to const. However it seems that 'list_quota_callback' is a callback function, if 'dq' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/debugfs/quota.c:128:39: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/debugfs/quota.c:92:46: note: Parameter 'dq' can be declared as pointer to const e2fsprogs-1.47.2-rc1/debugfs/unused.c:28:43: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:847:70: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:875:70: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:918:33: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:1056:45: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:541:32: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:573:35: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:644:33: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:663:36: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:678:30: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:691:33: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:982:31: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/unused.c:33:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_MAX_BLOCK_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/unused.c:28:43: style:inconclusive: Function 'do_dump_unused' argument 1 names different: declaration 'argc' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:122:32: note: Function 'do_dump_unused' argument 1 names different: declaration 'argc' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/unused.c:28:43: note: Function 'do_dump_unused' argument 1 names different: declaration 'argc' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/logdump.c:196:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] e2fsprogs-1.47.2-rc1/debugfs/logdump.c:411:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/debugfs/logdump.c:799:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] e2fsprogs-1.47.2-rc1/debugfs/logdump.c:89:68: style:inconclusive: Function 'do_logdump' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:105:54: note: Function 'do_logdump' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/logdump.c:89:68: note: Function 'do_logdump' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/logdump.c:803:55: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/debugfs/logdump.c:858:28: style: Variable 'super' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/debugfs/logdump.c:916:7: style: Variable 'intp' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/debugfs/logdump.c:917:8: style: Variable 'charp' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:481:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:551:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:578:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:603:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:631:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:656:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:670:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:685:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable field [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:699:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:753:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_GOOD_OLD_INODE_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:938:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_MIN_DESC_SIZE_64BIT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:1061:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/xattrs.c:141:70: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/xattrs.c:239:70: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/xattrs.c:323:69: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/xattrs.c:120:71: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/util.c:86:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/util.c:102:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/util.c:173:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_RW [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/util.c:488:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FT_REG_FILE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/util.c:523:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/xattrs.c:138:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/xattrs.c:167:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XATTR_HANDLE_FLAG_RAW [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/xattrs.c:264:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XATTR_HANDLE_FLAG_RAW [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/xattrs.c:422:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_ext_attr_entry [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/xattrs.c:477:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_EXT_ATTR_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/xattrs.c:492:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_EXT_ATTR_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/xattrs.c:433:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/debugfs/xattrs.c:120:71: style:inconclusive: Function 'do_list_xattr' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:203:50: note: Function 'do_list_xattr' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/xattrs.c:120:71: note: Function 'do_list_xattr' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/xattrs.c:141:70: style:inconclusive: Function 'do_get_xattr' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:200:49: note: Function 'do_get_xattr' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/xattrs.c:141:70: note: Function 'do_get_xattr' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/xattrs.c:239:70: style:inconclusive: Function 'do_set_xattr' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:201:49: note: Function 'do_set_xattr' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/xattrs.c:239:70: note: Function 'do_set_xattr' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/xattrs.c:323:69: style:inconclusive: Function 'do_rm_xattr' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:202:48: note: Function 'do_rm_xattr' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/xattrs.c:323:69: note: Function 'do_rm_xattr' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/xattrs.c:28:50: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/debugfs/xattrs.c:370:44: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/debugfs/xattrs.c:387:45: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/debugfs/xattrs.c:117:6: style: Variable 'err' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/debugfs/util.c:212:9: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] e2fsprogs-1.47.2-rc1/debugfs/util.c:212:28: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] e2fsprogs-1.47.2-rc1/debugfs/util.c:212:41: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] e2fsprogs-1.47.2-rc1/debugfs/util.c:518:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] e2fsprogs-1.47.2-rc1/debugfs/util.c:202:14: style: Variable 'tz' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/debugfs/util.c:219:41: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/debugfs/util.c:515:8: style: Variable 'tok' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/debugfs/zap.c:28:70: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/zap.c:174:71: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/zap.c:48:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/zap.c:189:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/badblocks.c:123:32: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/badblocks.c:21:55: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/zap.c:89:4: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] e2fsprogs-1.47.2-rc1/debugfs/zap.c:28:70: style:inconclusive: Function 'do_zap_block' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:208:56: note: Function 'do_zap_block' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/zap.c:28:70: note: Function 'do_zap_block' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/zap.c:174:71: style:inconclusive: Function 'do_block_dump' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:209:57: note: Function 'do_block_dump' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/zap.c:174:71: note: Function 'do_block_dump' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/e2fsck/badblocks.c:42:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_BAD_INO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/badblocks.c:137:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCK_CHANGED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:578:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/e2fsck/badblocks.c:123:32: style:inconclusive: Function 'check_bb_inode_blocks' argument 3 names different: declaration 'blockcnt' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/badblocks.c:17:71: note: Function 'check_bb_inode_blocks' argument 3 names different: declaration 'blockcnt' definition 'unused'. e2fsprogs-1.47.2-rc1/e2fsck/badblocks.c:123:32: note: Function 'check_bb_inode_blocks' argument 3 names different: declaration 'blockcnt' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:541:32: style:inconclusive: Function 'parse_int' argument 2 names different: declaration 'field' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:69:63: note: Function 'parse_int' argument 2 names different: declaration 'field' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:541:32: note: Function 'parse_int' argument 2 names different: declaration 'field' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:573:35: style:inconclusive: Function 'parse_string' argument 2 names different: declaration 'field' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:70:66: note: Function 'parse_string' argument 2 names different: declaration 'field' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:573:35: note: Function 'parse_string' argument 2 names different: declaration 'field' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:644:33: style:inconclusive: Function 'parse_uuid' argument 2 names different: declaration 'field' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:71:64: note: Function 'parse_uuid' argument 2 names different: declaration 'field' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:644:33: note: Function 'parse_uuid' argument 2 names different: declaration 'field' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:663:36: style:inconclusive: Function 'parse_hashalg' argument 2 names different: declaration 'field' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:72:67: note: Function 'parse_hashalg' argument 2 names different: declaration 'field' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:663:36: note: Function 'parse_hashalg' argument 2 names different: declaration 'field' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:678:30: style:inconclusive: Function 'parse_encoding' argument 2 names different: declaration 'field' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:73:68: note: Function 'parse_encoding' argument 2 names different: declaration 'field' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:678:30: note: Function 'parse_encoding' argument 2 names different: declaration 'field' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:691:33: style:inconclusive: Function 'parse_bmap' argument 2 names different: declaration 'field' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:77:64: note: Function 'parse_bmap' argument 2 names different: declaration 'field' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:691:33: note: Function 'parse_bmap' argument 2 names different: declaration 'field' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:847:70: style:inconclusive: Function 'do_set_super' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:117:56: note: Function 'do_set_super' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:847:70: note: Function 'do_set_super' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:875:70: style:inconclusive: Function 'do_set_inode' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:118:56: note: Function 'do_set_inode' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:875:70: note: Function 'do_set_inode' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:918:33: style:inconclusive: Function 'do_set_block_group_descriptor' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:119:73: note: Function 'do_set_block_group_descriptor' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:918:33: note: Function 'do_set_block_group_descriptor' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:982:31: style:inconclusive: Function 'parse_mmp_clear' argument 2 names different: declaration 'field' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:81:69: note: Function 'parse_mmp_clear' argument 2 names different: declaration 'field' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:982:31: note: Function 'parse_mmp_clear' argument 2 names different: declaration 'field' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:1056:45: style:inconclusive: Function 'do_set_mmp_value' argument 1 names different: declaration 'argc' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/debugfs/debugfs.h:177:34: note: Function 'do_set_mmp_value' argument 1 names different: declaration 'argc' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:1056:45: note: Function 'do_set_mmp_value' argument 1 names different: declaration 'argc' definition 'unused'. e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:380:14: style: Variable 'prefix' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:455:14: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_uint' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:818:24: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:455:14: note: Parameter 'arg' can be declared as pointer to const e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:690:52: style: Parameter 'info' can be declared as pointer to const. However it seems that 'parse_bmap' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:827:24: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:690:52: note: Parameter 'info' can be declared as pointer to const e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:791:14: style: Variable 'type' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:791:21: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/e2fsck/dirinfo.c:369:57: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/debugfs/set_fields.c:730:19: style: Variable 'retval' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/e2fsck/dirinfo.c:151:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/dx_dirinfo.c:43:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/dx_dirinfo.c:47:4: style: Statements following noreturn function 'fatal_error()' will never be executed. [unreachableCode] e2fsprogs-1.47.2-rc1/e2fsck/dx_dirinfo.c:16:73: style: Parameter 'inode' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/dirinfo.c:155:4: style: Statements following noreturn function 'fatal_error()' will never be executed. [unreachableCode] e2fsprogs-1.47.2-rc1/e2fsck/dirinfo.c:288:46: style:inconclusive: Function 'e2fsck_put_dir_info' argument 1 names different: declaration 'ctx' definition 'EXT2FS_NO_TDB_UNUSED'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/dirinfo.c:43:42: note: Function 'e2fsck_put_dir_info' argument 1 names different: declaration 'ctx' definition 'EXT2FS_NO_TDB_UNUSED'. e2fsprogs-1.47.2-rc1/e2fsck/dirinfo.c:288:46: note: Function 'e2fsck_put_dir_info' argument 1 names different: declaration 'ctx' definition 'EXT2FS_NO_TDB_UNUSED'. e2fsprogs-1.47.2-rc1/e2fsck/dirinfo.c:289:26: style:inconclusive: Function 'e2fsck_put_dir_info' argument 2 names different: declaration 'dir' definition 'EXT2FS_NO_TDB_UNUSED'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/dirinfo.c:43:64: note: Function 'e2fsck_put_dir_info' argument 2 names different: declaration 'dir' definition 'EXT2FS_NO_TDB_UNUSED'. e2fsprogs-1.47.2-rc1/e2fsck/dirinfo.c:289:26: note: Function 'e2fsck_put_dir_info' argument 2 names different: declaration 'dir' definition 'EXT2FS_NO_TDB_UNUSED'. e2fsprogs-1.47.2-rc1/e2fsck/dirinfo.c:369:57: style:inconclusive: Function 'e2fsck_dir_info_iter_end' argument 1 names different: declaration 'ctx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/e2fsck.h:513:47: note: Function 'e2fsck_dir_info_iter_end' argument 1 names different: declaration 'ctx' definition 'unused'. e2fsprogs-1.47.2-rc1/e2fsck/dirinfo.c:369:57: note: Function 'e2fsck_dir_info_iter_end' argument 1 names different: declaration 'ctx' definition 'unused'. e2fsprogs-1.47.2-rc1/e2fsck/dirinfo.c:132:26: style: Variable 'old_array' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/e2fsck/dirinfo.c:289:26: style: Parameter 'EXT2FS_NO_TDB_UNUSED' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/dirinfo.c:465:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/e2fsck/dirinfo.c:481:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/e2fsck/e2fsck.c:25:9: style: Variable 'time_env' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/e2fsck/ehandler.c:27:33: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/ea_refcount.c:229:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_NO_MEMORY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/ehandler.c:85:35: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/ea_refcount.c:244:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/ea_refcount.c:254:19: style:inconclusive: Function 'ea_refcount_store' argument 3 names different: declaration 'count' definition 'ea_value'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/e2fsck.h:551:19: note: Function 'ea_refcount_store' argument 3 names different: declaration 'count' definition 'ea_value'. e2fsprogs-1.47.2-rc1/e2fsck/ea_refcount.c:254:19: note: Function 'ea_refcount_store' argument 3 names different: declaration 'count' definition 'ea_value'. e2fsprogs-1.47.2-rc1/e2fsck/ea_refcount.c:211:25: style: Variable 'el' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/e2fsck/ea_refcount.c:117:20: style: Variable 'new_size' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/e2fsck/emptydir.c:134:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIRENT_ABORT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/emptydir.c:184:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable retval [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/extend.c:56:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/extend.c:82:2: error: Resource leak: fd [resourceLeak] e2fsprogs-1.47.2-rc1/e2fsck/extend.c:20:25: style: Parameter 'progname' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/extend.c:30:8: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/e2fsck/emptydir.c:49:6: error: Uninitialized variable: retval [uninitvar] e2fsprogs-1.47.2-rc1/e2fsck/encrypted_files.c:170:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __u32 [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/encrypted_files.c:235:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_NO_MEMORY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/encrypted_files.c:380:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __u32 [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/encrypted_files.c:409:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __u32 [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/flushb.c:47:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/flushb.c:65:2: error: Resource leak: fd [resourceLeak] e2fsprogs-1.47.2-rc1/e2fsck/iscan.c:172:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/iscan.c:193:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/iscan.c:235:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unix_io_manager [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/extents.c:142:39: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/iscan.c:91:47: style: Parameter 'tv1' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/iscan.c:92:28: style: Parameter 'tv2' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/iscan.c:225:18: style: Variable 'exit_value' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/e2fsck/iscan.c:225:7: style: Variable 'exit_value' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/e2fsck/extents.c:43:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2FS_BMAP64_RBTREE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/extents.c:72:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_EXTENT_ROOT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/extents.c:178:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2fs_extent [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/extents.c:212:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_EXTENTS_FL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/extents.c:302:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_INLINE_DATA_FL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/extents.c:330:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2fs_extent [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/extents.c:364:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_INLINE_DATA_FL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/extents.c:394:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2fs_extent [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/extents.c:432:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2fs_extent [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/extents.c:480:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_EXTENTS_FL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/extents.c:585:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext3_extent_header [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/logfile.c:259:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/jfs_user.h:144:49: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/jfs_user.h:164:30: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/jfs_user.h:169:65: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/jfs_user.h:175:62: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/jfs_user.h:222:32: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/jfs_user.h:229:54: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:158:52: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:260:37: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/extents.c:289:72: style:inconclusive: Function 'e2fsck_rewrite_extent_tree' argument 2 names different: declaration 'extents' definition 'list'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/e2fsck.h:587:30: note: Function 'e2fsck_rewrite_extent_tree' argument 2 names different: declaration 'extents' definition 'list'. e2fsprogs-1.47.2-rc1/e2fsck/extents.c:289:72: note: Function 'e2fsck_rewrite_extent_tree' argument 2 names different: declaration 'extents' definition 'list'. e2fsprogs-1.47.2-rc1/e2fsck/extents.c:572:33: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/logfile.c:143:8: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] e2fsprogs-1.47.2-rc1/e2fsck/jfs_user.h:246:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jbd2_journal_block_tail [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:48:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JBD2_CRC32C_CHKSUM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:58:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable journal_superblock_t [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:130:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable journal_enable_debug [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:166:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REQ_OP_READ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:217:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REQ_OP_WRITE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:236:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REQ_OP_READ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:246:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_VALID_FS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:271:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCK_ABORT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:283:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JBD2_FC_REPLAY_CONTINUE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:389:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:407:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2fs_extent [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:457:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2fs_extent [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:502:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e_lblk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:589:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:629:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext4_fc_dentry_info [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:654:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:673:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:719:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_EXTENTS_FL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:739:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_GOOD_OLD_INODE_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:823:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:865:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JBD2_FC_REPLAY_CONTINUE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:979:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable journal_t [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:1245:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_MASTER_SB_ONLY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:1287:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REQ_OP_READ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:1415:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JBD2_MAGIC_NUMBER [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:1460:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_CORRUPT_JOURNAL_SB [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:1524:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_INODE_NUM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:1665:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:1692:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_FILE_RO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:1779:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT3_JNL_BACKUP_BLOCKS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/logfile.c:72:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/e2fsck/logfile.c:73:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/e2fsck/logfile.c:74:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/e2fsck/logfile.c:295:8: style: Variable 's0' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/e2fsck/logfile.c:73:28: style: Unused variable: pw_struct [unusedVariable] e2fsprogs-1.47.2-rc1/e2fsck/message.c:304:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i_mtime [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/message.c:409:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCK_COUNT_IND [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/mtrace.c:95:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/e2fsck/mtrace.c:123:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/e2fsck/mtrace.c:125:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/e2fsck/mtrace.c:141:9: style: Variable 'mallfile' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/e2fsck/message.c:236:14: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] e2fsprogs-1.47.2-rc1/e2fsck/message.c:236:37: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] e2fsprogs-1.47.2-rc1/e2fsck/message.c:236:50: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] e2fsprogs-1.47.2-rc1/e2fsck/message.c:236:30: style: Condition 'do_gmt>0' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/e2fsck/message.c:444:3: warning: %llu in format string (no. 2) requires 'unsigned long long' but the argument type is 'signed long long'. [invalidPrintfArgType_uint] e2fsprogs-1.47.2-rc1/e2fsck/message.c:447:3: warning: %llu in format string (no. 2) requires 'unsigned long long' but the argument type is 'signed long long'. [invalidPrintfArgType_uint] e2fsprogs-1.47.2-rc1/e2fsck/message.c:274:27: style: Variable 'large_inode' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/e2fsck/pass1b.c:375:61: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/pass1b.c:107:58: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/pass1b.c:176:36: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/pass1b.c:194:38: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/pass1b.c:443:34: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/pass1b.c:645:40: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/pass1b.c:792:39: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:141:65: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:3775:36: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:3987:40: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:2204:45: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/pass1b.c:153:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ROOT_INO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1b.c:224:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2FS_BMAP64_RBTREE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1b.c:321:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_BLOCK_IN_INODE_TABLE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1b.c:391:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fs [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1b.c:458:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIRENT_OTHER_FILE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1b.c:521:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_ino_t [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1b.c:702:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCK_FLAG_READ_ONLY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1b.c:855:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCK_ABORT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1b.c:969:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCK_CHANGED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:119:35: style:inconclusive: Function 'getblk' argument 1 names different: declaration 'ctx' definition 'kdev'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/jfs_user.h:259:35: note: Function 'getblk' argument 1 names different: declaration 'ctx' definition 'kdev'. e2fsprogs-1.47.2-rc1/e2fsck/journal.c:119:35: note: Function 'getblk' argument 1 names different: declaration 'ctx' definition 'kdev'. e2fsprogs-1.47.2-rc1/e2fsck/journal.c:158:52: style:inconclusive: Function 'll_rw_block' argument 2 names different: declaration 'op_flags' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/jfs_user.h:262:30: note: Function 'll_rw_block' argument 2 names different: declaration 'op_flags' definition 'unused'. e2fsprogs-1.47.2-rc1/e2fsck/journal.c:158:52: note: Function 'll_rw_block' argument 2 names different: declaration 'op_flags' definition 'unused'. e2fsprogs-1.47.2-rc1/e2fsck/journal.c:43:31: style: Parameter 'jsb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:95:34: style: Parameter 'journal' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:223:41: style: Parameter 'bh' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:258:15: style: Parameter 'block_nr' can be declared as pointer to const. However it seems that 'process_journal_block' is a callback function, if 'block_nr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:1055:13: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/e2fsck/journal.c:258:15: note: Parameter 'block_nr' can be declared as pointer to const e2fsprogs-1.47.2-rc1/e2fsck/journal.c:287:22: style: Variable 'end' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:287:28: style: Variable 'val' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:494:28: style: Parameter 'ex' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:620:39: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:717:27: style: Parameter 'fc_inode' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:808:58: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:835:57: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/journal.c:867:16: style: Variable 'end' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/e2fsck/jfs_user.h:163:52: style: Parameter 'cachep' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:2131:33: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:337:57: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:594:40: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:1847:41: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:150:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_INDEX_FL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:183:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_INDEX_FL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:267:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_EXTENTS_FL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:285:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_IMMUTABLE_FL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:367:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_EA_INODE_FL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:470:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_GOOD_OLD_INODE_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:601:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_EPOCH_MASK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:626:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_GOOD_OLD_INODE_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:747:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_INLINE_DATA_FL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:886:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2FS_BMAP64_RBTREE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:909:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_INODE_CSUM_INVALID [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:934:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ROOT_INO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:953:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ROOT_INO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:1017:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_N_BLOCKS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:1061:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_INLINE_DATA_FL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:1117:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:1178:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXQUOTAS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:1194:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXQUOTAS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:1254:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_MIN_BLOCK_LOG_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:2218:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_CANCEL_REQUESTED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:2279:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_IND_BLOCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:2305:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2FS_BMAP64_RBTREE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:2345:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2FS_BMAP64_RBTREE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:2365:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2FS_BMAP64_RBTREE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:2397:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2FS_BMAP64_RBTREE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:2522:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2FS_BMAP64_RBTREE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:2800:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_HASH_LEGACY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:2881:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_BAD_INO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:2936:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_EXTENT_CSUM_INVALID [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:3427:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_IGNORE_CSUM_ERRORS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:3501:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_INLINE_DATA_FL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:3818:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_RESIZE_INO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:4005:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_BAD_INO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:4182:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BLOCK_ALLOC_FAIL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:4368:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_CALLBACK_NOTHANDLED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:4381:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_CALLBACK_NOTHANDLED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:4394:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_CALLBACK_NOTHANDLED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:4402:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_CALLBACK_NOTHANDLED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:153:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_IGNORE_SWAP_DIRENT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:412:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FT_DIR [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:488:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FT_DIR [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:557:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_CRYPTO_BLOCK_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:598:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FT_UNKNOWN [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:692:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_dx_tail [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:790:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_DIR_ENTRY_HEADER_LEN [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:872:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_DIR_NO_SPACE_FOR_CSUM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:902:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_MIN_INLINE_DATA_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:958:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FT_UNKNOWN [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:990:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __u32 [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:1070:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __u32 [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:1906:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_EA_BLOCK_NUM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:1974:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_INDEX_FL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:2076:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_OS_LINUX [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:2175:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ROOT_INO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass1b.c:375:61: style:inconclusive: Function 'process_pass1b_block' argument 1 names different: declaration 'fs' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/pass1b.c:86:45: note: Function 'process_pass1b_block' argument 1 names different: declaration 'fs' definition 'unused'. e2fsprogs-1.47.2-rc1/e2fsck/pass1b.c:375:61: note: Function 'process_pass1b_block' argument 1 names different: declaration 'fs' definition 'unused'. e2fsprogs-1.47.2-rc1/e2fsck/pass1b.c:122:33: style: Parameter 'inode' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/pass3.c:708:31: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/pass3.c:804:38: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/pass3.c:78:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2FS_BMAP64_AUTODIR [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass3.c:167:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ROOT_INO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass3.c:357:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2FS_BMAP64_AUTODIR [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass3.c:408:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ROOT_INO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass3.c:632:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_DIR_NO_SPACE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass3.c:736:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FT_DIR [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass3.c:766:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_IGNORE_CSUM_ERRORS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass3.c:818:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCK_ABORT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass3.c:877:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_RW [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass3.c:907:9: style: Variable 'retval' is reassigned a value before the old one has been used. [redundantAssignment] e2fsprogs-1.47.2-rc1/e2fsck/pass3.c:898:9: note: retval is assigned e2fsprogs-1.47.2-rc1/e2fsck/pass3.c:907:9: note: retval is overwritten e2fsprogs-1.47.2-rc1/e2fsck/pass3.c:291:53: style:inconclusive: Function 'check_directory' argument 2 names different: declaration 'ino' definition 'dir'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/pass3.c:46:53: note: Function 'check_directory' argument 2 names different: declaration 'ino' definition 'dir'. e2fsprogs-1.47.2-rc1/e2fsck/pass3.c:291:53: note: Function 'check_directory' argument 2 names different: declaration 'ino' definition 'dir'. e2fsprogs-1.47.2-rc1/e2fsck/pass3.c:607:52: style:inconclusive: Function 'e2fsck_reconnect_file' argument 2 names different: declaration 'inode' definition 'ino'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/e2fsck.h:621:59: note: Function 'e2fsck_reconnect_file' argument 2 names different: declaration 'inode' definition 'ino'. e2fsprogs-1.47.2-rc1/e2fsck/pass3.c:607:52: note: Function 'e2fsck_reconnect_file' argument 2 names different: declaration 'inode' definition 'ino'. e2fsprogs-1.47.2-rc1/e2fsck/pass3.c:869:20: style:inconclusive: Function 'e2fsck_expand_directory' argument 4 names different: declaration 'gauranteed_size' definition 'guaranteed_size'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/e2fsck.h:623:20: note: Function 'e2fsck_expand_directory' argument 4 names different: declaration 'gauranteed_size' definition 'guaranteed_size'. e2fsprogs-1.47.2-rc1/e2fsck/pass3.c:869:20: note: Function 'e2fsck_expand_directory' argument 4 names different: declaration 'gauranteed_size' definition 'guaranteed_size'. e2fsprogs-1.47.2-rc1/e2fsck/pass4.c:43:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_GOOD_OLD_INODE_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass4.c:126:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_EA_INODE_FL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass4.c:212:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRJQUOTA [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass5.c:108:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_BG_INODE_UNINIT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass5.c:162:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_BG_BLOCK_UNINIT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass5.c:299:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk64_t [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass5.c:369:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk64_t [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass5.c:584:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_ino_t [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass5.c:889:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_IBITMAP_TAIL_PROBLEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass5.c:952:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_BBITMAP_TAIL_PROBLEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:1017:30: style:inconclusive: Function 'check_dir_block2' argument 2 names different: declaration 'dir_blocks_info' definition 'db'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:69:30: note: Function 'check_dir_block2' argument 2 names different: declaration 'dir_blocks_info' definition 'db'. e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:1017:30: note: Function 'check_dir_block2' argument 2 names different: declaration 'dir_blocks_info' definition 'db'. e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:1040:30: style:inconclusive: Function 'check_dir_block' argument 2 names different: declaration 'dir_blocks_info' definition 'db'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:72:30: note: Function 'check_dir_block' argument 2 names different: declaration 'dir_blocks_info' definition 'db'. e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:1040:30: note: Function 'check_dir_block' argument 2 names different: declaration 'dir_blocks_info' definition 'db'. e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:2130:33: style:inconclusive: Function 'allocate_dir_block' argument 2 names different: declaration 'dir_blocks_info' definition 'db'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:75:33: note: Function 'allocate_dir_block' argument 2 names different: declaration 'dir_blocks_info' definition 'db'. e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:2130:33: note: Function 'allocate_dir_block' argument 2 names different: declaration 'dir_blocks_info' definition 'db'. e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:2131:33: style:inconclusive: Function 'allocate_dir_block' argument 3 names different: declaration 'buf' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:76:16: note: Function 'allocate_dir_block' argument 3 names different: declaration 'buf' definition 'unused'. e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:2131:33: note: Function 'allocate_dir_block' argument 3 names different: declaration 'buf' definition 'unused'. e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:326:30: style: Parameter 'dx_db' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:572:14: style: Variable 'end' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/e2fsck/pass2.c:641:30: style: Variable 'root' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/e2fsck/problem.c:2497:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e2_blkcnt_t [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/problem.c:2603:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/quota.c:24:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QUOTA_NAME_LEN [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/quota.c:83:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXQUOTAS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/quota.c:109:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXQUOTAS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/readahead.c:66:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/readahead.c:98:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/readahead.c:128:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/readahead.c:138:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/readahead.c:155:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/readahead.c:234:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_OP_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/recovery.c:138:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_ERR [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/recovery.c:183:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jbd2_journal_block_tail [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/recovery.c:204:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jbd2_journal_block_tail [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/recovery.c:260:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JBD2_FC_REPLAY_STOP [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/recovery.c:306:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PASS_SCAN [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/recovery.c:356:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PASS_SCAN [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/recovery.c:405:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERN_ERR [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/recovery.c:484:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PASS_SCAN [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/recovery.c:904:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jbd2_journal_revoke_header_t [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/problem.c:2498:3: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/e2fsck/problem.c:2608:11: style: Redundant assignment of 'message' to itself. [selfAssignment] e2fsprogs-1.47.2-rc1/e2fsck/problem.c:2454:52: style:inconclusive: Function 'clear_problem_context' argument 1 names different: declaration 'pctx' definition 'ctx'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/problem.h:1365:52: note: Function 'clear_problem_context' argument 1 names different: declaration 'pctx' definition 'ctx'. e2fsprogs-1.47.2-rc1/e2fsck/problem.c:2454:52: note: Function 'clear_problem_context' argument 1 names different: declaration 'pctx' definition 'ctx'. e2fsprogs-1.47.2-rc1/e2fsck/problem.c:2445:22: style: Variable 'ldesc' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/e2fsck/problem.c:2475:29: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/problem.c:2476:30: style: Parameter 'pctx' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/recovery.c:236:28: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/recovery.c:435:74: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/recovery.c:436:33: style: Parameter 'tag3' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:123:37: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:897:38: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/revoke.c:141:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_NOFS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/revoke.c:195:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/revoke.c:208:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/revoke.c:224:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFP_KERNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/revoke.c:255:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/revoke.c:265:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:115:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_dir_entry_tail [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:139:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_DIR_CORRUPTED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:347:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_dirhash_t [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:467:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_CASEFOLD_FL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:565:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_dir_entry_tail [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:667:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FT_DIR [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:718:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_dx_tail [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:762:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_dx_entry [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:810:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSPC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:919:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCK_ABORT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:969:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_INDEX_FL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:1004:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_INLINE_DATA_FL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/revoke.c:131:35: style: Parameter 'journal' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/revoke.c:726:43: style: Parameter 'journal' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/scantest.c:59:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/scantest.c:77:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/scantest.c:105:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unix_io_manager [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/scantest.c:64:58: style: Parameter 'tv1' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/scantest.c:65:23: style: Parameter 'tv2' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/scantest.c:92:7: style: Unused variable: i [unusedVariable] e2fsprogs-1.47.2-rc1/e2fsck/sigcatcher.c:335:38: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/sigcatcher.c:339:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/sigcatcher.c:392:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_SIGINFO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/sigcatcher.c:334:55: style: Parameter 'siginfo' can be declared as pointer to const. However it seems that 'die_signal_handler' is a callback function, if 'siginfo' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/e2fsck/sigcatcher.c:391:20: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/e2fsck/sigcatcher.c:334:55: note: Parameter 'siginfo' can be declared as pointer to const e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:826:3: warning: Possible null pointer dereference: limit [nullPointer] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:806:11: note: Assignment 'limit=NULL', assigned value is 0 e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:808:15: note: Assuming condition is false e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:826:3: note: Null pointer dereference e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:826:37: warning: Possible null pointer dereference: limit [nullPointer] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:806:11: note: Assignment 'limit=NULL', assigned value is 0 e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:808:15: note: Assuming condition is false e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:826:37: note: Null pointer dereference e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:827:3: warning: Possible null pointer dereference: limit [nullPointer] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:806:11: note: Assignment 'limit=NULL', assigned value is 0 e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:808:15: note: Assuming condition is false e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:827:3: note: Null pointer dereference e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:827:37: warning: Possible null pointer dereference: limit [nullPointer] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:806:11: note: Assignment 'limit=NULL', assigned value is 0 e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:808:15: note: Assuming condition is false e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:827:37: note: Null pointer dereference e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:869:3: warning: Possible null pointer dereference: int_limit [nullPointer] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:832:15: note: Assignment 'int_limit=0', assigned value is 0 e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:834:17: note: Assuming condition is false e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:869:3: note: Null pointer dereference e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:869:41: warning: Possible null pointer dereference: limit [nullPointer] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:831:11: note: Assignment 'limit=NULL', assigned value is 0 e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:834:17: note: Assuming condition is false e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:869:41: note: Null pointer dereference e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:870:3: warning: Possible null pointer dereference: int_limit [nullPointer] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:832:15: note: Assignment 'int_limit=0', assigned value is 0 e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:834:17: note: Assuming condition is false e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:870:3: note: Null pointer dereference e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:870:41: warning: Possible null pointer dereference: limit [nullPointer] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:831:11: note: Assignment 'limit=NULL', assigned value is 0 e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:834:17: note: Assuming condition is false e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:870:41: note: Null pointer dereference e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:872:3: warning: Possible null pointer dereference: limit [nullPointer] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:831:11: note: Assignment 'limit=NULL', assigned value is 0 e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:834:17: note: Assuming condition is false e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:872:3: note: Null pointer dereference e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:872:37: warning: Possible null pointer dereference: limit [nullPointer] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:831:11: note: Assignment 'limit=NULL', assigned value is 0 e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:834:17: note: Assuming condition is false e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:872:37: note: Null pointer dereference e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:873:3: warning: Possible null pointer dereference: limit [nullPointer] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:831:11: note: Assignment 'limit=NULL', assigned value is 0 e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:834:17: note: Assuming condition is false e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:873:3: note: Null pointer dereference e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:873:37: warning: Possible null pointer dereference: limit [nullPointer] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:831:11: note: Assignment 'limit=NULL', assigned value is 0 e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:834:17: note: Assuming condition is false e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:873:37: note: Null pointer dereference e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:1132:20: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/e2fsck/super.c:85:40: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/super.c:376:40: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/super.c:574:40: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/super.c:116:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCK_ABORT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/super.c:220:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCK_FLAG_DEPTH_TRAVERSE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/super.c:279:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXQUOTAS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/super.c:304:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXQUOTAS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/super.c:399:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCK_ABORT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/super.c:469:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCK_FLAG_DATA_ONLY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/super.c:528:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ERROR_FS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/super.c:589:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCK_ABORT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/super.c:670:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_ORPHAN_BLOCK_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/super.c:743:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_RESIZE_INO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/super.c:843:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAGS_SIGNED_HASH [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/super.c:924:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_MAX_BLOCK_LOG_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/super.c:1403:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUPERBLOCK_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/unix.c:78:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/unix.c:190:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/unix.c:251:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_MF_MOUNTED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/unix.c:294:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAME_MAX [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/unix.c:378:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_lastcheck [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/unix.c:521:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/unix.c:577:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/unix.c:626:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/unix.c:698:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/unix.c:808:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/unix.c:843:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/unix.c:1187:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_MIN_BLOCK_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/unix.c:1245:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_MMP_MIN_CHECK_INTERVAL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/unix.c:1315:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/unix.c:1439:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/super.c:374:20: style: Parameter 'block_nr' can be declared as pointer to const. However it seems that 'process_orphan_block' is a callback function, if 'block_nr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/e2fsck/super.c:470:24: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/e2fsck/super.c:374:20: note: Parameter 'block_nr' can be declared as pointer to const e2fsprogs-1.47.2-rc1/e2fsck/super.c:572:20: style: Parameter 'block_nr' can be declared as pointer to const. However it seems that 'reinit_orphan_block' is a callback function, if 'block_nr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/e2fsck/super.c:674:24: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/e2fsck/super.c:572:20: note: Parameter 'block_nr' can be declared as pointer to const e2fsprogs-1.47.2-rc1/e2fsck/util.c:133:45: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/e2fsck/util.c:55:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/util.c:106:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/util.c:183:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/util.c:230:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/util.c:318:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2FS_BMAP64_RBTREE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/util.c:363:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ERROR_FS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/util.c:563:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_MIN_BLOCK_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/util.c:653:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FT_REG_FILE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/util.c:771:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/util.c:815:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MMP_CHANGE_ABORT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/util.c:803:3: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum] e2fsprogs-1.47.2-rc1/e2fsck/util.c:805:3: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum] e2fsprogs-1.47.2-rc1/e2fsck/util.c:49:44: style:inconclusive: Function 'fatal_error' argument 2 names different: declaration 'fmt_string' definition 'msg'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/e2fsck.h:672:52: note: Function 'fatal_error' argument 2 names different: declaration 'fmt_string' definition 'msg'. e2fsprogs-1.47.2-rc1/e2fsck/util.c:49:44: note: Function 'fatal_error' argument 2 names different: declaration 'fmt_string' definition 'msg'. e2fsprogs-1.47.2-rc1/e2fsck/util.c:133:45: style:inconclusive: Function 'string_copy' argument 1 names different: declaration 'ctx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/e2fsck.h:681:35: note: Function 'string_copy' argument 1 names different: declaration 'ctx' definition 'unused'. e2fsprogs-1.47.2-rc1/e2fsck/util.c:133:45: note: Function 'string_copy' argument 1 names different: declaration 'ctx' definition 'unused'. e2fsprogs-1.47.2-rc1/e2fsck/util.c:838:16: style:inconclusive: Function 'e2fsck_allocate_inode_bitmap' argument 3 names different: declaration 'default_type' definition 'deftype'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/e2fsck.h:723:16: note: Function 'e2fsck_allocate_inode_bitmap' argument 3 names different: declaration 'default_type' definition 'deftype'. e2fsprogs-1.47.2-rc1/e2fsck/util.c:838:16: note: Function 'e2fsck_allocate_inode_bitmap' argument 3 names different: declaration 'default_type' definition 'deftype'. e2fsprogs-1.47.2-rc1/e2fsck/util.c:839:24: style:inconclusive: Function 'e2fsck_allocate_inode_bitmap' argument 4 names different: declaration 'profile_name' definition 'name'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/e2fsck.h:724:24: note: Function 'e2fsck_allocate_inode_bitmap' argument 4 names different: declaration 'profile_name' definition 'name'. e2fsprogs-1.47.2-rc1/e2fsck/util.c:839:24: note: Function 'e2fsck_allocate_inode_bitmap' argument 4 names different: declaration 'profile_name' definition 'name'. e2fsprogs-1.47.2-rc1/e2fsck/util.c:852:16: style:inconclusive: Function 'e2fsck_allocate_block_bitmap' argument 3 names different: declaration 'default_type' definition 'deftype'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/e2fsck.h:728:16: note: Function 'e2fsck_allocate_block_bitmap' argument 3 names different: declaration 'default_type' definition 'deftype'. e2fsprogs-1.47.2-rc1/e2fsck/util.c:852:16: note: Function 'e2fsck_allocate_block_bitmap' argument 3 names different: declaration 'default_type' definition 'deftype'. e2fsprogs-1.47.2-rc1/e2fsck/util.c:853:24: style:inconclusive: Function 'e2fsck_allocate_block_bitmap' argument 4 names different: declaration 'profile_name' definition 'name'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/e2fsck.h:729:24: note: Function 'e2fsck_allocate_block_bitmap' argument 4 names different: declaration 'profile_name' definition 'name'. e2fsprogs-1.47.2-rc1/e2fsck/util.c:853:24: note: Function 'e2fsck_allocate_block_bitmap' argument 4 names different: declaration 'profile_name' definition 'name'. e2fsprogs-1.47.2-rc1/e2fsck/util.c:866:14: style:inconclusive: Function 'e2fsck_allocate_subcluster_bitmap' argument 3 names different: declaration 'default_type' definition 'deftype'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/e2fsck.h:733:14: note: Function 'e2fsck_allocate_subcluster_bitmap' argument 3 names different: declaration 'default_type' definition 'deftype'. e2fsprogs-1.47.2-rc1/e2fsck/util.c:866:14: note: Function 'e2fsck_allocate_subcluster_bitmap' argument 3 names different: declaration 'default_type' definition 'deftype'. e2fsprogs-1.47.2-rc1/e2fsck/util.c:867:22: style:inconclusive: Function 'e2fsck_allocate_subcluster_bitmap' argument 4 names different: declaration 'profile_name' definition 'name'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/e2fsck.h:734:22: note: Function 'e2fsck_allocate_subcluster_bitmap' argument 4 names different: declaration 'profile_name' definition 'name'. e2fsprogs-1.47.2-rc1/e2fsck/util.c:867:22: note: Function 'e2fsck_allocate_subcluster_bitmap' argument 4 names different: declaration 'profile_name' definition 'name'. e2fsprogs-1.47.2-rc1/e2fsck/util.c:407:56: style: Parameter 'tv1' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/util.c:408:28: style: Parameter 'tv2' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/util.c:683:17: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/e2fsck/unix.c:315:14: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] e2fsprogs-1.47.2-rc1/ext2ed/blockbitmap_com.c:224:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_REVERSE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/e2fsck/unix.c:1745:4: error: fprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum] e2fsprogs-1.47.2-rc1/e2fsck/unix.c:82:3: warning: Possible null pointer dereference: ctx [nullPointer] e2fsprogs-1.47.2-rc1/e2fsck/unix.c:860:9: note: Calling function 'usage', 1st argument 'NULL' value is 0 e2fsprogs-1.47.2-rc1/e2fsck/unix.c:82:3: note: Null pointer dereference e2fsprogs-1.47.2-rc1/e2fsck/unix.c:82:23: warning: Possible null pointer dereference: ctx [nullPointer] e2fsprogs-1.47.2-rc1/e2fsck/unix.c:860:9: note: Calling function 'usage', 1st argument 'NULL' value is 0 e2fsprogs-1.47.2-rc1/e2fsck/unix.c:82:23: note: Null pointer dereference e2fsprogs-1.47.2-rc1/ext2ed/blockbitmap_com.c:88:2: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/ext2ed/blockbitmap_com.c:104:2: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/ext2ed/blockbitmap_com.c:53:5: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/blockbitmap_com.c:84:6: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/blockbitmap_com.c:100:6: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/blockbitmap_com.c:124:6: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/blockbitmap_com.c:153:6: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/e2fsck/unix.c:296:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/e2fsck/unix.c:828:9: style: Variable 'extended_opts' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/e2fsck/unix.c:1138:9: style: Variable 'oldpath' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/e2fsck/unix.c:1225:21: style: Variable 'mmp_s' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/e2fsck/unix.c:1317:8: style: Variable 'dev_name' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/e2fsck/unix.c:1201:8: warning: Uninitialized variable: retval [uninitvar] e2fsprogs-1.47.2-rc1/e2fsck/unix.c:1188:19: note: Assuming condition is false e2fsprogs-1.47.2-rc1/e2fsck/unix.c:1201:8: note: Uninitialized variable: retval e2fsprogs-1.47.2-rc1/e2fsck/unix.c:1414:6: style: Unused variable: sysval [unusedVariable] e2fsprogs-1.47.2-rc1/ext2ed/dir_com.c:460:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_REVERSE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/dir_com.c:647:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_REVERSE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/disk.c:209:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_MAX_BLOCK_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/disk.c:67:46: style: Condition 'fread(buffer,1,length,device_handle)==-1' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/ext2ed/disk.c:123:47: style: Condition 'fwrite(buffer,1,length,device_handle)==-1' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/ext2ed/disk.c:54:3: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/ext2ed/disk.c:106:3: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/ext2ed/disk.c:132:33: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/ext2ed/dir_com.c:41:45: style:inconclusive: Function 'init_dir_info' argument 1 names different: declaration 'info' definition 'info_ptr'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/ext2ed/ext2ed.h:353:52: note: Function 'init_dir_info' argument 1 names different: declaration 'info' definition 'info_ptr'. e2fsprogs-1.47.2-rc1/ext2ed/dir_com.c:41:45: note: Function 'init_dir_info' argument 1 names different: declaration 'info' definition 'info_ptr'. e2fsprogs-1.47.2-rc1/ext2ed/dir_com.c:103:19: style: Local variable 'next' shadows outer function [shadowFunction] e2fsprogs-1.47.2-rc1/ext2ed/ext2ed.h:269:13: note: Shadowed declaration e2fsprogs-1.47.2-rc1/ext2ed/dir_com.c:103:19: note: Shadow variable e2fsprogs-1.47.2-rc1/ext2ed/dir_com.c:102:27: style: Variable 'dir_entry_ptr' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/ext2ed/dir_com.c:163:44: style: Parameter 'info' can be declared as pointer to const. However it seems that 'action_count' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/ext2ed/dir_com.c:160:31: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/ext2ed/dir_com.c:163:44: note: Parameter 'info' can be declared as pointer to const e2fsprogs-1.47.2-rc1/ext2ed/dir_com.c:222:27: style: Variable 'dir_entry_ptr' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/ext2ed/dir_com.c:313:43: style: Parameter 'info' can be declared as pointer to const. However it seems that 'action_name' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/ext2ed/dir_com.c:258:29: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/ext2ed/dir_com.c:313:43: note: Parameter 'info' can be declared as pointer to const e2fsprogs-1.47.2-rc1/ext2ed/dir_com.c:323:27: style: Variable 'dir_entry_ptr' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/ext2ed/dir_com.c:374:48: style: Parameter 'info' can be declared as pointer to const. However it seems that 'action_entry_num' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/ext2ed/dir_com.c:363:28: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/ext2ed/dir_com.c:374:48: note: Parameter 'info' can be declared as pointer to const e2fsprogs-1.47.2-rc1/ext2ed/dir_com.c:401:27: style: Variable 'dir_entry_ptr' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/ext2ed/dir_com.c:411:30: style: Parameter 'command_line' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/ext2ed/dir_com.c:445:43: style: Parameter 'info' can be declared as pointer to const. However it seems that 'action_show' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/ext2ed/dir_com.c:439:23: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/ext2ed/dir_com.c:445:43: note: Parameter 'info' can be declared as pointer to const e2fsprogs-1.47.2-rc1/ext2ed/dir_com.c:107:15: style: Variable 'dir_entry_ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/dir_com.c:139:17: style: Variable 'dir_entry_ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/dir_com.c:355:5: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/dir_com.c:492:6: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/dir_com.c:509:6: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/dir_com.c:560:5: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/ext2_com.c:39:2: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/ext2ed/ext2_com.c:95:2: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/ext2ed/ext2_com.c:60:5: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/ext2_com.c:90:6: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/file_com.c:277:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_REVERSE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/file_com.c:337:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/file_com.c:512:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_NDIR_BLOCKS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/file_com.c:541:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_MAX_BLOCK_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/general_com.c:634:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_REVERSE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/file_com.c:51:31: style: Parameter 'command_line' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/ext2ed/file_com.c:57:30: style: Parameter 'command_line' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/ext2ed/file_com.c:75:6: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/file_com.c:103:6: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/file_com.c:126:6: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/file_com.c:153:6: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/file_com.c:176:6: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/file_com.c:208:5: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/file_com.c:235:6: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/file_com.c:412:5: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/general_com.c:751:18: style:inconclusive: Function 'pgdn' argument 1 names different: declaration 'command_line' definition 'commnad_line'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/ext2ed/ext2ed.h:261:25: note: Function 'pgdn' argument 1 names different: declaration 'command_line' definition 'commnad_line'. e2fsprogs-1.47.2-rc1/ext2ed/general_com.c:751:18: note: Function 'pgdn' argument 1 names different: declaration 'command_line' definition 'commnad_line'. e2fsprogs-1.47.2-rc1/ext2ed/general_com.c:583:17: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/ext2ed/general_com.c:751:18: style: Parameter 'commnad_line' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/ext2ed/general_com.c:758:18: style: Parameter 'command_line' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/ext2ed/general_com.c:765:20: style: Parameter 'command_line' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/ext2ed/general_com.c:903:24: style: Parameter 'command_line' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/ext2ed/general_com.c:36:7: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/general_com.c:235:6: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/general_com.c:361:18: style: Unused variable: int_ptr [unusedVariable] e2fsprogs-1.47.2-rc1/ext2ed/general_com.c:362:17: style: Unused variable: char_ptr [unusedVariable] e2fsprogs-1.47.2-rc1/ext2ed/general_com.c:363:17: style: Unused variable: long_ptr [unusedVariable] e2fsprogs-1.47.2-rc1/ext2ed/general_com.c:617:23: style: Unused variable: temp_int [unusedVariable] e2fsprogs-1.47.2-rc1/ext2ed/general_com.c:618:25: style: Unused variable: temp_long [unusedVariable] e2fsprogs-1.47.2-rc1/ext2ed/general_com.c:619:16: style: Unused variable: temp_char [unusedVariable] e2fsprogs-1.47.2-rc1/ext2ed/general_com.c:702:6: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/general_com.c:731:6: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/general_com.c:790:5: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/general_com.c:828:5: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/group_com.c:72:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_group_desc [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/group_com.c:101:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_group_desc [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/group_com.c:114:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_group_desc [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/group_com.c:34:2: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/ext2ed/group_com.c:50:2: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/ext2ed/group_com.c:174:50: style: Parameter 'command_line' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/ext2ed/group_com.c:30:6: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/group_com.c:46:6: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/group_com.c:64:5: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/group_com.c:90:5: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/inode_com.c:43:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_group_desc [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/inode_com.c:91:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_group_desc [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/inode_com.c:133:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_group_desc [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/inode_com.c:299:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_group_desc [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/inode_com.c:324:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_group_desc [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/inode_com.c:381:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_group_desc [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/inode_com.c:409:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_group_desc [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/inode_com.c:431:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_group_desc [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/init.c:54:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/init.c:383:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_super_block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/init.c:491:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOT_SYSCONFDIR [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/inode_com.c:36:6: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/inode_com.c:40:11: style: Variable 'block_num' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/inode_com.c:49:13: style: Variable 'first_entry' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/inode_com.c:49:26: style: Variable 'last_entry' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/inode_com.c:50:11: style: Variable 'inode_num' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/inode_com.c:83:6: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/inode_com.c:88:11: style: Variable 'block_num' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/inode_com.c:97:13: style: Variable 'first_entry' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/inode_com.c:98:11: style: Variable 'inode_num' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/inode_com.c:293:5: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/inode_com.c:296:11: style: Variable 'block_num' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/inode_com.c:406:11: style: Variable 'block_num' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/inode_com.c:414:13: style: Variable 'first_entry' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/inode_com.c:414:26: style: Variable 'last_entry' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/inodebitmap_com.c:174:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_REVERSE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/inodebitmap_com.c:61:2: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/ext2ed/inodebitmap_com.c:77:2: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/ext2ed/inodebitmap_com.c:37:5: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/inodebitmap_com.c:57:6: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/inodebitmap_com.c:73:6: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/inodebitmap_com.c:89:6: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/inodebitmap_com.c:115:6: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/main.c:105:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/main.c:325:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINES [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/main.c:522:21: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/ext2ed/init.c:230:50: style:inconclusive: Function 'add_new_variable' argument 1 names different: declaration 'descriptor' definition 'ptr'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/ext2ed/ext2ed.h:233:57: note: Function 'add_new_variable' argument 1 names different: declaration 'descriptor' definition 'ptr'. e2fsprogs-1.47.2-rc1/ext2ed/init.c:230:50: note: Function 'add_new_variable' argument 1 names different: declaration 'descriptor' definition 'ptr'. e2fsprogs-1.47.2-rc1/ext2ed/init.c:161:33: style: Local variable 'next' shadows outer function [shadowFunction] e2fsprogs-1.47.2-rc1/ext2ed/ext2ed.h:269:13: note: Shadowed declaration e2fsprogs-1.47.2-rc1/ext2ed/init.c:161:33: note: Shadow variable e2fsprogs-1.47.2-rc1/ext2ed/init.c:186:53: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/ext2ed/init.c:230:60: style: Parameter 'v_type' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/ext2ed/init.c:230:73: style: Parameter 'v_name' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/ext2ed/init.c:350:58: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/ext2ed/init.c:350:69: style: Parameter 'description' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/ext2ed/init.c:607:27: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/ext2ed/init.c:611:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/ext2ed/init.c:124:6: style: Variable 'ch' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/init.c:603:5: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/init.c:624:6: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/super_com.c:147:51: style: Parameter 'command_line' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/ext2ed/super_com.c:130:5: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/win.c:46:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/win.c:53:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_REVERSE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/win.c:67:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECHO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/win.c:115:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/win.c:160:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSANOW [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/win.c:195:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCGWINSZ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/ext2ed/win.c:136:14: style: Variable 'right' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/win.c:137:45: style: Variable 'bottom' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/ext2ed/win.c:192:6: style: Unused variable: save_col [unusedVariable] e2fsprogs-1.47.2-rc1/ext2ed/win.c:192:16: style: Unused variable: save_lines [unusedVariable] e2fsprogs-1.47.2-rc1/lib/blkid/dev.c:131:12: style: Parameter 'search_type' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/blkid/dev.c:131:31: style: Parameter 'search_value' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:670:29: style: Redundant condition: sizeof(time_t)>4. 'A || (!A && B)' is equivalent to 'A || B' [redundantCondition] e2fsprogs-1.47.2-rc1/lib/blkid/devname.c:71:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLKID_DEV_CREATE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/blkid/devname.c:230:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLKID_DEV_FIND [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/blkid/devno.c:119:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] e2fsprogs-1.47.2-rc1/lib/blkid/devno.c:190:2: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] e2fsprogs-1.47.2-rc1/lib/blkid/devno.c:194:4: note: Found duplicate branches for 'if' and 'else'. e2fsprogs-1.47.2-rc1/lib/blkid/devno.c:190:2: note: Found duplicate branches for 'if' and 'else'. e2fsprogs-1.47.2-rc1/lib/blkid/devno.c:111:17: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:3299:32: style: Variable 'pb->last_block' is reassigned a value before the old one has been used. [redundantAssignment] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:3297:18: note: pb->last_block is assigned e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:3299:32: note: pb->last_block is overwritten e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:3489:6: style: Variable 'pctx->ino' is assigned an expression that holds the same value. [redundantAssignment] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:3461:17: note: ino is assigned 'pctx->ino' here. e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:3489:6: note: Variable 'pctx->ino' is assigned an expression that holds the same value. e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:141:65: style:inconclusive: Function 'e2fsck_pass1_check_device_inode' argument 1 names different: declaration 'fs' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/e2fsck.h:607:56: note: Function 'e2fsck_pass1_check_device_inode' argument 1 names different: declaration 'fs' definition 'unused'. e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:141:65: note: Function 'e2fsck_pass1_check_device_inode' argument 1 names different: declaration 'fs' definition 'unused'. e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:2204:45: style:inconclusive: Function 'scan_callback' argument 2 names different: declaration 'scan' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:87:64: note: Function 'scan_callback' argument 2 names different: declaration 'scan' definition 'unused'. e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:2204:45: note: Function 'scan_callback' argument 2 names different: declaration 'scan' definition 'unused'. e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:3773:14: style:inconclusive: Function 'process_block' argument 2 names different: declaration 'blocknr' definition 'block_nr'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:70:51: note: Function 'process_block' argument 2 names different: declaration 'blocknr' definition 'block_nr'. e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:3773:14: note: Function 'process_block' argument 2 names different: declaration 'blocknr' definition 'block_nr'. e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:3775:36: style:inconclusive: Function 'process_block' argument 4 names different: declaration 'ref_blk' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:71:35: note: Function 'process_block' argument 4 names different: declaration 'ref_blk' definition 'unused'. e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:3775:36: note: Function 'process_block' argument 4 names different: declaration 'ref_blk' definition 'unused'. e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:3987:40: style:inconclusive: Function 'process_bad_block' argument 4 names different: declaration 'ref_blk' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:74:39: note: Function 'process_bad_block' argument 4 names different: declaration 'ref_blk' definition 'unused'. e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:3987:40: note: Function 'process_bad_block' argument 4 names different: declaration 'ref_blk' definition 'unused'. e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:403:51: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:619:9: style: Variable 'eamagic' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:2765:28: style: Variable 'root' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:4387:27: style: Parameter 'inode' can be declared as pointer to const. However it seems that 'pass1_write_inode' is a callback function, if 'inode' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:4510:21: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:4387:27: note: Parameter 'inode' can be declared as pointer to const e2fsprogs-1.47.2-rc1/lib/blkid/llseek.c:136:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blkid_loff_t [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/blkid/llseek.c:131:60: style:inconclusive: Function 'blkid_llseek' argument 3 names different: declaration 'whence' definition 'origin'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/blkid/blkidP.h:183:67: note: Function 'blkid_llseek' argument 3 names different: declaration 'whence' definition 'origin'. e2fsprogs-1.47.2-rc1/lib/blkid/llseek.c:131:60: note: Function 'blkid_llseek' argument 3 names different: declaration 'whence' definition 'origin'. e2fsprogs-1.47.2-rc1/e2fsck/pass1.c:486:11: style: Variable 'problem' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/lib/blkid/read.c:229:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLKID_DEV_CREATE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/blkid/read.c:398:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:607:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __u32 [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:1517:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:1684:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/blkid/read.c:425:13: style: Array index 'end' is used before limits check. [arrayIndexThenCheck] e2fsprogs-1.47.2-rc1/lib/blkid/resolve.c:46:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLKID_DEV_NORMAL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/blkid/save.c:84:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/blkid/save.c:110:11: warning: Either the condition 'fd>=0' is redundant or fchmod() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] e2fsprogs-1.47.2-rc1/lib/blkid/save.c:105:11: note: Assuming that condition 'fd>=0' is not redundant e2fsprogs-1.47.2-rc1/lib/blkid/save.c:110:11: note: Invalid argument e2fsprogs-1.47.2-rc1/lib/blkid/save.c:135:35: style: Condition '(ret=save_dev(dev,file))<0' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/blkid/save.c:135:22: note: Calling function 'save_dev' returns 0 e2fsprogs-1.47.2-rc1/lib/blkid/save.c:135:35: note: Condition '(ret=save_dev(dev,file))<0' is always false e2fsprogs-1.47.2-rc1/lib/blkid/save.c:139:10: style: Condition 'ret>=0' is always true [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/blkid/save.c:135:35: note: Assuming that condition '(ret=save_dev(dev,file))<0' is not redundant e2fsprogs-1.47.2-rc1/lib/blkid/save.c:139:10: note: Condition 'ret>=0' is always true e2fsprogs-1.47.2-rc1/lib/blkid/save.c:146:11: style: Condition 'ret<0' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/blkid/save.c:141:9: note: Assignment 'ret=1', assigned value is 1 e2fsprogs-1.47.2-rc1/lib/blkid/save.c:146:11: note: Condition 'ret<0' is always false e2fsprogs-1.47.2-rc1/lib/blkid/devname.c:134:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] e2fsprogs-1.47.2-rc1/lib/blkid/devname.c:143:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] e2fsprogs-1.47.2-rc1/lib/blkid/devname.c:315:20: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] e2fsprogs-1.47.2-rc1/lib/blkid/devname.c:334:21: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] e2fsprogs-1.47.2-rc1/lib/blkid/devname.c:379:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] e2fsprogs-1.47.2-rc1/lib/blkid/devname.c:127:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/blkid/devname.c:127:22: style: Variable 'd_de' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/blkid/devname.c:306:17: style: Variable 'vg_iter' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/blkid/devname.c:318:10: style: Variable 'vg_name' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/blkid/devname.c:319:18: style: Variable 'lv_iter' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/blkid/devname.c:335:11: style: Variable 'lv_name' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/blkid/tst_types.c:21:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __u8 [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/blkid/tag.c:366:12: style: Redundant condition: dev. '!dev || (dev && dev->bid_flags&0x0001)' is equivalent to '!dev || dev->bid_flags&0x0001' [redundantCondition] e2fsprogs-1.47.2-rc1/lib/e2p/crypto_mode.c:51:30: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/e2p/encoding.c:60:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/e2p/encoding.c:93:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_ENC_UTF8_12_1 [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/e2p/encoding.c:89:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] e2fsprogs-1.47.2-rc1/lib/e2p/encoding.c:115:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] e2fsprogs-1.47.2-rc1/lib/e2p/encoding.c:91:22: style: Variable 'neg' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/lib/e2p/fgetflags.c:114:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/e2p/fgetflags.c:51:51: style: Parameter 'flags' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/e2p/fgetproject.c:45:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/e2p/fgetproject.c:42:50: style: Parameter 'project' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/e2p/fgetversion.c:68:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/e2p/fgetversion.c:70:9: style: Condition 'rc==0' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/e2p/fgetversion.c:49:12: note: Assignment 'rc=-1', assigned value is -1 e2fsprogs-1.47.2-rc1/lib/e2p/fgetversion.c:70:9: note: Condition 'rc==0' is always false e2fsprogs-1.47.2-rc1/lib/e2p/fsetflags.c:115:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/e2p/feature.c:185:43: style:inconclusive: Function 'e2p_string2feature' argument 2 names different: declaration 'compat' definition 'compat_type'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/e2p/e2p.h:58:43: note: Function 'e2p_string2feature' argument 2 names different: declaration 'compat' definition 'compat_type'. e2fsprogs-1.47.2-rc1/lib/e2p/feature.c:185:43: note: Function 'e2p_string2feature' argument 2 names different: declaration 'compat' definition 'compat_type'. e2fsprogs-1.47.2-rc1/lib/e2p/feature.c:185:30: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/e2p/feature.c:259:35: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/e2p/feature.c:322:16: style: Parameter 'clear_ok_array' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/e2p/fsetproject.c:45:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] e2fsprogs-1.47.2-rc1/lib/e2p/fsetversion.c:68:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/e2p/getflags.c:69:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/e2p/getflags.c:31:39: style: Parameter 'flags' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/e2p/getversion.c:38:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/e2p/getversion.c:29:41: style: Parameter 'version' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:1209:7: style: Redundant assignment of 'uuid' to itself. [selfAssignment] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:1276:7: style: Redundant assignment of 'uuid' to itself. [selfAssignment] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:1162:9: style: Variable 'str[j]' is reassigned a value before the old one has been used. [redundantAssignment] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:1143:11: note: str[j] is assigned e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:1162:9: note: str[j] is overwritten e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:1193:9: style: Variable 'str[j]' is reassigned a value before the old one has been used. [redundantAssignment] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:1174:11: note: str[j] is assigned e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:1193:9: note: str[j] is overwritten e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:1269:10: style: Variable 'hfsplus' is reassigned a value before the old one has been used. [redundantAssignment] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:1266:11: note: hfsplus is assigned e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:1269:10: note: hfsplus is overwritten e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:1378:3: style: Variable 'label' is assigned an expression that holds the same value. [redundantAssignment] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:1372:36: note: label is assigned '(struct lvm2_pv_label_header*)buf' here. e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:1378:3: note: Variable 'label' is assigned an expression that holds the same value. e2fsprogs-1.47.2-rc1/lib/e2p/hashstr.c:49:27: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/e2p/iod.c:49:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dirent [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:98:27: style: Variable 'md' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:137:62: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:171:17: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:325:27: style: Variable 'es' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:369:27: style: Variable 'es' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:417:27: style: Variable 'es' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:439:27: style: Variable 'es' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:471:27: style: Variable 'es' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:522:17: style: Variable 'vol_serno' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:646:28: style: Variable 'ms' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:688:35: style: Variable 'mft' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:697:27: style: Variable 'val' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:808:26: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:877:42: style: Parameter 'probe' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:878:28: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:879:23: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:894:25: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:982:32: style: Variable 'iso' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:1003:32: style: Variable 'isosb' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:1044:24: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:1082:32: style: Variable 'dl' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:1200:18: style: Variable 'hfs' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:1222:25: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:1368:24: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/e2p/iod.c:61:16: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:1373:12: style: Variable 'q' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:1510:31: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:1511:31: style: Variable 'label' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/e2p/iod.c:38:14: style: The comparison 'max_len == -1' is always true. [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/e2p/iod.c:33:17: note: 'max_len' is assigned value '-1' here. e2fsprogs-1.47.2-rc1/lib/e2p/iod.c:38:14: note: The comparison 'max_len == -1' is always true. e2fsprogs-1.47.2-rc1/lib/e2p/iod.c:29:14: style:inconclusive: Function 'iterate_on_dir' argument 3 names different: declaration 'private_arg' definition 'private'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/e2p/e2p.h:41:14: note: Function 'iterate_on_dir' argument 3 names different: declaration 'private_arg' definition 'private'. e2fsprogs-1.47.2-rc1/lib/e2p/iod.c:29:14: note: Function 'iterate_on_dir' argument 3 names different: declaration 'private_arg' definition 'private'. e2fsprogs-1.47.2-rc1/lib/e2p/iod.c:32:22: style: Variable 'dep' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/blkid/probe.c:1731:30: error: Uninitialized variable: uuid [uninitvar] e2fsprogs-1.47.2-rc1/lib/e2p/ljs.c:47:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JBD2_DEFAULT_FAST_COMMIT_BLOCKS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/e2p/ljs.c:113:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JBD2_FEATURE_COMPAT_CHECKSUM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/e2p/ls.c:153:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAGS_SIGNED_HASH [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/e2p/ls.c:232:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_inode [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/e2p/ls.c:488:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/e2p/mntopts.c:140:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT3_DEFM_JMODE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/e2p/ostype.c:33:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_OS_LITES [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/e2p/ostype.c:47:25: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/e2p/mntopts.c:58:29: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/e2p/ls.c:33:7: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] e2fsprogs-1.47.2-rc1/lib/e2p/ls.c:45:7: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] e2fsprogs-1.47.2-rc1/lib/e2p/ls.c:92:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/lib/e2p/ls.c:236:3: error: fprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum] e2fsprogs-1.47.2-rc1/lib/e2p/ls.c:241:3: error: fprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum] e2fsprogs-1.47.2-rc1/lib/e2p/ls.c:260:3: error: fprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum] e2fsprogs-1.47.2-rc1/lib/e2p/ls.c:303:2: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] e2fsprogs-1.47.2-rc1/lib/e2p/ls.c:421:3: error: fprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum] e2fsprogs-1.47.2-rc1/lib/e2p/ls.c:438:3: error: fprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum] e2fsprogs-1.47.2-rc1/lib/e2p/ps.c:26:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_VALID_FS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/e2p/ls.c:224:44: style:inconclusive: Function 'list_super2' argument 1 names different: declaration 's' definition 'sb'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/e2p/e2p.h:43:44: note: Function 'list_super2' argument 1 names different: declaration 's' definition 'sb'. e2fsprogs-1.47.2-rc1/lib/e2p/ls.c:224:44: note: Function 'list_super2' argument 1 names different: declaration 's' definition 'sb'. e2fsprogs-1.47.2-rc1/lib/e2p/ls.c:30:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/e2p/ls.c:42:16: style: Variable 'gr' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/e2p/ls.c:99:54: style: Parameter 's' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/e2p/ls.c:99:63: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/e2p/ls.c:120:53: style: Parameter 's' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/e2p/ls.c:120:62: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/e2p/ls.c:145:57: style: Parameter 's' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/e2p/setflags.c:73:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/e2p/setversion.c:37:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/et/com_err.c:35:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/e2p/uuid.c:28:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/e2p/uuid.c:39:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/et/error_message.c:245:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/et/error_message.c:288:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/et/error_message.c:318:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/et/init_et.c:44:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/et/error_message.c:290:21: style: Condition 'et_list_lock()!=0' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/et/error_message.c:290:18: note: Calling function 'et_list_lock' returns 0 e2fsprogs-1.47.2-rc1/lib/et/error_message.c:290:21: note: Condition 'et_list_lock()!=0' is always false e2fsprogs-1.47.2-rc1/lib/et/error_message.c:317:21: style: Condition 'et_list_lock()!=0' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/et/error_message.c:317:18: note: Calling function 'et_list_lock' returns 0 e2fsprogs-1.47.2-rc1/lib/et/error_message.c:317:21: note: Condition 'et_list_lock()!=0' is always false e2fsprogs-1.47.2-rc1/lib/et/error_message.c:237:8: style: Variable 'dstr' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/et/error_message.c:237:15: style: Variable 'fn' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/et/error_message.c:352:36: style: Parameter 'new_table' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:2004:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_NO_MEMORY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:2015:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_NO_MEMORY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:2025:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_NO_MEMORY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:2033:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_NO_MEMORY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:2065:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_NO_MEMORY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:2081:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_NO_MEMORY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:2282:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __u32 [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/alloc.c:44:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/alloc.c:63:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/alloc.c:92:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start_inode [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/alloc.c:152:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/alloc.c:207:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable goal [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/alloc.c:214:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable val [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/alloc.c:229:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/alloc.c:269:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable goal [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/alloc.c:276:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ret64 [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/alloc.c:286:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/alloc.c:323:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable val [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/alloc.c:338:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/alloc.c:409:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/alloc.c:516:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/alloc.c:530:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plen [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/alloc_sb.c:48:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable super_blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/alloc_sb.c:92:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_blocks [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/alloc_stats.c:21:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/alloc_stats.c:58:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/alloc_stats.c:63:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/alloc_stats.c:91:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/alloc_stats.c:102:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/alloc_stats.c:114:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/alloc_stats.c:159:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:597:15: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:2063:2: error: Common realloc mistake: 'p' nulled but not freed upon failure [memleakOnRealloc] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:925:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:926:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:927:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:928:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:929:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:930:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:931:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:932:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:933:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:934:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:935:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:936:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:938:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:939:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:940:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:941:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:942:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:943:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:944:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:945:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:946:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:947:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:948:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:949:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:950:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:951:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:952:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:953:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:955:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:956:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:957:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:958:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:959:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:960:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:961:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:962:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:963:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:964:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:965:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:966:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:967:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:968:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:969:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2_fs.h:970:1: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:645:45: style: Parameter 'lo' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:645:55: style: Parameter 'hi' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/alloc.c:180:6: style: The if condition is the same as the previous if condition [duplicateCondition] e2fsprogs-1.47.2-rc1/lib/ext2fs/alloc.c:159:6: note: First condition e2fsprogs-1.47.2-rc1/lib/ext2fs/alloc.c:180:6: note: Second condition e2fsprogs-1.47.2-rc1/lib/ext2fs/alloc_tables.c:88:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group_blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/alloc_tables.c:260:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/atexit.c:61:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/atexit.c:101:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/badblocks.c:43:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_BADBLOCKS_LIST [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/badblocks.c:114:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_BADBLOCKS_LIST [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/badblocks.c:156:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/badblocks.c:167:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_BADBLOCKS_LIST [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/badblocks.c:208:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/badblocks.c:243:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_BADBLOCKS_LIST [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/badblocks.c:268:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_BADBLOCKS_ITERATE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/badblocks.c:287:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/badblocks.c:293:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_BADBLOCKS_ITERATE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/badblocks.c:308:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_BADBLOCKS_LIST [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/atexit.c:95:58: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/badblocks.c:198:50: style:inconclusive: Function 'ext2fs_u32_list_test' argument 2 names different: declaration '__bitwise' definition 'blk'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:904:51: note: Function 'ext2fs_u32_list_test' argument 2 names different: declaration '__bitwise' definition 'blk'. e2fsprogs-1.47.2-rc1/lib/ext2fs/badblocks.c:198:50: note: Function 'ext2fs_u32_list_test' argument 2 names different: declaration '__bitwise' definition 'blk'. e2fsprogs-1.47.2-rc1/lib/ext2fs/badblocks.c:264:59: style:inconclusive: Function 'ext2fs_u32_list_iterate' argument 2 names different: declaration '__bitwise' definition 'blk'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:907:59: note: Function 'ext2fs_u32_list_iterate' argument 2 names different: declaration '__bitwise' definition 'blk'. e2fsprogs-1.47.2-rc1/lib/ext2fs/badblocks.c:264:59: note: Function 'ext2fs_u32_list_iterate' argument 2 names different: declaration '__bitwise' definition 'blk'. e2fsprogs-1.47.2-rc1/lib/ext2fs/badblocks.c:33:58: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/bb_compat.c:42:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/bb_compat.c:47:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/bb_compat.c:58:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/bb_inode.c:64:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/bb_inode.c:168:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block_nr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/bb_inode.c:223:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/bitmaps.c:59:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/bitmaps.c:95:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/bitmaps.c:138:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/bitmaps.c:171:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_GENERIC_BITMAP64 [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/bitmaps.c:186:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable oend [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/bitmaps.c:221:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_INODE_BITMAP [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/bitmaps.c:234:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_BLOCK_BITMAP [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/bitmaps.c:247:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_NEQ_BLOCK_BITMAP [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/bitmaps.c:254:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_NEQ_INODE_BITMAP [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/bitmaps.c:303:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/bitmaps.c:319:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blkmap64_ba.c:168:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bitno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blkmap64_ba.c:176:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bitno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blkmap64_ba.c:184:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bitno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blkmap64_ba.c:193:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bitno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blkmap64_ba.c:204:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bitno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blkmap64_ba.c:348:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blkmap64_ba.c:422:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:597:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_EPOCH_BITS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:610:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_NSEC_MASK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:2223:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_FEATURE_RO_COMPAT_METADATA_CSUM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:2281:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext4_orphan_block_tail [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:2289:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext4_orphan_block_tail [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:53:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:119:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:129:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tmp [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:149:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:159:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tmp [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:179:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:189:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tmp [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:208:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:247:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:258:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:285:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:299:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:326:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:352:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:365:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:378:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:392:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:405:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:418:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:431:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:444:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:457:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:470:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:481:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:493:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:504:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:516:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:528:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:539:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:562:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:573:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blkmap64_rb.c:840:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blkmap64_rb.c:877:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:468:26: style: Variable 'gdp' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:491:26: style: Variable 'gdp' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/blknum.c:526:26: style: Variable 'gdp' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/blkmap64_ba.c:286:41: style: Parameter 'in' can be declared as pointer to const. However it seems that 'ba_set_bmap_range' is a callback function, if 'in' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/lib/ext2fs/blkmap64_ba.c:486:20: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/lib/ext2fs/blkmap64_ba.c:286:41: note: Parameter 'in' can be declared as pointer to const e2fsprogs-1.47.2-rc1/lib/ext2fs/blkmap64_ba.c:219:17: style: Variable 'mark_count' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/lib/ext2fs/blkmap64_ba.c:220:15: style: Variable 'mark_bit' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/lib/ext2fs/blkmap64_ba.c:378:16: style: Variable 'byte_found' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/lib/ext2fs/blkmap64_ba.c:452:16: style: Variable 'byte_found' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/lib/ext2fs/block.c:432:32: error: Syntax Error: AST broken, operator '++' doesn't have an operand. [internalAstError] e2fsprogs-1.47.2-rc1/lib/ext2fs/bmap.c:42:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/bmap.c:98:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/bmap.c:118:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/bmap.c:145:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base_block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/bmap.c:184:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pblk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/bmap.c:214:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk64 [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/bmap.c:284:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable addr_per_block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/bmap.c:308:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable addr_per_block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/bmap.c:489:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ret_blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/blkmap64_rb.c:250:25: style: Variable 'src_ext' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/blkmap64_rb.c:653:25: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/blkmap64_rb.c:755:25: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/blkmap64_rb.c:832:25: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/blkmap64_rb.c:869:25: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/rbtree.h:141:56: style: Parameter 'root' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/rbtree.h:146:56: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/bmove.c:47:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/bmove.c:102:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/bmap.c:194:6: style: Condition 'retval' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/ext2fs/bmap.c:193:32: note: Calling function 'implied_cluster_alloc' returns 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/bmap.c:193:32: note: Assignment 'retval=implied_cluster_alloc(fs,ino,inode,handle,lblk,pblk)', assigned value is 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/bmap.c:194:6: note: Condition 'retval' is always false e2fsprogs-1.47.2-rc1/lib/ext2fs/bmap.c:102:41: warning:inconclusive: Found suspicious operator '>>', result is not used. [constStatement] e2fsprogs-1.47.2-rc1/lib/ext2fs/bmap.c:122:41: warning:inconclusive: Found suspicious operator '>>', result is not used. [constStatement] e2fsprogs-1.47.2-rc1/lib/ext2fs/bmap.c:334:41: warning:inconclusive: Found suspicious operator '>>', result is not used. [constStatement] e2fsprogs-1.47.2-rc1/lib/ext2fs/bmap.c:281:29: style: Parameter 'inode' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/brel_ma.c:78:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable max_block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/brel_ma.c:111:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable old [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/brel_ma.c:123:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable old [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/brel_ma.c:144:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable new [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/brel_ma.c:159:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable old [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/brel_ma.c:173:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable old [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/check_desc.c:37:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/brel_ma.c:48:22: style:inconclusive: Function 'ext2fs_brel_memarray_create' argument 3 names different: declaration 'brel' definition 'new_brel'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/brel.h:77:20: note: Function 'ext2fs_brel_memarray_create' argument 3 names different: declaration 'brel' definition 'new_brel'. e2fsprogs-1.47.2-rc1/lib/ext2fs/brel_ma.c:48:22: note: Function 'ext2fs_brel_memarray_create' argument 3 names different: declaration 'brel' definition 'new_brel'. e2fsprogs-1.47.2-rc1/lib/ext2fs/brel_ma.c:47:45: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/brel_ma.c:106:38: style: Parameter 'ent' can be declared as pointer to const. However it seems that 'bma_put' is a callback function, if 'ent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/lib/ext2fs/brel_ma.c:89:14: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/lib/ext2fs/brel_ma.c:106:38: note: Parameter 'ent' can be declared as pointer to const e2fsprogs-1.47.2-rc1/lib/ext2fs/closefs.c:38:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/closefs.c:78:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group_block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/closefs.c:152:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ret_super_blk2 [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/closefs.c:226:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_UNIMPLEMENTED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/closefs.c:258:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sgrp [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/closefs.c:280:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/closefs.c:489:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/crc32c.c:194:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crc32ctable_le [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/crc32c.c:246:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crc32table_be [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/crc32c.c:185:6: style: Redundant assignment of 'crc' to itself. [selfAssignment] e2fsprogs-1.47.2-rc1/lib/ext2fs/crc32c.c:187:6: style: Redundant assignment of 'crc' to itself. [selfAssignment] e2fsprogs-1.47.2-rc1/lib/ext2fs/closefs.c:466:42: style:inconclusive: Function 'ext2fs_close_free' argument 1 names different: declaration 'fs' definition 'fs_ptr'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1137:49: note: Function 'ext2fs_close_free' argument 1 names different: declaration 'fs' definition 'fs_ptr'. e2fsprogs-1.47.2-rc1/lib/ext2fs/closefs.c:466:42: note: Function 'ext2fs_close_free' argument 1 names different: declaration 'fs' definition 'fs_ptr'. e2fsprogs-1.47.2-rc1/lib/ext2fs/closefs.c:195:10: style: Variable 'old_super' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:45:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mmp_checksum [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:86:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_checksum [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:139:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:203:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __u16 [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:264:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __u16 [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:298:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_DIR_NO_SPACE_FOR_CSUM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:310:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inum [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:339:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inum [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:358:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inum [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:386:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_DIR_NO_SPACE_FOR_CSUM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:417:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inum [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:431:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inum [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:445:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inum [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:459:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inum [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:474:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext3_extent_header [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:486:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext3_extent_header [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:517:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inum [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:538:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inum [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:549:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:570:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:587:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:608:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:638:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inum [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:663:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i_checksum_hi [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:705:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i_checksum_hi [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:719:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:789:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:803:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:809:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:827:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/dblist.c:38:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_dirs [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/dblist.c:139:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_DBLIST [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/dblist.c:168:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/dblist.c:208:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_DBLIST [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/dblist.c:257:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_DBLIST [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/dblist.c:269:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_DBLIST [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/dblist.c:350:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_DBLIST [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/dblist.c:386:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_DBLIST [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/dblist_dir.c:41:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_DBLIST [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/dblist.c:333:26: warning: Redundant code: Found unused member access. [constStatement] e2fsprogs-1.47.2-rc1/lib/ext2fs/dblist.c:33:32: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/dblist.c:384:25: style: Variable 'last' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:435:9: warning: Identical condition and return expression 'retval', return value is always 0 [identicalConditionAfterEarlyExit] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:432:6: note: If condition 'retval' is true, the function will return/exit e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:435:9: note: Returning identical expression 'retval' e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:542:9: warning: Identical condition and return expression 'retval', return value is always 0 [identicalConditionAfterEarlyExit] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:539:6: note: If condition 'retval' is true, the function will return/exit e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:542:9: note: Returning identical expression 'retval' e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:159:6: style: Condition 'retval' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:158:37: note: Calling function 'ext2fs_ext_attr_block_csum' returns 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:158:37: note: Assignment 'retval=ext2fs_ext_attr_block_csum(fs,inum,block,hdr,&calculated)', assigned value is 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:159:6: note: Condition 'retval' is always false e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:176:6: style: Condition 'retval' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:175:37: note: Calling function 'ext2fs_ext_attr_block_csum' returns 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:175:37: note: Assignment 'retval=ext2fs_ext_attr_block_csum(fs,inum,block,hdr,&crc)', assigned value is 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:176:6: note: Condition 'retval' is always false e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:667:6: style: Condition 'retval' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:666:28: note: Calling function 'ext2fs_inode_csum' returns 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:666:28: note: Assignment 'retval=ext2fs_inode_csum(fs,inum,inode,&calculated,has_hi)', assigned value is 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:667:6: note: Condition 'retval' is always false e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:708:6: style: Condition 'retval' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:707:28: note: Calling function 'ext2fs_inode_csum' returns 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:707:28: note: Assignment 'retval=ext2fs_inode_csum(fs,inum,inode,&crc,has_hi)', assigned value is 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:708:6: note: Condition 'retval' is always false e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:75:70: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/csum.c:199:28: style: Variable 'root' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/dir_iterate.c:47:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/dir_iterate.c:108:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/dir_iterate.c:174:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dir [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/dir_iterate.c:203:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blockcnt [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/dirblock.c:30:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/dirblock.c:50:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/dirblock.c:56:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/dirblock.c:62:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/dirblock.c:82:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/dirblock.c:99:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/dirblock.c:105:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/dirblock.c:111:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/dirblock.c:67:13: style:inconclusive: Function 'ext2fs_write_dir_block4' argument 3 names different: declaration 'buf' definition 'inbuf'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1295:13: note: Function 'ext2fs_write_dir_block4' argument 3 names different: declaration 'buf' definition 'inbuf'. e2fsprogs-1.47.2-rc1/lib/ext2fs/dirblock.c:67:13: note: Function 'ext2fs_write_dir_block4' argument 3 names different: declaration 'buf' definition 'inbuf'. e2fsprogs-1.47.2-rc1/lib/ext2fs/dirblock.c:97:13: style:inconclusive: Function 'ext2fs_write_dir_block3' argument 3 names different: declaration 'buf' definition 'inbuf'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1293:13: note: Function 'ext2fs_write_dir_block3' argument 3 names different: declaration 'buf' definition 'inbuf'. e2fsprogs-1.47.2-rc1/lib/ext2fs/dirblock.c:97:13: note: Function 'ext2fs_write_dir_block3' argument 3 names different: declaration 'buf' definition 'inbuf'. e2fsprogs-1.47.2-rc1/lib/ext2fs/dirblock.c:103:12: style:inconclusive: Function 'ext2fs_write_dir_block2' argument 3 names different: declaration 'buf' definition 'inbuf'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1291:13: note: Function 'ext2fs_write_dir_block2' argument 3 names different: declaration 'buf' definition 'inbuf'. e2fsprogs-1.47.2-rc1/lib/ext2fs/dirblock.c:103:12: note: Function 'ext2fs_write_dir_block2' argument 3 names different: declaration 'buf' definition 'inbuf'. e2fsprogs-1.47.2-rc1/lib/ext2fs/dirblock.c:109:12: style:inconclusive: Function 'ext2fs_write_dir_block' argument 3 names different: declaration 'buf' definition 'inbuf'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1289:12: note: Function 'ext2fs_write_dir_block' argument 3 names different: declaration 'buf' definition 'inbuf'. e2fsprogs-1.47.2-rc1/lib/ext2fs/dirblock.c:109:12: note: Function 'ext2fs_write_dir_block' argument 3 names different: declaration 'buf' definition 'inbuf'. e2fsprogs-1.47.2-rc1/lib/ext2fs/dir_iterate.c:81:25: style: Condition 'ext2fs_get_rec_len(fs,dirent,&rec_len)' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/ext2fs/dir_iterate.c:81:25: note: Calling function 'ext2fs_get_rec_len' returns 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/dir_iterate.c:81:25: note: Condition 'ext2fs_get_rec_len(fs,dirent,&rec_len)' is always false e2fsprogs-1.47.2-rc1/lib/ext2fs/dir_iterate.c:230:25: style: Condition 'ext2fs_get_rec_len(fs,dirent,&rec_len)' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/ext2fs/dir_iterate.c:230:25: note: Calling function 'ext2fs_get_rec_len' returns 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/dir_iterate.c:230:25: note: Condition 'ext2fs_get_rec_len(fs,dirent,&rec_len)' is always false e2fsprogs-1.47.2-rc1/lib/ext2fs/dir_iterate.c:266:26: style: Condition 'ext2fs_get_rec_len(fs,dirent,&rec_len)' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/ext2fs/dir_iterate.c:266:26: note: Calling function 'ext2fs_get_rec_len' returns 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/dir_iterate.c:266:26: note: Condition 'ext2fs_get_rec_len(fs,dirent,&rec_len)' is always false e2fsprogs-1.47.2-rc1/lib/ext2fs/dirhash.c:263:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ret_hash [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/dirhash.c:294:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/dir_iterate.c:28:32: style: Parameter 'dirent' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/dosio.c:154:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable struct_io_channel [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/dosio.c:191:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_DEVICE_NAME [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/dosio.c:381:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/dosio.c:418:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/dosio.c:91:66: style: Parameter 'part' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/dupfs.c:28:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/expanddir.c:39:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable new_blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/expanddir.c:93:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:33:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:211:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_EA_HEADER [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:222:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:243:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:248:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:271:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:282:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:287:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:301:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:335:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:343:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:435:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:507:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:595:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:650:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:752:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:889:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_EA_BAD_NAME_LEN [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:1054:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:1139:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EA_HANDLE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:1169:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EA_HANDLE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:1190:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EA_HANDLE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:1233:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:1279:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:1332:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:1372:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ea_ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:1475:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ea_ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:1606:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EA_HANDLE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:1708:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EA_HANDLE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:1736:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MISSING_EA_FEATURE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:1761:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EA_HANDLE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:1770:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EA_HANDLE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:1778:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EA_HANDLE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/fallocate.c:86:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clusters [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/fallocate.c:107:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fillable [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/fallocate.c:676:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_start [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/fallocate.c:808:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:172:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT3_EXT_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:227:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:315:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:591:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:674:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_EXTENT_NO_NEXT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:756:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:779:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:838:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXTENT_HANDLE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:910:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable new_node_pblk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:1176:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXTENT_HANDLE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:1276:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT_INIT_MAX_LEN [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:1617:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXTENT_HANDLE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:1696:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXTENT_HANDLE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:1737:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i_block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:1767:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:1807:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext3_extent [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:1831:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blkcount [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/fallocate.c:703:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] e2fsprogs-1.47.2-rc1/lib/ext2fs/fallocate.c:700:7: note: err is assigned e2fsprogs-1.47.2-rc1/lib/ext2fs/fallocate.c:703:7: note: err is overwritten e2fsprogs-1.47.2-rc1/lib/ext2fs/fileio.c:56:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_RO_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/fileio.c:101:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2_FILE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/fileio.c:111:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2_FILE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/fileio.c:133:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dontcare [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/fileio.c:185:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/fileio.c:241:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2_FILE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/fileio.c:294:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2_FILE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/fileio.c:352:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_INLINE_DATA_NO_SPACE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/fileio.c:401:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2_FILE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/fileio.c:518:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2_FILE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/fileio.c:541:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/fileio.c:554:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2_FILE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/fileio.c:580:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable off [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/fileio.c:627:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable old_size [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/fileio.c:665:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/fileio.c:276:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] e2fsprogs-1.47.2-rc1/lib/ext2fs/fileio.c:176:9: warning: Identical condition and return expression 'retval', return value is always 0 [identicalConditionAfterEarlyExit] e2fsprogs-1.47.2-rc1/lib/ext2fs/fileio.c:171:6: note: If condition 'retval' is true, the function will return/exit e2fsprogs-1.47.2-rc1/lib/ext2fs/fileio.c:176:9: note: Returning identical expression 'retval' e2fsprogs-1.47.2-rc1/lib/ext2fs/fileio.c:364:15: style: Condition 'retval==0' is always true [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/ext2fs/fileio.c:354:7: note: Assuming that condition 'retval' is not redundant e2fsprogs-1.47.2-rc1/lib/ext2fs/fileio.c:364:15: note: Condition 'retval==0' is always true e2fsprogs-1.47.2-rc1/lib/ext2fs/fileio.c:44:27: style: Parameter 'inode' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/fileio.c:337:21: style: Variable 'count' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/lib/ext2fs/fileio.c:365:12: style: Variable 'retval' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:587:41: warning: Either the condition '!value' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:594:6: note: Assuming that condition '!value' is not redundant e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:584:39: note: header is assigned '(const struct posix_acl_xattr_header*)value' here. e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:587:41: note: Null pointer addition e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:251:71: style:inconclusive: Function 'ext2fs_write_ext_attr3' argument 3 names different: declaration 'buf' definition 'inbuf'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1368:18: note: Function 'ext2fs_write_ext_attr3' argument 3 names different: declaration 'buf' definition 'inbuf'. e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:251:71: note: Function 'ext2fs_write_ext_attr3' argument 3 names different: declaration 'buf' definition 'inbuf'. e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:280:71: style:inconclusive: Function 'ext2fs_write_ext_attr2' argument 3 names different: declaration 'buf' definition 'inbuf'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1366:18: note: Function 'ext2fs_write_ext_attr2' argument 3 names different: declaration 'buf' definition 'inbuf'. e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:280:71: note: Function 'ext2fs_write_ext_attr2' argument 3 names different: declaration 'buf' definition 'inbuf'. e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:285:68: style:inconclusive: Function 'ext2fs_write_ext_attr' argument 3 names different: declaration 'buf' definition 'inbuf'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1364:18: note: Function 'ext2fs_write_ext_attr' argument 3 names different: declaration 'buf' definition 'inbuf'. e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:285:68: note: Function 'ext2fs_write_ext_attr' argument 3 names different: declaration 'buf' definition 'inbuf'. e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:1590:54: style:inconclusive: Function 'ext2fs_xattr_set' argument 1 names different: declaration 'handle' definition 'h'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1389:54: note: Function 'ext2fs_xattr_set' argument 1 names different: declaration 'handle' definition 'h'. e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:1590:54: note: Function 'ext2fs_xattr_set' argument 1 names different: declaration 'handle' definition 'h'. e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:1591:19: style:inconclusive: Function 'ext2fs_xattr_set' argument 2 names different: declaration 'key' definition 'name'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1390:19: note: Function 'ext2fs_xattr_set' argument 2 names different: declaration 'key' definition 'name'. e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:1591:19: note: Function 'ext2fs_xattr_set' argument 2 names different: declaration 'key' definition 'name'. e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:51:17: style: Variable 'name' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:79:15: style: Variable 'name' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:163:35: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:185:51: style: Parameter 'inode' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:206:69: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:865:32: style: Parameter 'inode' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:957:23: style: Variable 'ea_inode' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:1050:31: style: Variable 'header' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:1768:57: style: Parameter 'handle' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext_attr.c:1776:24: style: Parameter 'new_flags' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/finddev.c:93:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/finddev.c:94:7: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] e2fsprogs-1.47.2-rc1/lib/ext2fs/finddev.c:119:8: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] e2fsprogs-1.47.2-rc1/lib/ext2fs/finddev.c:86:17: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:1130:10: style: Variable 'retval' is reassigned a value before the old one has been used. [redundantAssignment] e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:1126:10: note: retval is assigned e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:1130:10: note: retval is overwritten e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:1674:11: style: Variable 'retval' is reassigned a value before the old one has been used. [redundantAssignment] e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:1670:11: note: retval is assigned e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:1674:11: note: retval is overwritten e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:213:31: style:inconclusive: Function 'ext2fs_extent_open' argument 3 names different: declaration 'handle' definition 'ret_handle'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1416:31: note: Function 'ext2fs_extent_open' argument 3 names different: declaration 'handle' definition 'ret_handle'. e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:213:31: note: Function 'ext2fs_extent_open' argument 3 names different: declaration 'handle' definition 'ret_handle'. e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:1803:64: style:inconclusive: Function 'ext2fs_decode_extent' argument 2 names different: declaration 'from' definition 'addr'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1444:71: note: Function 'ext2fs_decode_extent' argument 2 names different: declaration 'from' definition 'addr'. e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:1803:64: note: Function 'ext2fs_decode_extent' argument 2 names different: declaration 'from' definition 'addr'. e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:1832:12: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:780:23: style: Variable 'path' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:883:56: style: Parameter 'handle' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:886:22: style: Variable 'ppp' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:1279:22: style: Variable 'path' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:70:8: style: struct member 'ext2_extent_path::leaf_height' is never used. [unusedStructMember] e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:278:9: style: Variable 'retval' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/lib/ext2fs/extent.c:702:12: style: Variable 'retval' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/lib/ext2fs/freefs.c:24:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/freefs.c:77:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_BADBLOCKS_LIST [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/freefs.c:97:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_DBLIST [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:74:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_GENERIC_BITMAP [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:102:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_INODE_MARK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:144:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_GENERIC_BITMAP [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:184:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_GENERIC_BITMAP [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:208:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_GENERIC_BITMAP [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:232:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_GENERIC_BITMAP [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:255:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_GENERIC_BITMAP [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:274:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_GENERIC_BITMAP [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:292:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_GENERIC_BITMAP [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:317:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable end [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:375:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:419:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:436:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:543:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:567:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:591:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_BLOCK_BITMAP [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:607:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_INODE_BITMAP [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:624:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:640:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:100:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_dirs [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:251:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_GENERIC_BITMAP [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:285:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:354:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:375:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:405:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:421:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:436:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_GENERIC_BITMAP [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:450:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_GENERIC_BITMAP [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:489:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_GENERIC_BITMAP [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:520:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_GENERIC_BITMAP [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:558:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:585:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:611:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:647:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_GENERIC_BITMAP [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:662:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:707:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:748:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:791:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_GENERIC_BITMAP [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:806:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:846:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:901:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:951:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:986:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tot_set [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_crc32ctable.c:78:75: style: Parameter 'trans' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:148:60: style:inconclusive: Function 'ext2fs_copy_generic_bitmap' argument 1 names different: declaration 'src' definition 'gen_src'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1505:67: note: Function 'ext2fs_copy_generic_bitmap' argument 1 names different: declaration 'src' definition 'gen_src'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:148:60: note: Function 'ext2fs_copy_generic_bitmap' argument 1 names different: declaration 'src' definition 'gen_src'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:160:53: style:inconclusive: Function 'ext2fs_free_generic_bitmap' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1494:60: note: Function 'ext2fs_free_generic_bitmap' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:160:53: note: Function 'ext2fs_free_generic_bitmap' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:309:63: style:inconclusive: Function 'ext2fs_fudge_generic_bitmap_end' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1508:70: note: Function 'ext2fs_fudge_generic_bitmap_end' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:309:63: note: Function 'ext2fs_fudge_generic_bitmap_end' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:327:34: style:inconclusive: Function 'ext2fs_resize_generic_bitmap' argument 4 names different: declaration 'bmap' definition 'gen_bmap'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1517:34: note: Function 'ext2fs_resize_generic_bitmap' argument 4 names different: declaration 'bmap' definition 'gen_bmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:327:34: note: Function 'ext2fs_resize_generic_bitmap' argument 4 names different: declaration 'bmap' definition 'gen_bmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:370:28: style:inconclusive: Function 'ext2fs_compare_generic_bitmap' argument 3 names different: declaration 'bm1' definition 'gen_bm1'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1519:35: note: Function 'ext2fs_compare_generic_bitmap' argument 3 names different: declaration 'bm1' definition 'gen_bm1'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:370:28: note: Function 'ext2fs_compare_generic_bitmap' argument 3 names different: declaration 'bm1' definition 'gen_bm1'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:371:28: style:inconclusive: Function 'ext2fs_compare_generic_bitmap' argument 4 names different: declaration 'bm2' definition 'gen_bm2'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1520:35: note: Function 'ext2fs_compare_generic_bitmap' argument 4 names different: declaration 'bm2' definition 'gen_bm2'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:371:28: note: Function 'ext2fs_compare_generic_bitmap' argument 4 names different: declaration 'bm2' definition 'gen_bm2'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:396:62: style:inconclusive: Function 'ext2fs_set_generic_bitmap_padding' argument 1 names different: declaration 'map' definition 'gen_map'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1513:69: note: Function 'ext2fs_set_generic_bitmap_padding' argument 1 names different: declaration 'map' definition 'gen_map'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:396:62: note: Function 'ext2fs_set_generic_bitmap_padding' argument 1 names different: declaration 'map' definition 'gen_map'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:408:65: style:inconclusive: Function 'ext2fs_get_generic_bitmap_range' argument 1 names different: declaration 'bmap' definition 'gen_bmap'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1521:72: note: Function 'ext2fs_get_generic_bitmap_range' argument 1 names different: declaration 'bmap' definition 'gen_bmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:408:65: note: Function 'ext2fs_get_generic_bitmap_range' argument 1 names different: declaration 'bmap' definition 'gen_bmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:425:65: style:inconclusive: Function 'ext2fs_set_generic_bitmap_range' argument 1 names different: declaration 'bmap' definition 'gen_bmap'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1525:72: note: Function 'ext2fs_set_generic_bitmap_range' argument 1 names different: declaration 'bmap' definition 'gen_bmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:425:65: note: Function 'ext2fs_set_generic_bitmap_range' argument 1 names different: declaration 'bmap' definition 'gen_bmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:538:71: style:inconclusive: Function 'ext2fs_find_first_zero_generic_bitmap' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1529:78: note: Function 'ext2fs_find_first_zero_generic_bitmap' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:538:71: note: Function 'ext2fs_find_first_zero_generic_bitmap' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:562:70: style:inconclusive: Function 'ext2fs_find_first_set_generic_bitmap' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1532:77: note: Function 'ext2fs_find_first_set_generic_bitmap' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:562:70: note: Function 'ext2fs_find_first_set_generic_bitmap' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:83:35: style: Parameter 'init_map' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:428:14: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:474:17: style: Variable 'mark_count' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap.c:475:15: style: Variable 'mark_bit' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/lib/ext2fs/get_num_dirs.c:30:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:244:53: style:inconclusive: Function 'ext2fs_free_generic_bmap' argument 1 names different: declaration 'bmap' definition 'gen_bmap'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1537:53: note: Function 'ext2fs_free_generic_bmap' argument 1 names different: declaration 'bmap' definition 'gen_bmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:244:53: note: Function 'ext2fs_free_generic_bmap' argument 1 names different: declaration 'bmap' definition 'gen_bmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:276:58: style:inconclusive: Function 'ext2fs_copy_generic_bmap' argument 1 names different: declaration 'src' definition 'gen_src'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1543:58: note: Function 'ext2fs_copy_generic_bmap' argument 1 names different: declaration 'src' definition 'gen_src'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:276:58: note: Function 'ext2fs_copy_generic_bmap' argument 1 names different: declaration 'src' definition 'gen_src'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:347:60: style:inconclusive: Function 'ext2fs_resize_generic_bmap' argument 1 names different: declaration 'bmap' definition 'gen_bmap'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1550:60: note: Function 'ext2fs_resize_generic_bmap' argument 1 names different: declaration 'bmap' definition 'gen_bmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:347:60: note: Function 'ext2fs_resize_generic_bmap' argument 1 names different: declaration 'bmap' definition 'gen_bmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:368:63: style:inconclusive: Function 'ext2fs_fudge_generic_bmap_end' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1546:63: note: Function 'ext2fs_fudge_generic_bmap_end' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:368:63: note: Function 'ext2fs_fudge_generic_bmap_end' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:432:54: style:inconclusive: Function 'ext2fs_clear_generic_bmap' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1545:54: note: Function 'ext2fs_clear_generic_bmap' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:432:54: note: Function 'ext2fs_clear_generic_bmap' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:442:52: style:inconclusive: Function 'ext2fs_mark_generic_bmap' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fsP.h:192:59: note: Function 'ext2fs_mark_generic_bmap' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:442:52: note: Function 'ext2fs_mark_generic_bmap' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:481:54: style:inconclusive: Function 'ext2fs_unmark_generic_bmap' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fsP.h:194:61: note: Function 'ext2fs_unmark_generic_bmap' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:481:54: note: Function 'ext2fs_unmark_generic_bmap' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:513:52: style:inconclusive: Function 'ext2fs_test_generic_bmap' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fsP.h:196:59: note: Function 'ext2fs_test_generic_bmap' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:513:52: note: Function 'ext2fs_test_generic_bmap' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:551:63: style:inconclusive: Function 'ext2fs_set_generic_bmap_range' argument 1 names different: declaration 'bmap' definition 'gen_bmap'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1559:63: note: Function 'ext2fs_set_generic_bmap_range' argument 1 names different: declaration 'bmap' definition 'gen_bmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:551:63: note: Function 'ext2fs_set_generic_bmap_range' argument 1 names different: declaration 'bmap' definition 'gen_bmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:578:63: style:inconclusive: Function 'ext2fs_get_generic_bmap_range' argument 1 names different: declaration 'bmap' definition 'gen_bmap'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1556:63: note: Function 'ext2fs_get_generic_bmap_range' argument 1 names different: declaration 'bmap' definition 'gen_bmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:578:63: note: Function 'ext2fs_get_generic_bmap_range' argument 1 names different: declaration 'bmap' definition 'gen_bmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:606:33: style:inconclusive: Function 'ext2fs_compare_generic_bmap' argument 2 names different: declaration 'bm1' definition 'gen_bm1'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1554:33: note: Function 'ext2fs_compare_generic_bmap' argument 2 names different: declaration 'bm1' definition 'gen_bm1'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:606:33: note: Function 'ext2fs_compare_generic_bmap' argument 2 names different: declaration 'bm1' definition 'gen_bm1'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:607:33: style:inconclusive: Function 'ext2fs_compare_generic_bmap' argument 3 names different: declaration 'bm2' definition 'gen_bm2'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1555:33: note: Function 'ext2fs_compare_generic_bmap' argument 3 names different: declaration 'bm2' definition 'gen_bm2'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:607:33: note: Function 'ext2fs_compare_generic_bmap' argument 3 names different: declaration 'bm2' definition 'gen_bm2'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:642:60: style:inconclusive: Function 'ext2fs_set_generic_bmap_padding' argument 1 names different: declaration 'bmap' definition 'gen_bmap'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1549:60: note: Function 'ext2fs_set_generic_bmap_padding' argument 1 names different: declaration 'bmap' definition 'gen_bmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:642:60: note: Function 'ext2fs_set_generic_bmap_padding' argument 1 names different: declaration 'bmap' definition 'gen_bmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:785:49: style:inconclusive: Function 'ext2fs_warn_bitmap32' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fsP.h:204:56: note: Function 'ext2fs_warn_bitmap32' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:785:49: note: Function 'ext2fs_warn_bitmap32' argument 1 names different: declaration 'bitmap' definition 'gen_bitmap'. e2fsprogs-1.47.2-rc1/lib/ext2fs/gen_bitmap64.c:280:8: style: Variable 'descr' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/get_pathname.c:79:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dir [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/get_pathname.c:160:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/get_pathname.c:44:53: style: Parameter 'dirent' can be declared as pointer to const. However it seems that 'get_pathname_proc' is a callback function, if 'dirent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/lib/ext2fs/get_pathname.c:100:47: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/lib/ext2fs/get_pathname.c:44:53: note: Parameter 'dirent' can be declared as pointer to const e2fsprogs-1.47.2-rc1/lib/ext2fs/getsectsize.c:61:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/getsectsize.c:128:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/getsectsize.c:109:12: style: The comparison 'align <= 0' is always true. [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/ext2fs/getsectsize.c:89:14: note: 'align' is assigned value '0' here. e2fsprogs-1.47.2-rc1/lib/ext2fs/getsectsize.c:109:12: note: The comparison 'align <= 0' is always true. e2fsprogs-1.47.2-rc1/lib/ext2fs/getsize.c:149:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/getsize.c:283:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blocks [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/i_block.c:40:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_blocks [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/i_block.c:63:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_blocks [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/i_block.c:81:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/icount.c:114:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_ICOUNT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/icount.c:253:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_UNIMPLEMENTED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/icount.c:263:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/icount.c:342:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable new_size [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/icount.c:397:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/icount.c:457:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/icount.c:492:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/icount.c:512:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_ICOUNT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/icount.c:532:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_ICOUNT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/icount.c:558:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_ICOUNT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/icount.c:618:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/icount.c:669:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/imager.c:64:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/imager.c:152:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/imager.c:214:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_NO_GDESC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/imager.c:305:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/imager.c:385:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/imager.c:457:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/icount.c:520:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/lib/ext2fs/icount.c:520:4: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/lib/ext2fs/icount.c:200:14: style: Parameter 'tdb_dir' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/icount.c:472:26: style: Variable 'el' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/ind_block.c:36:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ind_block.c:64:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/imager.c:46:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/imager.c:204:15: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/imager.c:435:8: style: Variable 'size' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/lib/ext2fs/imager.c:445:8: style: Variable 'size' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/lib/ext2fs/inline.c:78:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_NO_MEMORY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/initialize.c:78:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __u32 [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/initialize.c:98:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/initialize.c:600:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inline_data.c:68:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_EA_KEY_NOT_FOUND [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inline_data.c:86:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inline_data.c:98:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inline_data.c:123:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blockcnt [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inline_data.c:259:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inline_data.c:295:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inline_data.c:350:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inline_data.c:410:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inline_data.c:438:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inline_data.c:510:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inline_data.c:540:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inline_data.c:216:19: style: Checking if unsigned expression 'data.ea_size' is less than zero. [unsignedLessThanZero] e2fsprogs-1.47.2-rc1/lib/ext2fs/inline_data.c:399:43: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/inline_data.c:502:25: style: Parameter 'inode' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode.c:73:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode.c:146:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode.c:236:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_INODE_SCAN [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode.c:254:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_INODE_SCAN [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode.c:266:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_INODE_SCAN [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode.c:309:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_GDESC_BAD_INODE_TABLE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode.c:332:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode.c:435:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode.c:525:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_blocks [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode.c:611:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_INODE_SCAN [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode.c:749:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode.c:760:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block_nr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode.c:883:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode.c:889:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode.c:897:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block_nr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode.c:1024:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode.c:1030:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode.c:1047:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i_atime_extra [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode.c:1083:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode.c:1105:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/initialize.c:578:16: style: Condition '((int)c)==-1' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/ext2fs/initialize.c:577:6: note: Assignment 'c=(char)255', assigned value is 255 e2fsprogs-1.47.2-rc1/lib/ext2fs/initialize.c:578:16: note: Condition '((int)c)==-1' is always false e2fsprogs-1.47.2-rc1/lib/ext2fs/inode_io.c:91:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_INODE_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode_io.c:122:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_DEVICE_NAME [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode_io.c:179:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode_io.c:199:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode_io.c:214:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode_io.c:240:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode_io.c:266:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode_io.c:284:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/initialize.c:110:9: style: Variable 'time_env' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode_io.c:209:48: style:inconclusive: Function 'inode_read_blk64' argument 4 names different: declaration 'data' definition 'buf'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode_io.c:61:48: note: Function 'inode_read_blk64' argument 4 names different: declaration 'data' definition 'buf'. e2fsprogs-1.47.2-rc1/lib/ext2fs/inode_io.c:209:48: note: Function 'inode_read_blk64' argument 4 names different: declaration 'data' definition 'buf'. e2fsprogs-1.47.2-rc1/lib/ext2fs/inode_io.c:229:28: style:inconclusive: Function 'inode_read_blk' argument 4 names different: declaration 'data' definition 'buf'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode_io.c:54:28: note: Function 'inode_read_blk' argument 4 names different: declaration 'data' definition 'buf'. e2fsprogs-1.47.2-rc1/lib/ext2fs/inode_io.c:229:28: note: Function 'inode_read_blk' argument 4 names different: declaration 'data' definition 'buf'. e2fsprogs-1.47.2-rc1/lib/ext2fs/inode_io.c:235:54: style:inconclusive: Function 'inode_write_blk64' argument 4 names different: declaration 'data' definition 'buf'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode_io.c:63:54: note: Function 'inode_write_blk64' argument 4 names different: declaration 'data' definition 'buf'. e2fsprogs-1.47.2-rc1/lib/ext2fs/inode_io.c:235:54: note: Function 'inode_write_blk64' argument 4 names different: declaration 'data' definition 'buf'. e2fsprogs-1.47.2-rc1/lib/ext2fs/inode_io.c:255:28: style:inconclusive: Function 'inode_write_blk' argument 4 names different: declaration 'data' definition 'buf'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode_io.c:56:28: note: Function 'inode_write_blk' argument 4 names different: declaration 'data' definition 'buf'. e2fsprogs-1.47.2-rc1/lib/ext2fs/inode_io.c:255:28: note: Function 'inode_write_blk' argument 4 names different: declaration 'data' definition 'buf'. e2fsprogs-1.47.2-rc1/lib/ext2fs/inode_io.c:261:28: style:inconclusive: Function 'inode_write_byte' argument 4 names different: declaration 'data' definition 'buf'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode_io.c:59:27: note: Function 'inode_write_byte' argument 4 names different: declaration 'data' definition 'buf'. e2fsprogs-1.47.2-rc1/lib/ext2fs/inode_io.c:261:28: note: Function 'inode_write_byte' argument 4 names different: declaration 'data' definition 'buf'. e2fsprogs-1.47.2-rc1/lib/ext2fs/inode_io.c:82:26: style: Parameter 'inode' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode_io.c:197:29: style: Variable 'data' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode.c:552:7: style: Condition 'retval' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode.c:551:38: note: Calling function 'check_for_inode_bad_blocks' returns 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/inode.c:551:38: note: Assignment 'retval=check_for_inode_bad_blocks(scan,&num_blocks)', assigned value is 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/inode.c:552:7: note: Condition 'retval' is always false e2fsprogs-1.47.2-rc1/lib/ext2fs/irel_ma.c:102:27: error: Unmatched '('. Configuration: '__GNUC__=1'. [syntaxError] e2fsprogs-1.47.2-rc1/lib/ext2fs/inode.c:608:9: style: Variable 'iblock_status' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/io_manager.c:28:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/io_manager.c:63:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/io_manager.c:75:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/io_manager.c:91:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/io_manager.c:107:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/io_manager.c:118:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/io_manager.c:149:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_OP_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/llseek.c:97:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_loff_t [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/ismounted.c:427:6: warning: Identical condition 'retval', second condition is always false [identicalConditionAfterEarlyExit] e2fsprogs-1.47.2-rc1/lib/ext2fs/ismounted.c:366:21: note: 'retval' is assigned value '0' here. e2fsprogs-1.47.2-rc1/lib/ext2fs/ismounted.c:367:15: note: 'busy' is assigned value '0' here. e2fsprogs-1.47.2-rc1/lib/ext2fs/ismounted.c:424:6: note: If condition 'retval' is true, the function will return/exit e2fsprogs-1.47.2-rc1/lib/ext2fs/ismounted.c:427:6: note: Testing identical condition 'retval' e2fsprogs-1.47.2-rc1/lib/ext2fs/ismounted.c:430:9: warning: Identical condition and return expression 'retval', return value is always 0 [identicalConditionAfterEarlyExit] e2fsprogs-1.47.2-rc1/lib/ext2fs/ismounted.c:366:21: note: 'retval' is assigned value '0' here. e2fsprogs-1.47.2-rc1/lib/ext2fs/ismounted.c:424:6: note: If condition 'retval' is true, the function will return/exit e2fsprogs-1.47.2-rc1/lib/ext2fs/ismounted.c:430:9: note: Returning identical expression 'retval' e2fsprogs-1.47.2-rc1/lib/ext2fs/link.c:82:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dir [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/link.c:108:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dir [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/link.c:272:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dir [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/link.c:367:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lblk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/link.c:432:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable new_pblk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/link.c:459:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/link.c:564:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable leaf_pblk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/link.c:615:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/lookup.c:56:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/lookup.c:32:47: style: Parameter 'dirent' can be declared as pointer to const. However it seems that 'lookup_proc' is a callback function, if 'dirent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/lib/ext2fs/lookup.c:63:47: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/lib/ext2fs/lookup.c:32:47: note: Parameter 'dirent' can be declared as pointer to const e2fsprogs-1.47.2-rc1/lib/ext2fs/mkdir.c:41:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/link.c:94:28: style: Variable 'root' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/link.c:322:25: style: Variable 'de' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/link.c:374:30: style: Parameter 'diri' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/mmp.c:122:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_OP_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/mmp.c:161:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_OP_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/mmp.c:192:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_OP_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/mmp.c:249:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_OP_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/mmp.c:285:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_OP_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/mmp.c:389:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_OP_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/mmp.c:434:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_RW [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/mmp.c:480:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_RW [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/mmp.c:44:66: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/mmp.c:126:67: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/kernel-jbd.h:395:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __u16 [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/mkjournal.c:54:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_JOURNAL_TOO_SMALL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/mkjournal.c:109:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/mkjournal.c:188:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/mkjournal.c:234:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ret_blk2 [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/mkjournal.c:286:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zblk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/mkjournal.c:383:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable total_blks [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/mkjournal.c:438:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/mkjournal.c:497:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable journal_ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/mkjournal.c:610:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_blocks [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/mkjournal.c:618:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_blocks [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/namei.c:37:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/namei.c:106:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inode [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/namei.c:141:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dir [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/namei.c:178:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/namei.c:197:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/namei.c:216:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/namei.c:33:8: style: Variable 'pathname' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/namei.c:109:9: style: Variable 'c' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/lib/ext2fs/mkjournal.c:47:39: style:inconclusive: Function 'ext2fs_create_journal_superblock2' argument 2 names different: declaration 'params' definition 'jparams'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1766:39: note: Function 'ext2fs_create_journal_superblock2' argument 2 names different: declaration 'params' definition 'jparams'. e2fsprogs-1.47.2-rc1/lib/ext2fs/mkjournal.c:47:39: note: Function 'ext2fs_create_journal_superblock2' argument 2 names different: declaration 'params' definition 'jparams'. e2fsprogs-1.47.2-rc1/lib/ext2fs/mkjournal.c:87:24: style:inconclusive: Function 'ext2fs_create_journal_superblock' argument 4 names different: declaration 'ret_jsb' definition 'ret_sb'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1764:17: note: Function 'ext2fs_create_journal_superblock' argument 4 names different: declaration 'ret_jsb' definition 'ret_sb'. e2fsprogs-1.47.2-rc1/lib/ext2fs/mkjournal.c:87:24: note: Function 'ext2fs_create_journal_superblock' argument 4 names different: declaration 'ret_jsb' definition 'ret_sb'. e2fsprogs-1.47.2-rc1/lib/ext2fs/mkjournal.c:493:83: style:inconclusive: Function 'ext2fs_add_journal_inode3' argument 2 names different: declaration 'params' definition 'jparams'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1775:39: note: Function 'ext2fs_add_journal_inode3' argument 2 names different: declaration 'params' definition 'jparams'. e2fsprogs-1.47.2-rc1/lib/ext2fs/mkjournal.c:493:83: note: Function 'ext2fs_add_journal_inode3' argument 2 names different: declaration 'params' definition 'jparams'. e2fsprogs-1.47.2-rc1/lib/ext2fs/mkjournal.c:47:39: style: Parameter 'jparams' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/mkjournal.c:102:59: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/kernel-list.h:81:52: style: Parameter 'head' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/newdir.c:40:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/newdir.c:106:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:340:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_WRITE_PROTECT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:410:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:505:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OpenedReadonly [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:537:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_DEVICE_FILE_SYSTEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:553:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_DEVICE_FILE_SYSTEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:564:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_DEVICE_FILE_SYSTEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:581:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_DEVICE_FILE_SYSTEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:767:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARTITION_INFORMATION [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:830:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:931:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:951:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:964:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:977:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS_SUCCESS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1000:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1036:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1086:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_DEVICE_NAME [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1229:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1269:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1311:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1391:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1465:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1136:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: NtData [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1106:36: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1106:12: note: Assignment 'NtData=(struct _NT_PRIVATE_DATA*)malloc(sizeof(struct _NT_PRIVATE_DATA))', assigned value is 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1136:3: note: Null pointer dereference e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1137:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: NtData [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1106:36: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1106:12: note: Assignment 'NtData=(struct _NT_PRIVATE_DATA*)malloc(sizeof(struct _NT_PRIVATE_DATA))', assigned value is 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1137:3: note: Null pointer dereference e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1138:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: NtData [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1106:36: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1106:12: note: Assignment 'NtData=(struct _NT_PRIVATE_DATA*)malloc(sizeof(struct _NT_PRIVATE_DATA))', assigned value is 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1138:3: note: Null pointer dereference e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1139:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: NtData [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1106:36: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1106:12: note: Assignment 'NtData=(struct _NT_PRIVATE_DATA*)malloc(sizeof(struct _NT_PRIVATE_DATA))', assigned value is 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1139:3: note: Null pointer dereference e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1139:27: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: NtData [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1106:36: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1106:12: note: Assignment 'NtData=(struct _NT_PRIVATE_DATA*)malloc(sizeof(struct _NT_PRIVATE_DATA))', assigned value is 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1139:27: note: Null pointer dereference e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1141:15: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: NtData [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1106:36: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1106:12: note: Assignment 'NtData=(struct _NT_PRIVATE_DATA*)malloc(sizeof(struct _NT_PRIVATE_DATA))', assigned value is 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1141:15: note: Null pointer dereference e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1231:2: warning: Either the condition 'NULL!=NtData' is redundant or there is possible null pointer dereference: NtData. [nullPointerRedundantCheck] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1241:11: note: Assuming that condition 'NULL!=NtData' is not redundant e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1231:2: note: Null pointer dereference e2fsprogs-1.47.2-rc1/lib/ext2fs/openfs.c:126:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group_block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/openfs.c:561:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_NOT_IMAGE_FILE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/openfs.c:571:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_NOT_IMAGE_FILE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/openfs.c:581:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_NOT_IMAGE_FILE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1302:28: style:inconclusive: Function 'nt_read_blk' argument 4 names different: declaration 'data' definition 'buf'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:227:28: note: Function 'nt_read_blk' argument 4 names different: declaration 'data' definition 'buf'. e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1302:28: note: Function 'nt_read_blk' argument 4 names different: declaration 'data' definition 'buf'. e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1384:28: style:inconclusive: Function 'nt_write_blk' argument 4 names different: declaration 'data' definition 'buf'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:229:28: note: Function 'nt_write_blk' argument 4 names different: declaration 'data' definition 'buf'. e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1384:28: note: Function 'nt_write_blk' argument 4 names different: declaration 'data' definition 'buf'. e2fsprogs-1.47.2-rc1/lib/ext2fs/openfs.c:136:9: style: Variable 'time_env' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/orphan.c:22:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/orphan.c:51:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/orphan.c:83:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable new_blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/orphan.c:124:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/orphan.c:240:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/progress.c:67:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/progress.c:90:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/progress.c:99:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/progress.c:74:49: style: Parameter 'progress' can be declared as pointer to const. However it seems that 'ext2fs_numeric_progress_update' is a callback function, if 'progress' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/lib/ext2fs/progress.c:24:13: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/lib/ext2fs/progress.c:74:49: note: Parameter 'progress' can be declared as pointer to const e2fsprogs-1.47.2-rc1/lib/ext2fs/progress.c:94:48: style: Parameter 'progress' can be declared as pointer to const. However it seems that 'ext2fs_numeric_progress_close' is a callback function, if 'progress' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/lib/ext2fs/progress.c:25:12: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/lib/ext2fs/progress.c:94:48: note: Parameter 'progress' can be declared as pointer to const e2fsprogs-1.47.2-rc1/lib/ext2fs/qcow2.c:92:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk64_t [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/qcow2.c:125:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/qcow2.c:144:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/qcow2.c:216:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/nls_utf8.c:913:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENAMETOOLONG [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/qcow2.c:116:57: style: Parameter 'img' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/qcow2.c:157:38: portability: 'ptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/qcow2.c:193:23: warning: Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 191. [shiftTooManyBitsSigned] e2fsprogs-1.47.2-rc1/lib/ext2fs/qcow2.c:191:47: note: Assuming that condition 'img.cluster_bits>31' is not redundant e2fsprogs-1.47.2-rc1/lib/ext2fs/qcow2.c:193:23: note: Shift e2fsprogs-1.47.2-rc1/lib/ext2fs/punch.c:82:9: error: Syntax Error: AST broken, 'fs' doesn't have a parent. [internalAstError] e2fsprogs-1.47.2-rc1/lib/ext2fs/rbtree.c:234:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_left [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/read_bb.c:49:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blockcnt [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/read_bb.c:70:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable numblocks [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/rbtree.c:362:69: style:inconclusive: Function 'ext2fs_rb_replace_node' argument 2 names different: declaration 'new_' definition 'new'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/rbtree.h:166:76: note: Function 'ext2fs_rb_replace_node' argument 2 names different: declaration 'new_' definition 'new'. e2fsprogs-1.47.2-rc1/lib/ext2fs/rbtree.c:362:69: note: Function 'ext2fs_rb_replace_node' argument 2 names different: declaration 'new_' definition 'new'. e2fsprogs-1.47.2-rc1/lib/ext2fs/nls_utf8.c:990:16: style:inconclusive: Function 'ext2fs_check_encoded_name' argument 2 names different: declaration 's' definition 'name'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1742:16: note: Function 'ext2fs_check_encoded_name' argument 2 names different: declaration 's' definition 'name'. e2fsprogs-1.47.2-rc1/lib/ext2fs/nls_utf8.c:990:16: note: Function 'ext2fs_check_encoded_name' argument 2 names different: declaration 's' definition 'name'. e2fsprogs-1.47.2-rc1/lib/ext2fs/read_bb_file.c:47:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/read_bb_file.c:90:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/res_gdt.c:90:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dindir_blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/res_gdt.c:85:27: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/rw_bitmaps.c:55:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/rw_bitmaps.c:185:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/rw_bitmaps.c:237:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/rw_bitmaps.c:289:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/rw_bitmaps.c:536:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/rw_bitmaps.c:457:7: style: Condition 'retval' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/ext2fs/rw_bitmaps.c:456:39: note: Calling function 'mark_uninit_bg_group_blocks' returns 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/rw_bitmaps.c:456:39: note: Assignment 'retval=mark_uninit_bg_group_blocks(fs)', assigned value is 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/rw_bitmaps.c:457:7: note: Condition 'retval' is always false e2fsprogs-1.47.2-rc1/lib/ext2fs/rw_bitmaps.c:220:46: style: Parameter 'bitmap' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/sparse_io.c:19:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_UNIMPLEMENTED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/sparse_io.c:23:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_UNIMPLEMENTED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/sparse_io.c:17:21: style: Parameter 'channel' can be declared as pointer to const. However it seems that 'sparse_open' is a callback function, if 'channel' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/lib/ext2fs/sparse_io.c:34:12: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/lib/ext2fs/sparse_io.c:17:21: note: Parameter 'channel' can be declared as pointer to const e2fsprogs-1.47.2-rc1/lib/ext2fs/swapfs.c:136:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __le32 [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/swapfs.c:179:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __u32 [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/swapfs.c:331:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __u16 [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/swapfs.c:439:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_DIR_CORRUPTED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/swapfs.c:476:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_DIR_CORRUPTED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/symlink.c:52:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scratch_ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/symlink.c:169:16: style: The if condition is the same as the previous if condition [duplicateCondition] e2fsprogs-1.47.2-rc1/lib/ext2fs/symlink.c:155:16: note: First condition e2fsprogs-1.47.2-rc1/lib/ext2fs/symlink.c:169:16: note: Second condition e2fsprogs-1.47.2-rc1/lib/ext2fs/tdbtool.c:192:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdbtool.c:201:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdbtool.c:321:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdbtool.c:385:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/swapfs.c:25:50: style:inconclusive: Function 'ext2fs_swap_super' argument 1 names different: declaration 'super' definition 'sb'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1898:57: note: Function 'ext2fs_swap_super' argument 1 names different: declaration 'super' definition 'sb'. e2fsprogs-1.47.2-rc1/lib/ext2fs/swapfs.c:25:50: note: Function 'ext2fs_swap_super' argument 1 names different: declaration 'super' definition 'sb'. e2fsprogs-1.47.2-rc1/lib/ext2fs/swapfs.c:189:35: style:inconclusive: Function 'ext2fs_swap_ext_attr_header' argument 2 names different: declaration 'from_hdr' definition 'from_header'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/ext2fs.h:1895:35: note: Function 'ext2fs_swap_ext_attr_header' argument 2 names different: declaration 'from_hdr' definition 'from_header'. e2fsprogs-1.47.2-rc1/lib/ext2fs/swapfs.c:189:35: note: Function 'ext2fs_swap_ext_attr_header' argument 2 names different: declaration 'from_hdr' definition 'from_header'. e2fsprogs-1.47.2-rc1/lib/ext2fs/swapfs.c:219:8: style: Variable 'from_end' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/swapfs.c:418:13: style: Variable 'end' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/swapfs.c:462:13: style: Variable 'end' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdbtool.c:295:58: style: Parameter 'tdbname' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdbtool.c:365:37: style: Parameter 'the_tdb' can be declared as pointer to const. However it seems that 'traverse_fn' is a callback function, if 'the_tdb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdbtool.c:375:33: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/lib/ext2fs/tdbtool.c:365:37: note: Parameter 'the_tdb' can be declared as pointer to const e2fsprogs-1.47.2-rc1/lib/ext2fs/tdbtool.c:365:81: style: Parameter 'state' can be declared as pointer to const. However it seems that 'traverse_fn' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdbtool.c:375:33: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/lib/ext2fs/tdbtool.c:365:81: note: Parameter 'state' can be declared as pointer to const e2fsprogs-1.47.2-rc1/lib/ext2fs/tdbtool.c:425:17: style: Variable 'ctp' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdbtool.c:538:18: style: Variable 'inp' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:353:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:398:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:422:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:488:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_SETLKW [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:499:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_SETLK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:517:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:599:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_SETLKW [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:656:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_SETLKW [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:695:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:714:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:720:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:732:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:750:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:757:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:765:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:771:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:777:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:782:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:787:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:792:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:905:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:937:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:1038:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:1070:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:1160:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:1646:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:1818:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable recovery_start [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:1980:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable magic [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:2160:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable recovery_start [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:2346:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:2512:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:2608:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:2838:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:2863:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:2892:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:2945:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:3006:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:3039:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:3094:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sequence_number [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:3214:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:3253:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:3275:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:3353:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:3396:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:3490:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:3622:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:3698:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sequence_number [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:3845:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:4107:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/test_io.c:111:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/test_io.c:147:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_DEVICE_NAME [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/test_io.c:232:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/test_io.c:257:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/test_io.c:282:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/test_io.c:309:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/test_io.c:336:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/test_io.c:363:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/test_io.c:390:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/test_io.c:411:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/test_io.c:437:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/test_io.c:453:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/test_io.c:473:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/test_io.c:492:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:80:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vec [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:97:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:126:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vec [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:144:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vec [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:180:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:210:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:228:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:282:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable et_ext2_error_table [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/test_io.c:144:9: style: Variable 'value' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:227:9: warning: If memory allocation fails, then there is a possible null pointer dereference: fs [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:226:13: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:226:13: note: Assignment 'fs=malloc(sizeof(struct struct_ext2_filsys))', assigned value is 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:227:9: note: Null pointer dereference e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:228:2: warning: If memory allocation fails, then there is a possible null pointer dereference: fs [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:226:13: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:226:13: note: Assignment 'fs=malloc(sizeof(struct struct_ext2_filsys))', assigned value is 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:228:2: note: Null pointer dereference e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:229:2: warning: If memory allocation fails, then there is a possible null pointer dereference: fs [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:226:13: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:226:13: note: Assignment 'fs=malloc(sizeof(struct struct_ext2_filsys))', assigned value is 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:229:2: note: Null pointer dereference e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:230:9: warning: If memory allocation fails, then there is a possible null pointer dereference: fs [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:226:13: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:226:13: note: Assignment 'fs=malloc(sizeof(struct struct_ext2_filsys))', assigned value is 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:230:9: note: Null pointer dereference e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:231:2: warning: If memory allocation fails, then there is a possible null pointer dereference: fs [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:226:13: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:226:13: note: Assignment 'fs=malloc(sizeof(struct struct_ext2_filsys))', assigned value is 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:231:2: note: Null pointer dereference e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:232:26: warning: If memory allocation fails, then there is a possible null pointer dereference: fs [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:226:13: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:226:13: note: Assignment 'fs=malloc(sizeof(struct struct_ext2_filsys))', assigned value is 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_badblocks.c:232:26: note: Null pointer dereference e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_bitmaps.c:47:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_bitmaps.c:111:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_bitmaps.c:164:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_io_manager [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_bitmaps.c:207:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_bitmaps.c:422:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_bitmaps.c:457:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_bitmaps.c:590:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_bitmaps.c:625:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_bitmaps.c:675:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable et_ss_error_table [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_bitops.c:106:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_bitmaps.c:427:24: style: Condition 'argc!=3' is always true [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_bitmaps.c:462:24: style: Condition 'argc!=3' is always true [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_bitmaps.c:595:24: style: Condition 'argc!=3' is always true [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_bitmaps.c:630:24: style: Condition 'argc!=3' is always true [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_bitmaps.c:427:16: style: Same expression on both sides of '&&'. [duplicateExpression] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_bitmaps.c:462:16: style: Same expression on both sides of '&&'. [duplicateExpression] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_bitmaps.c:595:16: style: Same expression on both sides of '&&'. [duplicateExpression] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_bitmaps.c:630:16: style: Same expression on both sides of '&&'. [duplicateExpression] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_bitmaps.c:671:9: style: Variable 'cmd_file' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_getsectsize.c:36:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:877:22: style: Condition 'tdb_munmap(tdb)==-1' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:877:16: note: Calling function 'tdb_munmap' returns 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:877:22: note: Condition 'tdb_munmap(tdb)==-1' is always false e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:4106:22: style: Condition 'tdb_munmap(tdb)!=0' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:4106:16: note: Calling function 'tdb_munmap' returns 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:4106:22: note: Condition 'tdb_munmap(tdb)!=0' is always false e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:2981:2: portability: %d in format string (no. 4) requires 'int' but the argument type is 'tdb_len_t {aka unsigned int}'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:2981:2: portability: %d in format string (no. 5) requires 'int' but the argument type is 'tdb_len_t {aka unsigned int}'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:2981:2: portability: %d in format string (no. 6) requires 'int' but the argument type is 'tdb_len_t {aka unsigned int}'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:3064:3: portability: %d in format string (no. 3) requires 'int' but the argument type is 'tdb_len_t {aka unsigned int}'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:3766:3: style: Redundant pointer operation on 'newdb' - it's already a pointer. [redundantPointerOp] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:2908:56: style:inconclusive: Function 'ext2fs_tdb_nextkey' argument 2 names different: declaration 'key' definition 'oldkey'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.h:169:56: note: Function 'ext2fs_tdb_nextkey' argument 2 names different: declaration 'key' definition 'oldkey'. e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:2908:56: note: Function 'ext2fs_tdb_nextkey' argument 2 names different: declaration 'key' definition 'oldkey'. e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:303:46: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:322:46: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:1535:61: style: Parameter 'tdb' can be declared as pointer to const. However it seems that 'transaction_next_hash_chain' is a callback function, if 'tdb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:1590:2: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:1535:61: note: Parameter 'tdb' can be declared as pointer to const e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:1577:51: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:1789:56: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:3120:13: style: Parameter 'private_data' can be declared as pointer to const. However it seems that 'tdb_key_compare' is a callback function, if 'private_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:3144:23: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:3120:13: note: Parameter 'private_data' can be declared as pointer to const e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:3659:42: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:3669:32: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:3708:41: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:3713:39: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:3825:45: style: Parameter 'tdb' can be declared as pointer to const. However it seems that 'null_log_fn' is a callback function, if 'tdb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:3857:21: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:3825:45: note: Parameter 'tdb' can be declared as pointer to const e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:3840:17: style: Variable 'vp' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:4171:35: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_inode_size.c:42:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:3004:8: warning: Expression 'i' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:3029:23: note: Calling function 'tdb_dump_chain', 2nd argument '-1' value is -1 e2fsprogs-1.47.2-rc1/lib/ext2fs/tdb.c:3004:8: note: Negative value is converted to an unsigned value e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_getsize.c:32:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blocks [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_iscan.c:83:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_io_cb_read_blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_iscan.c:146:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_iscan.c:181:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_super_size.c:45:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_types.c:21:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __u8 [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_iscan.c:211:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_libext2fs.c:40:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blockcnt [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_libext2fs.c:51:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ino [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_libext2fs.c:38:15: style: Parameter 'private' can be declared as pointer to const. However it seems that 'print_blocks_proc' is a callback function, if 'private' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_libext2fs.c:70:10: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/lib/ext2fs/tst_libext2fs.c:38:15: note: Parameter 'private' can be declared as pointer to const e2fsprogs-1.47.2-rc1/lib/ext2fs/undo_io.c:182:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_NO_MEMORY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/undo_io.c:283:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_BLOCK_BITMAP64 [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/undo_io.c:405:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_SHORT_READ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/undo_io.c:518:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable super_block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/undo_io.c:552:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable super_block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/undo_io.c:702:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IO_FLAG_THREADS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/undo_io.c:805:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/undo_io.c:840:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/undo_io.c:864:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/undo_io.c:886:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/undo_io.c:915:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/undo_io.c:945:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/undo_io.c:972:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/undo_io.c:999:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/undo_io.c:1017:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/undo_io.c:1035:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/undo_io.c:1079:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/unix_io.c:166:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/unix_io.c:202:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IO_FLAG_FORCE_BOUNCE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/unix_io.c:341:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IO_FLAG_FORCE_BOUNCE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/unix_io.c:490:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IO_FLAG_FORCE_BOUNCE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/unix_io.c:703:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IO_FLAG_FORCE_BOUNCE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/unix_io.c:904:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unixfd_io_manager [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/unix_io.c:914:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_DEVICE_NAME [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/unix_io.c:940:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/unix_io.c:974:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/unix_io.c:1007:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/unix_io.c:1112:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/unix_io.c:1201:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_OP_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/unix_io.c:1218:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/unix_io.c:1257:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/unix_io.c:1279:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/unix_io.c:1320:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/unix_io.c:1387:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/unix_io.c:1402:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/unlink.c:78:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_EXT2FS_FILSYS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/undo_io.c:764:10: style: The if condition is the same as the previous if condition [duplicateCondition] e2fsprogs-1.47.2-rc1/lib/ext2fs/undo_io.c:756:10: note: First condition e2fsprogs-1.47.2-rc1/lib/ext2fs/undo_io.c:764:10: note: Second condition e2fsprogs-1.47.2-rc1/lib/ext2fs/undo_io.c:582:6: style: Condition '!blocksize' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/ext2fs/undo_io.c:581:16: note: Assuming that condition 'blocksize<1024' is not redundant e2fsprogs-1.47.2-rc1/lib/ext2fs/undo_io.c:582:6: note: Condition '!blocksize' is always false e2fsprogs-1.47.2-rc1/lib/ext2fs/undo_io.c:177:41: style: Parameter 'file_name' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/undo_io.c:483:15: style: Parameter 'data' can be declared as pointer to const. However it seems that 'undo_io_read_error' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/lib/ext2fs/undo_io.c:494:24: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/lib/ext2fs/undo_io.c:483:15: note: Parameter 'data' can be declared as pointer to const e2fsprogs-1.47.2-rc1/lib/ext2fs/unix_io.c:621:13: style: Condition 'cache->write_err' is always true [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/ext2fs/unix_io.c:618:26: note: Assuming that condition '!cache->write_err' is not redundant e2fsprogs-1.47.2-rc1/lib/ext2fs/unix_io.c:621:13: note: Condition 'cache->write_err' is always true e2fsprogs-1.47.2-rc1/lib/ext2fs/unix_io.c:1329:2: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] e2fsprogs-1.47.2-rc1/lib/ext2fs/unix_io.c:1340:4: note: Found duplicate branches for 'if' and 'else'. e2fsprogs-1.47.2-rc1/lib/ext2fs/unix_io.c:1329:2: note: Found duplicate branches for 'if' and 'else'. e2fsprogs-1.47.2-rc1/lib/ext2fs/unix_io.c:140:57: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/unix_io.c:150:59: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/unix_io.c:1319:28: style: Variable 'data' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/unix_io.c:1399:28: style: Variable 'data' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/unix_io.c:885:6: style: Unused variable: fd_flags [unusedVariable] e2fsprogs-1.47.2-rc1/lib/fpopen.c:47:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/windows_io.c:122:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/windows_io.c:137:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DDD_RAW_TARGET_PATH [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/windows_io.c:147:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/windows_io.c:184:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IO_FLAG_FORCE_BOUNCE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/windows_io.c:271:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IO_FLAG_FORCE_BOUNCE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/windows_io.c:373:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IO_FLAG_FORCE_BOUNCE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/windows_io.c:489:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable struct_io_channel [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/windows_io.c:571:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_READ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/windows_io.c:621:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/windows_io.c:632:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_DEVICE_NAME [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/windows_io.c:659:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/windows_io.c:691:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/windows_io.c:717:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/windows_io.c:805:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/windows_io.c:853:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_OP_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/windows_io.c:865:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_UNIMPLEMENTED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/windows_io.c:876:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/windows_io.c:894:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/windows_io.c:917:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_UNIMPLEMENTED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/windows_io.c:931:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/windows_io.c:973:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_BINARY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/write_bb_file.c:23:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/fpopen.c:40:14: style: Variable 'prog' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ss/error.c:26:23: style: Variable 'infop' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ss/execute_cmd.c:99:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable command_names [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ss/execute_cmd.c:144:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SS_ET_COMMAND_NOT_FOUND [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ss/execute_cmd.c:173:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ss/execute_cmd.c:209:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SS_ET_ESCAPE_DISABLED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ss/execute_cmd.c:93:11: style: Variable 'string' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ss/execute_cmd.c:136:23: style: Variable 'info' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ss/help.c:71:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SS_ET_NO_INFO_DIR [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ss/help.c:140:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SS_ET_NO_INFO_DIR [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ss/help.c:184:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SS_ET_NO_INFO_DIR [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ss/invocation.c:110:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ss/help.c:44:23: style: Variable 'info' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ss/help.c:168:44: style: Parameter 'info_dir' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ss/list_rqs.c:43:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ss/list_rqs.c:54:9: error: Resource handle 'fd' freed twice. [doubleFree] e2fsprogs-1.47.2-rc1/lib/ss/list_rqs.c:51:14: note: Resource handle 'fd' freed twice. e2fsprogs-1.47.2-rc1/lib/ss/list_rqs.c:54:9: note: Resource handle 'fd' freed twice. e2fsprogs-1.47.2-rc1/lib/ss/list_rqs.c:26:13: style:inconclusive: Function 'ss_list_requests' argument 3 names different: declaration 'sci_idex' definition 'sci_idx'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/ss/ss_internal.h:89:53: note: Function 'ss_list_requests' argument 3 names different: declaration 'sci_idex' definition 'sci_idx'. e2fsprogs-1.47.2-rc1/lib/ss/list_rqs.c:26:13: note: Function 'ss_list_requests' argument 3 names different: declaration 'sci_idex' definition 'sci_idx'. e2fsprogs-1.47.2-rc1/lib/ss/listen.c:37:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ss/listen.c:44:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ss/listen.c:53:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable old_sig_cont [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ss/pager.c:117:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ss/pager.c:135:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ss/parse.c:54:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ext2fs/windows_io.c:928:31: style: Variable 'data' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ext2fs/windows_io.c:564:12: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/lib/ss/request_tbl.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ss/request_tbl.c:57:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SS_ET_TABLE_NOT_FOUND [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ss/requests.c:65:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SS_ET_UNIMPLEMENTED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ss/requests.c:28:28: style: Parameter 'infop' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ss/requests.c:30:24: style: Variable 'info' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ss/requests.c:41:16: style: Parameter 'infop' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ss/requests.c:52:12: style: Parameter 'infop' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ss/requests.c:63:28: style: Parameter 'infop' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/ss/request_tbl.c:54:24: style: Variable 'info' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/ss/test_ss.c:45:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ss/test_ss.c:92:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ss/test_ss.c:148:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/ss/test_ss.c:88:9: style: Variable 'cmd_file' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/support/devname.c:53:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/mkquota.c:448:38: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/lib/support/mkquota.c:390:35: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/lib/support/mkquota.c:419:35: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/lib/support/mkquota.c:62:55: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/lib/support/mkquota.c:239:59: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/lib/support/mkquota.c:283:36: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/lib/support/mkquota.c:79:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/mkquota.c:130:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_inode [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/mkquota.c:221:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_SUPER_ONLY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/mkquota.c:257:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_GOOD_OLD_INODE_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/mkquota.c:270:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_GOOD_OLD_INODE_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/mkquota.c:355:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/mkquota.c:375:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/mkquota.c:488:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/mkquota.c:554:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/mkquota.c:662:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/mkquota.c:689:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/cstring.c:23:10: style: Variable 'to' is reassigned a value before the old one has been used. [redundantAssignment] e2fsprogs-1.47.2-rc1/lib/support/cstring.c:21:5: note: to is assigned e2fsprogs-1.47.2-rc1/lib/support/cstring.c:23:10: note: to is overwritten e2fsprogs-1.47.2-rc1/lib/support/cstring.c:23:17: style: Variable 'from' is reassigned a value before the old one has been used. [redundantAssignment] e2fsprogs-1.47.2-rc1/lib/support/cstring.c:21:12: note: from is assigned e2fsprogs-1.47.2-rc1/lib/support/cstring.c:23:17: note: from is overwritten e2fsprogs-1.47.2-rc1/lib/support/dict.c:473:14: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/support/dict.c:878:14: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/support/dict.c:894:14: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/support/dict.c:912:14: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/support/dict.c:938:14: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/support/dict.c:969:32: style: Parameter 'dict' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/support/dict.c:974:26: style: Parameter 'dict' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/support/dict.c:979:25: style: Parameter 'dict' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/support/dict.c:1026:26: style: Parameter 'dnode' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/support/dict.c:1031:35: style: Parameter 'dnode' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/support/mkquota.c:390:35: style:inconclusive: Function 'quota_data_add' argument 3 names different: declaration 'ino' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/support/quotaio.h:222:18: note: Function 'quota_data_add' argument 3 names different: declaration 'ino' definition 'unused'. e2fsprogs-1.47.2-rc1/lib/support/mkquota.c:390:35: note: Function 'quota_data_add' argument 3 names different: declaration 'ino' definition 'unused'. e2fsprogs-1.47.2-rc1/lib/support/mkquota.c:419:35: style:inconclusive: Function 'quota_data_sub' argument 3 names different: declaration 'ino' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/support/quotaio.h:224:18: note: Function 'quota_data_sub' argument 3 names different: declaration 'ino' definition 'unused'. e2fsprogs-1.47.2-rc1/lib/support/mkquota.c:419:35: note: Function 'quota_data_sub' argument 3 names different: declaration 'ino' definition 'unused'. e2fsprogs-1.47.2-rc1/lib/support/mkquota.c:448:38: style:inconclusive: Function 'quota_data_inodes' argument 3 names different: declaration 'ino' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/support/quotaio.h:220:21: note: Function 'quota_data_inodes' argument 3 names different: declaration 'ino' definition 'unused'. e2fsprogs-1.47.2-rc1/lib/support/mkquota.c:448:38: note: Function 'quota_data_inodes' argument 3 names different: declaration 'ino' definition 'unused'. e2fsprogs-1.47.2-rc1/lib/support/mkquota.c:582:21: style:inconclusive: Function 'quota_read_all_dquots' argument 3 names different: declaration 'type' definition 'qtype'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/support/quotaio.h:230:21: note: Function 'quota_read_all_dquots' argument 3 names different: declaration 'type' definition 'qtype'. e2fsprogs-1.47.2-rc1/lib/support/mkquota.c:582:21: note: Function 'quota_read_all_dquots' argument 3 names different: declaration 'type' definition 'qtype'. e2fsprogs-1.47.2-rc1/lib/support/mkquota.c:631:16: style: Variable 'dq' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/support/parse_qtype.c:30:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/plausible.c:164:66: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/lib/support/plausible.c:105:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_64BITS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/plausible.c:177:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/parse_qtype.c:36:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/support/profile_helpers.c:59:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/profile_helpers.c:99:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/profile_helpers.c:167:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROF_NO_RELATION [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/profile_helpers.c:287:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/plausible.c:279:11: style: Condition 'ret>=0' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/support/plausible.c:278:30: note: Calling function 'check_partition_table' returns -1 e2fsprogs-1.47.2-rc1/lib/support/plausible.c:278:30: note: Assignment 'ret=check_partition_table(device)', assigned value is -1 e2fsprogs-1.47.2-rc1/lib/support/plausible.c:279:11: note: Condition 'ret>=0' is always false e2fsprogs-1.47.2-rc1/lib/support/plausible.c:113:4: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum] e2fsprogs-1.47.2-rc1/lib/support/profile_helpers.c:269:32: style:inconclusive: Function 'profile_init_path' argument 1 names different: declaration 'filelist' definition 'filepath'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/support/profile_helpers.h:27:16: note: Function 'profile_init_path' argument 1 names different: declaration 'filelist' definition 'filepath'. e2fsprogs-1.47.2-rc1/lib/support/profile_helpers.c:269:32: note: Function 'profile_init_path' argument 1 names different: declaration 'filelist' definition 'filepath'. e2fsprogs-1.47.2-rc1/lib/support/quotaio.c:57:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_USR_QUOTA_INO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/quotaio.c:128:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_SUPER_ONLY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/quotaio.c:148:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/quotaio.c:172:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/quotaio.c:198:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/quotaio.c:279:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/quotaio.c:332:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_INODE_NUM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/quotaio.c:388:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/quotaio.c:409:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/profile.c:255:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/profile.c:314:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/profile.c:375:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROF_MAGIC_PROFILE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/profile.c:401:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROF_MAGIC_PROFILE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/profile.c:474:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/profile.c:579:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/profile.c:701:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROF_MISSING_OBRACE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/profile.c:1056:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROF_MAGIC_NODE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/profile.c:1094:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/profile.c:1157:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROF_MAGIC_NODE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/profile.c:1212:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROF_MAGIC_NODE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/profile.c:1291:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROF_NO_PROFILE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/profile.c:1324:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROF_MAGIC_ITERATOR [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/profile.c:1346:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROF_MAGIC_ITERATOR [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/profile.c:1494:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROF_NO_RELATION [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/profile.c:1512:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROF_NO_SECTION [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/profile.c:1543:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROF_NO_SECTION [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/profile.c:1585:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROF_NO_SECTION [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/profile.c:1625:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROF_NO_SECTION [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/profile.c:1664:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROF_EINVAL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/profile.c:1696:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROF_NO_SECTION [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/profile.c:1719:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/quotaio_tree.c:27:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/quotaio_tree.c:69:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/quotaio_tree.c:81:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/quotaio_tree.c:97:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/quotaio_tree.c:206:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/quotaio_tree.c:264:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/quotaio_tree.c:310:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/quotaio_tree.c:328:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/quotaio_tree.c:365:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/quotaio_tree.c:454:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/quotaio_tree.c:480:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/quotaio_tree.c:533:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/quotaio_tree.c:546:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/quotaio.c:189:41: style:inconclusive: Function 'quota_file_open' argument 4 names different: declaration 'type' definition 'qtype'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/support/quotaio.h:189:41: note: Function 'quota_file_open' argument 4 names different: declaration 'type' definition 'qtype'. e2fsprogs-1.47.2-rc1/lib/support/quotaio.c:189:41: note: Function 'quota_file_open' argument 4 names different: declaration 'type' definition 'qtype'. e2fsprogs-1.47.2-rc1/lib/support/quotaio.c:138:60: style: Parameter 'qf' can be declared as pointer to const. However it seems that 'quota_write_nomount' is a callback function, if 'qf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/lib/support/quotaio.c:346:18: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/lib/support/quotaio.c:138:60: note: Parameter 'qf' can be declared as pointer to const e2fsprogs-1.47.2-rc1/lib/support/quotaio.c:162:59: style: Parameter 'qf' can be declared as pointer to const. However it seems that 'quota_read_nomount' is a callback function, if 'qf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/lib/support/quotaio.c:347:17: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/lib/support/quotaio.c:162:59: note: Parameter 'qf' can be declared as pointer to const e2fsprogs-1.47.2-rc1/lib/support/quotaio_v2.c:384:58: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/lib/support/quotaio_v2.c:226:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/quotaio_v2.c:273:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/quotaio_v2.c:387:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/quotaio_v2.c:384:58: style:inconclusive: Function 'v2_report' argument 1 names different: declaration 'h' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/support/quotaio_v2.c:31:43: note: Function 'v2_report' argument 1 names different: declaration 'h' definition 'unused'. e2fsprogs-1.47.2-rc1/lib/support/quotaio_v2.c:384:58: note: Function 'v2_report' argument 1 names different: declaration 'h' definition 'unused'. e2fsprogs-1.47.2-rc1/lib/support/quotaio_v2.c:215:6: style: Variable 'file_magics' can be declared as const array [constVariable] e2fsprogs-1.47.2-rc1/lib/support/quotaio_v2.c:242:24: style: Variable 'info' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/support/quotaio_v2.c:363:21: style: Variable 'b' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/support/quotaio_tree.c:451:21: warning: Either the condition '!buf' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] e2fsprogs-1.47.2-rc1/lib/support/quotaio_tree.c:453:6: note: Assuming that condition '!buf' is not redundant e2fsprogs-1.47.2-rc1/lib/support/quotaio_tree.c:451:21: note: Null pointer addition e2fsprogs-1.47.2-rc1/lib/support/quotaio_tree.c:35:49: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/support/quotaio_tree.c:35:61: style: Parameter 'disk' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/support/quotaio_tree.c:45:49: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/support/quotaio_tree.c:543:49: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/support/quotaio_tree.c:648:41: style: Parameter 'bmp' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/support/quotaio_tree.c:666:27: style: Variable 'info' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/uuid/gen_uuid.c:124:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/uuid/gen_uuid.c:317:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/uuid/gen_uuid.c:657:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uuid_t [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/uuid/gen_uuid.c:143:3: warning: Return value of function rand() is not used. [ignoredReturnValue] e2fsprogs-1.47.2-rc1/lib/uuid/gen_uuid.c:575:28: style: Condition 'get_node_id(node_id)<=0' is always true [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/lib/uuid/gen_uuid.c:575:18: note: Calling function 'get_node_id' returns 0 e2fsprogs-1.47.2-rc1/lib/uuid/gen_uuid.c:575:28: note: Condition 'get_node_id(node_id)<=0' is always true e2fsprogs-1.47.2-rc1/lib/uuid/gen_uuid.c:322:5: error: Resource handle 'state_fd' freed twice. [doubleFree] e2fsprogs-1.47.2-rc1/lib/uuid/gen_uuid.c:320:14: note: Resource handle 'state_fd' freed twice. e2fsprogs-1.47.2-rc1/lib/uuid/gen_uuid.c:322:5: note: Resource handle 'state_fd' freed twice. e2fsprogs-1.47.2-rc1/lib/uuid/gen_uuid.c:213:39: style: Parameter 'node_id' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/uuid/gen_uuid.c:299:38: style: Parameter 'num' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/uuid/gen_uuid.c:486:57: style: Parameter 'num' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/uuid/gen_uuid.c:638:45: style: Parameter 'num' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/lib/uuid/gen_uuid.c:650:20: error: Uninitialized variable: buf [uninitvar] e2fsprogs-1.47.2-rc1/lib/uuid/tst_uuid.c:87:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UUID_VARIANT_DCE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/uuid/tst_uuid.c:72:17: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/uuid/uuid_time.c:91:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UUID_VARIANT_NCS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/badblocks.c:250:47: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/badblocks.c:261:51: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/base_device.c:42:31: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/base_device.c:45:22: style: Variable 'disk' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/badblocks.c:243:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/badblocks.c:264:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/badblocks.c:286:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/badblocks.c:337:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/badblocks.c:387:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/badblocks.c:460:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/badblocks.c:519:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/badblocks.c:619:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/badblocks.c:777:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/badblocks.c:1005:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_MF_MOUNTED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/badblocks.c:1037:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/badblocks.c:1101:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/blkid.c:50:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/blkid.c:83:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/blkid.c:134:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/blkid.c:176:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/blkid.c:193:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/blkid.c:260:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/blkid.c:295:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/lib/support/profile.c:257:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] e2fsprogs-1.47.2-rc1/lib/support/profile.c:665:10: style: Variable 'to' is reassigned a value before the old one has been used. [redundantAssignment] e2fsprogs-1.47.2-rc1/lib/support/profile.c:663:5: note: to is assigned e2fsprogs-1.47.2-rc1/lib/support/profile.c:665:10: note: to is overwritten e2fsprogs-1.47.2-rc1/lib/support/profile.c:665:17: style: Variable 'from' is reassigned a value before the old one has been used. [redundantAssignment] e2fsprogs-1.47.2-rc1/lib/support/profile.c:663:12: note: from is assigned e2fsprogs-1.47.2-rc1/lib/support/profile.c:665:17: note: from is overwritten e2fsprogs-1.47.2-rc1/lib/support/profile.c:463:42: style:inconclusive: Function 'profile_open_file' argument 1 names different: declaration 'file' definition 'filespec'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/support/profile.c:205:16: note: Function 'profile_open_file' argument 1 names different: declaration 'file' definition 'filespec'. e2fsprogs-1.47.2-rc1/lib/support/profile.c:463:42: note: Function 'profile_open_file' argument 1 names different: declaration 'file' definition 'filespec'. e2fsprogs-1.47.2-rc1/lib/support/profile.c:610:35: style:inconclusive: Function 'profile_free_file' argument 1 names different: declaration 'profile' definition 'prf'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/support/profile.c:211:14: note: Function 'profile_free_file' argument 1 names different: declaration 'profile' definition 'prf'. e2fsprogs-1.47.2-rc1/lib/support/profile.c:610:35: note: Function 'profile_free_file' argument 1 names different: declaration 'profile' definition 'prf'. e2fsprogs-1.47.2-rc1/lib/support/profile.c:1052:45: style:inconclusive: Function 'profile_free_node' argument 1 names different: declaration 'relation' definition 'node'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/support/profile.c:178:24: note: Function 'profile_free_node' argument 1 names different: declaration 'relation' definition 'node'. e2fsprogs-1.47.2-rc1/lib/support/profile.c:1052:45: note: Function 'profile_free_node' argument 1 names different: declaration 'relation' definition 'node'. e2fsprogs-1.47.2-rc1/lib/support/profile.c:1531:49: style:inconclusive: Function 'profile_get_integer' argument 6 names different: declaration 'ret_default' definition 'ret_int'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/support/profile.h:74:9: note: Function 'profile_get_integer' argument 6 names different: declaration 'ret_default' definition 'ret_int'. e2fsprogs-1.47.2-rc1/lib/support/profile.c:1531:49: note: Function 'profile_get_integer' argument 6 names different: declaration 'ret_default' definition 'ret_int'. e2fsprogs-1.47.2-rc1/lib/support/profile.c:1613:54: style:inconclusive: Function 'profile_get_double' argument 6 names different: declaration 'ret_float' definition 'ret_double'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/support/profile.h:84:11: note: Function 'profile_get_double' argument 6 names different: declaration 'ret_float' definition 'ret_double'. e2fsprogs-1.47.2-rc1/lib/support/profile.c:1613:54: note: Function 'profile_get_double' argument 6 names different: declaration 'ret_float' definition 'ret_double'. e2fsprogs-1.47.2-rc1/lib/support/profile.c:1685:49: style:inconclusive: Function 'profile_get_boolean' argument 6 names different: declaration 'ret_default' definition 'ret_boolean'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/lib/support/profile.h:89:9: note: Function 'profile_get_boolean' argument 6 names different: declaration 'ret_default' definition 'ret_boolean'. e2fsprogs-1.47.2-rc1/lib/support/profile.c:1685:49: note: Function 'profile_get_boolean' argument 6 names different: declaration 'ret_default' definition 'ret_boolean'. e2fsprogs-1.47.2-rc1/lib/support/profile.c:246:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/support/profile.c:310:15: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/support/profile.c:468:9: style: Variable 'home_env' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/lib/support/profile.c:309:19: style: Variable 'retval' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/misc/blkid.c:122:1: style: Label 'got_it' is not used. [unusedLabel] e2fsprogs-1.47.2-rc1/misc/blkid.c:231:45: style: Parameter 'show' can be declared as const array [constParameter] e2fsprogs-1.47.2-rc1/misc/blkid.c:286:8: style: Variable 'write' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/blkid.c:175:6: style: Variable 'len' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/misc/check_fuzzer.c:28:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/chattr.c:206:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/chattr.c:234:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/chattr.c:298:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/chattr.c:331:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/create_inode.c:249:62: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/chattr.c:288:68: style: Parameter 'de' can be declared as pointer to const. However it seems that 'chattr_dir_proc' is a callback function, if 'de' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/misc/chattr.c:284:32: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/misc/chattr.c:288:68: note: Parameter 'de' can be declared as pointer to const e2fsprogs-1.47.2-rc1/misc/create_inode.c:49:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FT_REG_FILE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/create_inode.c:81:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/create_inode.c:113:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG2_USE_FAKE_TIME [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/create_inode.c:127:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/create_inode.c:271:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINUX_S_IFCHR [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/create_inode.c:370:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_DIR_NO_SPACE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/create_inode.c:408:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_DIR_NO_SPACE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/create_inode.c:452:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/create_inode.c:497:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/create_inode.c:588:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FILE_WRITE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/create_inode.c:647:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/create_inode.c:744:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_NO_MEMORY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/create_inode.c:828:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/create_inode.c:1062:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_RW [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/badblocks.c:145:6: style: Condition '!ret' is always true [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/misc/badblocks.c:130:14: note: Assignment 'ret=0', assigned value is 0 e2fsprogs-1.47.2-rc1/misc/badblocks.c:145:6: note: Condition '!ret' is always true e2fsprogs-1.47.2-rc1/misc/badblocks.c:616:23: warning: Either the condition '!buffer' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] e2fsprogs-1.47.2-rc1/misc/badblocks.c:618:6: note: Assuming that condition '!buffer' is not redundant e2fsprogs-1.47.2-rc1/misc/badblocks.c:616:23: note: Null pointer addition e2fsprogs-1.47.2-rc1/misc/create_inode_libarchive.c:548:45: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/create_inode_libarchive.c:553:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/create_inode_libarchive.c:548:45: style:inconclusive: Function '__populate_fs_from_tar' argument 5 names different: declaration 'hdlinks' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/misc/create_inode_libarchive.h:6:24: note: Function '__populate_fs_from_tar' argument 5 names different: declaration 'hdlinks' definition 'unused'. e2fsprogs-1.47.2-rc1/misc/create_inode_libarchive.c:548:45: note: Function '__populate_fs_from_tar' argument 5 names different: declaration 'hdlinks' definition 'unused'. e2fsprogs-1.47.2-rc1/misc/badblocks.c:208:12: style: Checking if unsigned expression 'total' is less than zero. [unsignedLessThanZero] e2fsprogs-1.47.2-rc1/misc/badblocks.c:188:47: style: Parameter 'tv1' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/badblocks.c:189:26: style: Parameter 'tv2' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/badblocks.c:298:50: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/badblocks.c:1070:7: style: Unused variable: sysval [unusedVariable] e2fsprogs-1.47.2-rc1/misc/dumpe2fs.c:100:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/dumpe2fs.c:114:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/dumpe2fs.c:128:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_BG_INODE_UNINIT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/dumpe2fs.c:183:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/dumpe2fs.c:356:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/dumpe2fs.c:370:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_IMAGE_FILE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/dumpe2fs.c:418:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JBD2_MAGIC_NUMBER [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/dumpe2fs.c:440:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MMP_FAILED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/dumpe2fs.c:484:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_OP_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/dumpe2fs.c:519:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/dumpe2fs.c:611:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable et_ext2_error_table [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2freefrag.c:53:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2freefrag.c:366:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_FORCE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2freefrag.c:399:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable et_ext2_error_table [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/create_inode.c:495:26: error: Invalid lseek() argument nr 3. The value is 3 but the valid values are '0:2'. [invalidFunctionArg] e2fsprogs-1.47.2-rc1/misc/create_inode.c:501:26: error: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] e2fsprogs-1.47.2-rc1/misc/create_inode.c:1055:22: style:inconclusive: Function 'populate_fs2' argument 3 names different: declaration 'source_dir' definition 'source'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/misc/create_inode.h:49:22: note: Function 'populate_fs2' argument 3 names different: declaration 'source_dir' definition 'source'. e2fsprogs-1.47.2-rc1/misc/create_inode.c:1055:22: note: Function 'populate_fs2' argument 3 names different: declaration 'source_dir' definition 'source'. e2fsprogs-1.47.2-rc1/misc/create_inode.c:1118:21: style:inconclusive: Function 'populate_fs' argument 3 names different: declaration 'source_dir' definition 'source'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/misc/create_inode.h:47:21: note: Function 'populate_fs' argument 3 names different: declaration 'source_dir' definition 'source'. e2fsprogs-1.47.2-rc1/misc/create_inode.c:1118:21: note: Function 'populate_fs' argument 3 names different: declaration 'source_dir' definition 'source'. e2fsprogs-1.47.2-rc1/misc/create_inode.c:435:12: style: Parameter 'zerobuf' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/create_inode.c:486:70: style: Parameter 'statbuf' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/create_inode.c:623:42: style: Parameter 'hdlinks' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/e2freefrag.c:274:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] e2fsprogs-1.47.2-rc1/misc/e2freefrag.c:388:8: style: Variable 'progname' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/e2freefrag.c:302:7: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] e2fsprogs-1.47.2-rc1/misc/e2fuzz.c:68:58: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/e2fuzz.c:50:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2fuzz.c:142:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_INLINE_DATA_FL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2fuzz.c:191:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2fuzz.c:338:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2image.c:326:62: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/e2image.c:340:67: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/e2image.c:351:62: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/e2image.c:375:58: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/e2image.c:393:59: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/e2image.c:564:52: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/e2image.c:190:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2image.c:216:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2image.c:244:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_image_hdr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2image.c:333:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_CALLBACK_NOTHANDLED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2image.c:344:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_CALLBACK_NOTHANDLED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2image.c:356:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_CALLBACK_NOTHANDLED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2image.c:384:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable priv_data [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2image.c:431:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_FEATURE_INCOMPAT_MMP [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2image.c:567:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2image.c:609:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2image.c:777:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __u64 [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2image.c:794:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_qcow2_l2_cache [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2image.c:848:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2image.c:909:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FILSYS_CORRUPTED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2image.c:1037:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk64_t [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2image.c:1123:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk64_t [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2image.c:1154:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blk64_t [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2image.c:1171:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_qcow2_image [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2image.c:1332:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2image.c:1424:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_IMAGE_FILE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2image.c:1488:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2image.c:1502:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_64BITS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/dumpe2fs.c:448:5: error: fprintf format string requires 6 parameters but only 4 are given. [wrongPrintfScanfArgNum] e2fsprogs-1.47.2-rc1/misc/dumpe2fs.c:503:2: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum] e2fsprogs-1.47.2-rc1/misc/dumpe2fs.c:505:2: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum] e2fsprogs-1.47.2-rc1/misc/e2initrd_helper.c:97:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EFBIG [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2initrd_helper.c:313:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2initrd_helper.c:377:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable et_ext2_error_table [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/dumpe2fs.c:406:24: style: Variable 'jsb' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/dumpe2fs.c:512:39: style: Variable 'badopt' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/dumpe2fs.c:184:14: style: Variable 'first_block' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/misc/e2label.c:83:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2label.c:93:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2label.c:84:2: error: snprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum] e2fsprogs-1.47.2-rc1/misc/e2label.c:83:2: error: Return value of allocation function 'open_e2fs' is not stored. [leakReturnValNotUsed] e2fsprogs-1.47.2-rc1/misc/e2label.c:51:29: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/e2label.c:89:44: style: Parameter 'label' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/e2initrd_helper.c:129:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/e2initrd_helper.c:150:42: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/e2undo.c:157:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_mtime [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2undo.c:174:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUPERBLOCK_OFFSET [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2undo.c:238:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable undo_io_manager [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2undo.c:309:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unix_io_manager [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:232:56: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:847:47: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:810:63: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:92:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_keyctl [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:101:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_add_key [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:147:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:162:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:213:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:246:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_SIGINFO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:276:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_MAX_SALT_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:360:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:411:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_MAX_PASSPHRASE_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:463:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECHO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:476:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:537:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_MAX_KEY_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:552:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_KEY_DESCRIPTOR_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:665:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:735:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:776:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:816:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:856:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e2image.c:669:30: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] e2fsprogs-1.47.2-rc1/misc/e2image.c:738:28: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] e2fsprogs-1.47.2-rc1/misc/e2undo.c:231:8: style: Variable 'dev_name' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/e2image.c:142:38: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/e2image.c:209:40: style: Parameter 'hdr' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/e2image.c:382:31: style: Variable 'p' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/e2image.c:483:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/e2image.c:502:12: style: Variable 'end' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/e2image.c:829:51: style: Parameter 'image' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/e2image.c:995:53: style: Parameter 'img' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/e4defrag.c:195:0: error: #error posix_fadvise not available! [preprocessorErrorDirective] e2fsprogs-1.47.2-rc1/misc/e4defrag.c:195:2: error: #error posix_fadvise not available! [preprocessorErrorDirective] e2fsprogs-1.47.2-rc1/misc/filefrag.c:19:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/findsuper.c:135:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:568:17: style: Condition 'rc==-1' is always true [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:563:9: note: Assuming that condition 'rc!=-1' is not redundant e2fsprogs-1.47.2-rc1/misc/e4crypt.c:568:17: note: Condition 'rc==-1' is always true e2fsprogs-1.47.2-rc1/misc/e4crypt.c:422:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:427:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:524:32: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:820:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:825:39: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:847:47: style:inconclusive: Function 'do_help' argument 3 names different: declaration 'cmd' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:641:67: note: Function 'do_help' argument 3 names different: declaration 'cmd' definition 'unused'. e2fsprogs-1.47.2-rc1/misc/e4crypt.c:847:47: note: Function 'do_help' argument 3 names different: declaration 'cmd' definition 'unused'. e2fsprogs-1.47.2-rc1/misc/e4crypt.c:129:44: style: Parameter 'argv' can be declared as const array [constParameter] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:159:17: style: Variable 'h' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:159:21: style: Variable 'l' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:193:49: style: Parameter 'salt' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:316:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:316:22: style: Variable 'l' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:349:26: style: Parameter 'argv' can be declared as const array [constParameter] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:351:15: style: Variable 'salt' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:406:64: style: Parameter 'salt' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:419:9: style: Variable 'temp_u32' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:547:71: style: Parameter 'salt' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:657:8: style: Variable 'keyring' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/e4crypt.c:491:9: style: struct member 'keyring_map::name_len' is never used. [unusedStructMember] e2fsprogs-1.47.2-rc1/misc/fsck.c:345:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fsck.c:450:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fsck.c:597:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fsck.c:697:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fsck.c:772:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fsck.c:978:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fsck.c:1089:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fsck.c:1142:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fsck.c:1272:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:723:45: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:1344:51: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:1554:61: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2200:50: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2257:51: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2330:53: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2359:51: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2387:52: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2542:68: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2552:60: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2640:54: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2787:56: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2811:53: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:3370:68: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/findsuper.c:251:3: error: printf format string requires 16 parameters but only 15 are given. [wrongPrintfScanfArgNum] e2fsprogs-1.47.2-rc1/misc/findsuper.c:236:9: style: int result is assigned to long long variable. If the variable is long long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] e2fsprogs-1.47.2-rc1/misc/ismounted.c:201:6: style: Condition 'retval' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/misc/ismounted.c:200:28: note: Calling function 'check_mntent_file' returns 0 e2fsprogs-1.47.2-rc1/misc/ismounted.c:200:28: note: Assignment 'retval=check_mntent_file("/etc/mtab",file,&mount_flags)', assigned value is 0 e2fsprogs-1.47.2-rc1/misc/ismounted.c:201:6: note: Condition 'retval' is always false e2fsprogs-1.47.2-rc1/misc/ismounted.c:80:48: style: Parameter 'mtab_file' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/ismounted.c:80:71: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/ismounted.c:81:13: style: Parameter 'mount_flags' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:473:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i_version_hi [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:486:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i_atime_extra [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:505:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i_ctime_extra [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:533:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_RW [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:570:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i_mtime_extra [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:598:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FT_REG_FILE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:650:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_RW [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:663:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EROFS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:731:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:763:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:808:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i_atime_extra [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:838:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:865:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:942:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:1074:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:1219:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ROOT_INO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:1332:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:1393:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTEMPTY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:1442:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:1461:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:1567:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIRENT_CHANGED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:1590:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:1814:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:1920:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:1983:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2057:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2135:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_ACCMODE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2193:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2214:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2271:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2341:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2371:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2396:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2473:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2575:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2655:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2729:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2795:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_NAME_LEN [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2829:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2861:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2893:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:3097:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:3380:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:3705:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:3758:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:3802:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:3980:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BASE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fsck.c:411:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] e2fsprogs-1.47.2-rc1/misc/fsck.c:411:34: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] e2fsprogs-1.47.2-rc1/misc/fsck.c:784:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] e2fsprogs-1.47.2-rc1/misc/fsck.c:817:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] e2fsprogs-1.47.2-rc1/misc/fsck.c:834:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] e2fsprogs-1.47.2-rc1/misc/fsck.c:840:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] e2fsprogs-1.47.2-rc1/misc/logsave.c:65:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/logsave.c:202:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/logsave.c:236:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/logsave.c:256:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fsck.c:128:38: style: Parameter 's' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/fsck.c:140:38: style: Parameter 's' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/fsck.c:335:38: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/fsck.c:382:37: style: Parameter 'filesys' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/fsck.c:400:30: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/fsck.c:403:15: style: Variable 'tpl' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/fsck.c:440:70: style: Parameter 'mntpt' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/fsck.c:443:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/fsck.c:826:36: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/fsck.c:828:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/fsck.c:1268:8: style: Variable 'oldpath' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/fsck.c:1316:14: style: Variable 'interactive' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/misc/lsattr.c:108:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PFOPT_LONG [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/lsattr.c:149:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/lsattr.c:192:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/lsattr.c:139:68: style: Parameter 'de' can be declared as pointer to const. However it seems that 'lsattr_dir_proc' is a callback function, if 'de' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/misc/lsattr.c:166:27: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/misc/lsattr.c:139:68: note: Parameter 'de' can be declared as pointer to const e2fsprogs-1.47.2-rc1/misc/logsave.c:43:25: style: Parameter 'progname' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/logsave.c:255:8: style: Variable 'outfn' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/mk_hugefiles.c:67:58: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/mk_hugefiles.c:97:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ROOT_INO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/mk_hugefiles.c:162:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_inode [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/mk_hugefiles.c:295:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT_INIT_MAX_LEN [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/mk_hugefiles.c:380:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_EXTENT_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:222:55: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/mk_hugefiles.c:92:57: style: Parameter 'dir' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/mklost+found.c:34:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_NAME_LEN [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/partinfo.c:50:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:309:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:441:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_BG_INODE_ZEROED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:509:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ROOT_INO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:547:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ROOT_INO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:580:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_BAD_INO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:595:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ROOT_INO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:667:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_MKJOURNAL_LAZYINIT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:809:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_OS_HURD [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:822:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_OS_LINUX [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:848:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:1317:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:1330:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:1349:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:1370:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROFILE_ITER_LIST_SECTION [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:1672:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:2789:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_io_manager [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:2836:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:3041:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ERRORS_CONTINUE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:3097:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_io_manager [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:1209:22: warning: If memory allocation fails, then there is a possible null pointer dereference: filename [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:1205:25: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:1205:25: note: Assignment 'filename=strdup(path)', assigned value is 0 e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:1209:22: note: Null pointer dereference e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:621:44: style: Parameter 'ff' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:656:18: style: Variable 'ff' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:726:18: style: Variable 'ff' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:1239:41: style: Parameter 'ff' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:1562:24: style: Variable 'ud' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2113:65: style: Parameter 'access_check' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2114:12: style: Parameter 'e2fs_open_flags' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2120:38: style: Parameter 'ff' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2391:18: style: Variable 'ff' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2393:18: style: Variable 'f' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2542:37: style: Parameter 'name' can be declared as pointer to const. However it seems that 'count_buffer_space' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2608:33: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2542:37: note: Parameter 'name' can be declared as pointer to const e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2552:29: style: Parameter 'name' can be declared as pointer to const. However it seems that 'copy_names' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2624:33: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2552:29: note: Parameter 'name' can be declared as pointer to const e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:3801:8: style: Variable 'logfile' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:384:45: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:559:43: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:2641:54: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/fuse2fs.c:2092:6: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/misc/util.c:91:50: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/misc/util.c:102:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/util.c:139:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_MF_MOUNTED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/util.c:171:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/util.c:273:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/util.c:326:3: error: printf format string requires 5 parameters but only 3 are given. [wrongPrintfScanfArgNum] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:249:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_UNSUPP_FEATURE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:275:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UUID_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:289:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUPERBLOCK_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:416:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_JOURNAL_INO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:471:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_VALID_FS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:499:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_VALID_FS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:513:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_VALID_FS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:526:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ERROR_FS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:571:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCK_ABORT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:708:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_INDEX_FL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:756:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:782:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:800:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_GOOD_OLD_INODE_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:821:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_EXT_ATTR_MAGIC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:843:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_EA_INODE_FL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:896:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:939:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_OS_HURD [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:974:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_IGNORE_CSUM_ERRORS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:1005:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_BG_INODE_ZEROED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:1059:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:1104:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_FEATURE_RO_COMPAT_GDT_CSUM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:1151:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:1173:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E2P_FEATURE_COMPAT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:1703:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:1788:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXQUOTAS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:1885:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USRQUOTA [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:1912:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:1974:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:2259:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:2508:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSPC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:2596:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSPC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:2660:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCK_CHANGED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:2870:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:2957:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable undo_io_manager [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:3028:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UUID_STR_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:3185:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable et_ext2_error_table [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/uuidd.c:79:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/uuidd.c:100:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/uuidd.c:122:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/uuidd.c:156:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/uuidd.c:240:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UUID_STR_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/uuidd.c:445:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UUIDD_SOCKET_PATH [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/uuidd.c:105:11: style: Condition 'ret>0' is always true [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/misc/uuidd.c:99:11: note: Assuming that condition 'ret<=0' is not redundant e2fsprogs-1.47.2-rc1/misc/uuidd.c:105:11: note: Condition 'ret>0' is always true e2fsprogs-1.47.2-rc1/misc/uuidgen.c:51:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/resize/extent.c:220:28: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/resize/main.c:49:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/resize/main.c:163:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/resize/main.c:174:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:2031:10: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] e2fsprogs-1.47.2-rc1/resize/main.c:259:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:2163:11: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:923:11: style: Condition 'ino' is always true [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:2915:6: style: Condition 'retval' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:2914:34: note: Calling function 'group_desc_scan_and_fix' returns 0 e2fsprogs-1.47.2-rc1/misc/tune2fs.c:2914:34: note: Assignment 'retval=group_desc_scan_and_fix(fs,bmap)', assigned value is 0 e2fsprogs-1.47.2-rc1/misc/tune2fs.c:2915:6: note: Condition 'retval' is always false e2fsprogs-1.47.2-rc1/misc/tune2fs.c:3210:10: style: Condition 'rc!=-1' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:3209:22: note: Calling function 'handle_fslabel' returns -1 e2fsprogs-1.47.2-rc1/misc/tune2fs.c:3209:22: note: Assignment 'rc=handle_fslabel(L_flag)', assigned value is -1 e2fsprogs-1.47.2-rc1/misc/tune2fs.c:3210:10: note: Condition 'rc!=-1' is always false e2fsprogs-1.47.2-rc1/misc/tune2fs.c:3647:7: style: Condition 'ret' is always true [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:3634:10: note: Assignment 'ret=-1', assigned value is -1 e2fsprogs-1.47.2-rc1/misc/tune2fs.c:3647:7: note: Condition 'ret' is always true e2fsprogs-1.47.2-rc1/misc/tune2fs.c:3317:3: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:246:24: style: Variable 'jsb' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:270:32: style: Parameter 'uuid' can be declared as const array [constParameter] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:383:57: style: Parameter 'blocknr' can be declared as pointer to const. However it seems that 'release_blocks_proc' is a callback function, if 'blocknr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:425:13: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/misc/tune2fs.c:383:57: note: Parameter 'blocknr' can be declared as pointer to const e2fsprogs-1.47.2-rc1/misc/tune2fs.c:612:9: style: Variable 'top' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:772:38: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:1330:23: style: Variable 'mmp_cmp' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:1882:41: style: Parameter 'token' can be declared as pointer to const. However it seems that 'option_handle_function' is a callback function, if 'token' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:2135:35: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/misc/tune2fs.c:1882:41: note: Parameter 'token' can be declared as pointer to const e2fsprogs-1.47.2-rc1/misc/tune2fs.c:1967:16: style: Variable 'gr' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:1968:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:1970:7: style: Variable 'optstring' can be declared as const array [constVariable] e2fsprogs-1.47.2-rc1/misc/tune2fs.c:2950:8: style: Variable 'dev_name' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/resize/online.c:52:49: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/resize/main.c:603:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/resize/main.c:634:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/resize/main.c:667:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/resize/main.c:685:2: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/resize/online.c:52:49: style:inconclusive: Function 'online_resize_fs' argument 4 names different: declaration 'flags' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/resize/resize2fs.h:172:30: note: Function 'online_resize_fs' argument 4 names different: declaration 'flags' definition 'unused'. e2fsprogs-1.47.2-rc1/resize/online.c:52:49: note: Function 'online_resize_fs' argument 4 names different: declaration 'flags' definition 'unused'. e2fsprogs-1.47.2-rc1/resize/online.c:52:16: style: Parameter 'new_size' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/resize/main.c:47:26: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/resize/main.c:177:8: style: Variable 'dev_name' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/resize/main.c:270:8: style: Unused variable: sysval [unusedVariable] e2fsprogs-1.47.2-rc1/resize/resource_track.c:133:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/resize/resource_track.c:53:47: style: Parameter 'tv1' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/resize/resource_track.c:54:26: style: Parameter 'tv2' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/resize/resource_track.c:112:33: style: Variable 'bytes_read' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/resize/resource_track.c:113:36: style: Variable 'bytes_written' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:1727:35: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:1923:36: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:1965:42: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:2028:64: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:2371:31: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/resize/sim_progress.c:103:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:127:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ERROR_FS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:300:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:479:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_EXTENT_ROOT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:524:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_OS_HURD [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:593:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_BG_BLOCK_UNINIT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:713:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_TOOSMALL [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:1141:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSPC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:1329:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_BG_BLOCK_UNINIT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:1428:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_BG_BLOCK_UNINIT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:1736:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSPC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:1807:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSPC [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:1937:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCK_CHANGED [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:2012:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_IGNORE_CSUM_ERRORS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:2063:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_GOOD_OLD_INODE_SIZE [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:2129:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_RESIZE_INO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:2219:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:2389:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIRENT_ABORT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:2453:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_IGNORE_CSUM_ERRORS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:2552:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_MASTER_SB_ONLY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:2746:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:2808:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_RESIZE_INO [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:2860:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:2944:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_N_BLOCKS [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:3228:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext3_extent [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/resize/test_extent.c:23:14: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/resize/test_extent.c:23:20: style: Variable 'arg1' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/resize/test_extent.c:23:27: style: Variable 'arg2' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/tests/fuzz/ext2fs_check_directory_fuzzer.cc:26:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/tests/progs/crcsum.c:36:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2fs_crc32c_le [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/tests/progs/hold_inode.c:22:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] e2fsprogs-1.47.2-rc1/tests/progs/hold_inode.c:28:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/tests/progs/hold_inode.c:37:8: error: Return value of allocation function 'opendir' is not stored. [leakReturnValNotUsed] e2fsprogs-1.47.2-rc1/tests/progs/hold_inode.c:42:7: error: Return value of allocation function 'open' is not stored. [leakReturnValNotUsed] e2fsprogs-1.47.2-rc1/tests/progs/random_exercise.c:143:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] e2fsprogs-1.47.2-rc1/tests/progs/random_exercise.c:84:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/tests/progs/random_exercise.c:79:2: warning: Return value of function mktemp() is not used. [ignoredReturnValue] e2fsprogs-1.47.2-rc1/tests/progs/random_exercise.c:79:2: warning: Obsolete function 'mktemp' called. It is recommended to use 'mkstemp' or 'mkdtemp' instead. [prohibitedmktempCalled] e2fsprogs-1.47.2-rc1/tests/progs/random_exercise.c:100:1: error: Resource leak: fd [resourceLeak] e2fsprogs-1.47.2-rc1/tests/progs/random_exercise.c:119:8: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/tests/progs/random_exercise.c:133:8: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:64:74: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:95:72: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:109:66: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:132:70: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:156:70: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:180:66: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:253:69: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:209:65: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:234:69: debug: Function::addArguments found argument 'unused' with varid 0. [varid0] e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:76:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ICOUNT_OPT_INCREMENT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:245:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:278:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:334:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_super_block [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:82:11: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:648:7: style: Condition 'retval' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:647:29: note: Calling function 'mark_table_blocks' returns 0 e2fsprogs-1.47.2-rc1/resize/resize2fs.c:647:29: note: Assignment 'retval=mark_table_blocks(fs,bg_map)', assigned value is 0 e2fsprogs-1.47.2-rc1/resize/resize2fs.c:648:7: note: Condition 'retval' is always false e2fsprogs-1.47.2-rc1/resize/resize2fs.c:1379:6: style: Condition 'retval' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:1375:6: note: Assuming that condition 'retval' is not redundant e2fsprogs-1.47.2-rc1/resize/resize2fs.c:1379:6: note: Condition 'retval' is always false e2fsprogs-1.47.2-rc1/resize/resize2fs.c:1483:8: style: Condition 'retval' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:1482:30: note: Calling function 'mark_table_blocks' returns 0 e2fsprogs-1.47.2-rc1/resize/resize2fs.c:1482:30: note: Assignment 'retval=mark_table_blocks(fs,new_meta_bmap)', assigned value is 0 e2fsprogs-1.47.2-rc1/resize/resize2fs.c:1483:8: note: Condition 'retval' is always false e2fsprogs-1.47.2-rc1/resize/resize2fs.c:2527:7: style: Condition 'retval' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:2523:7: note: Assuming that condition 'retval' is not redundant e2fsprogs-1.47.2-rc1/resize/resize2fs.c:2527:7: note: Condition 'retval' is always false e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:64:74: style:inconclusive: Function 'do_create_icount' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/tests/progs/test_icount.h:12:53: note: Function 'do_create_icount' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:64:74: note: Function 'do_create_icount' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:95:72: style:inconclusive: Function 'do_free_icount' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/tests/progs/test_icount.h:13:51: note: Function 'do_free_icount' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:95:72: note: Function 'do_free_icount' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:109:66: style:inconclusive: Function 'do_fetch' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/tests/progs/test_icount.h:14:45: note: Function 'do_fetch' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:109:66: note: Function 'do_fetch' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:132:70: style:inconclusive: Function 'do_increment' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/tests/progs/test_icount.h:15:49: note: Function 'do_increment' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:132:70: note: Function 'do_increment' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:156:70: style:inconclusive: Function 'do_decrement' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/tests/progs/test_icount.h:16:49: note: Function 'do_decrement' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:156:70: note: Function 'do_decrement' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:180:66: style:inconclusive: Function 'do_store' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/tests/progs/test_icount.h:17:45: note: Function 'do_store' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:180:66: note: Function 'do_store' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:209:65: style:inconclusive: Function 'do_dump' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/tests/progs/test_icount.h:19:44: note: Function 'do_dump' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:209:65: note: Function 'do_dump' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:234:69: style:inconclusive: Function 'do_validate' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/tests/progs/test_icount.h:20:48: note: Function 'do_validate' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:234:69: note: Function 'do_validate' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:253:69: style:inconclusive: Function 'do_get_size' argument 3 names different: declaration 'sci_idx' definition 'unused'. [funcArgNamesDifferent] e2fsprogs-1.47.2-rc1/tests/progs/test_icount.h:18:48: note: Function 'do_get_size' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:253:69: note: Function 'do_get_size' argument 3 names different: declaration 'sci_idx' definition 'unused'. e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:326:9: style: Variable 'cmd_file' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:82:7: style: Variable 'argv' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/tests/progs/test_icount.c:82:15: style: Variable 'argc' is assigned a value that is never used. [unreadVariable] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:475:25: style: Parameter 'inode' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:2036:34: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/resize/resize2fs.c:2110:31: style: Variable 'header' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/tests/progs/test_rel.c:131:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/tests/progs/test_rel.c:673:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/tests/progs/test_rel.c:724:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/util/copy_sparse.c:18:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/util/libecho.c:24:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/util/libecho.c:38:18: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:451:40: warning: Invalid test for overflow 'len+num>=len'; signed integer overflow is undefined behavior. Some mainstream compilers removes handling of overflows when optimising the code and change the code to 'num>=0'. [invalidTestForOverflow] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:1725:25: style: Condition 'is_before_linux_ver(2,2,0)' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:1725:25: note: Calling function 'is_before_linux_ver' returns 0 e2fsprogs-1.47.2-rc1/misc/mke2fs.c:1725:25: note: Condition 'is_before_linux_ver(2,2,0)' is always false e2fsprogs-1.47.2-rc1/misc/mke2fs.c:2259:27: style: Condition 'is_before_linux_ver(2,6,0)' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:2259:27: note: Calling function 'is_before_linux_ver' returns 0 e2fsprogs-1.47.2-rc1/misc/mke2fs.c:2259:27: note: Condition 'is_before_linux_ver(2,6,0)' is always false e2fsprogs-1.47.2-rc1/misc/mke2fs.c:2466:25: style: Condition 'is_before_linux_ver(3,18,0)' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:2466:25: note: Calling function 'is_before_linux_ver' returns 0 e2fsprogs-1.47.2-rc1/misc/mke2fs.c:2466:25: note: Condition 'is_before_linux_ver(3,18,0)' is always false e2fsprogs-1.47.2-rc1/misc/mke2fs.c:2476:25: style: Condition 'is_before_linux_ver(2,6,37)' is always false [knownConditionTrueFalse] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:2476:25: note: Calling function 'is_before_linux_ver' returns 0 e2fsprogs-1.47.2-rc1/misc/mke2fs.c:2476:25: note: Condition 'is_before_linux_ver(2,6,37)' is always false e2fsprogs-1.47.2-rc1/misc/mke2fs.c:3130:3: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] e2fsprogs-1.47.2-rc1/tests/progs/test_rel.c:94:45: style: Parameter 'ent' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/tests/progs/test_rel.c:104:45: style: Parameter 'ent' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/tests/progs/test_rel.c:720:9: style: Variable 'cmd_file' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:608:16: style: Variable 'magic' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:840:39: style: Variable 'badopt' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:2838:8: style: Variable 'dev_name' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:1021:9: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] e2fsprogs-1.47.2-rc1/util/subst.c:75:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/util/subst.c:169:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/util/subst.c:315:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/util/subst.c:336:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:1567:16: style: struct member 'device_param::min_io' is never used. [unusedStructMember] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:1568:16: style: struct member 'device_param::opt_io' is never used. [unusedStructMember] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:1569:16: style: struct member 'device_param::alignment_offset' is never used. [unusedStructMember] e2fsprogs-1.47.2-rc1/misc/mke2fs.c:1570:15: style: struct member 'device_param::dax' is never used. [unusedStructMember] e2fsprogs-1.47.2-rc1/util/subst.c:317:6: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] e2fsprogs-1.47.2-rc1/util/subst.c:52:28: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/util/subst.c:52:40: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/util/subst.c:78:52: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/util/subst.c:121:58: style: Parameter 'newstr' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/util/subst.c:286:36: style: Variable 'oldcp' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/subst.c:286:44: style: Variable 'newcp' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/subst.c:329:8: style: Variable 'outfn' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/symlinks.c:50:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/util/symlinks.c:287:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _S_IFMT [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/util/symlinks.c:301:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/util/symlinks.c:335:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1942:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2060:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2110:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2167:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2221:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2295:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:3202:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:3260:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:3330:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] e2fsprogs-1.47.2-rc1/util/symlinks.c:281:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] e2fsprogs-1.47.2-rc1/util/symlinks.c:37:35: style: Parameter 'old' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/util/symlinks.c:56:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/symlinks.c:123:9: style: Variable 'a' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/symlinks.c:161:22: style: Variable 'tail' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/symlinks.c:161:29: style: Variable 'msg' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/symlinks.c:270:24: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/symlinks.c:323:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:970:19: style: The statement 'if (node->index!=index) node->index=index' is logically equivalent to 'node->index=index'. [duplicateConditionalAssign] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:971:16: note: Assignment 'node->index=index' e2fsprogs-1.47.2-rc1/util/mkutf8data.c:970:19: note: Condition 'node->index!=index' is redundant e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1947:9: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1947:9: warning: %d in format string (no. 2) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1947:9: warning: %d in format string (no. 3) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1952:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1952:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1952:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1958:9: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1958:9: warning: %d in format string (no. 2) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1962:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1962:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1985:9: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1985:9: warning: %d in format string (no. 2) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1985:9: warning: %d in format string (no. 3) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1991:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1991:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1991:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1997:9: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1997:9: warning: %d in format string (no. 2) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2001:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2001:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2007:9: warning: %d in format string (no. 3) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2007:9: warning: %d in format string (no. 4) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2019:9: warning: %d in format string (no. 2) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2019:9: warning: %d in format string (no. 3) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2064:9: warning: %d in format string (no. 3) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2071:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2076:9: warning: %d in format string (no. 2) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2081:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2299:9: warning: %d in format string (no. 4) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2299:9: warning: %d in format string (no. 5) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2299:9: warning: %d in format string (no. 6) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2314:9: warning: %d in format string (no. 4) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2314:9: warning: %d in format string (no. 5) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2314:9: warning: %d in format string (no. 6) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2341:4: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2341:4: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2341:4: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:3298:2: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2114:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2171:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2225:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2247:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2299:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2314:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:3205:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:496:2: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:495:15: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:495:15: note: Assignment 'node=malloc(sizeof(*node))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:496:2: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:496:15: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:495:15: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:495:15: note: Assignment 'node=malloc(sizeof(*node))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:496:15: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:497:2: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:495:15: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:495:15: note: Assignment 'node=malloc(sizeof(*node))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:497:2: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:498:2: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:495:15: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:495:15: note: Assignment 'node=malloc(sizeof(*node))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:498:2: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:499:2: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:495:15: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:495:15: note: Assignment 'node=malloc(sizeof(*node))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:499:2: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:500:2: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:495:15: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:495:15: note: Assignment 'node=malloc(sizeof(*node))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:500:2: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:501:2: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:495:15: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:495:15: note: Assignment 'node=malloc(sizeof(*node))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:501:2: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:502:2: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:495:15: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:495:15: note: Assignment 'node=malloc(sizeof(*node))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:502:2: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:503:2: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:495:15: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:495:15: note: Assignment 'node=malloc(sizeof(*node))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:503:2: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:504:2: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:495:15: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:495:15: note: Assignment 'node=malloc(sizeof(*node))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:504:2: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:505:2: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:495:15: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:495:15: note: Assignment 'node=malloc(sizeof(*node))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:505:2: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:507:6: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:495:15: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:495:15: note: Assignment 'node=malloc(sizeof(*node))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:507:6: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1623:3: warning: If memory allocation fails, then there is a possible null pointer dereference: trees [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1616:16: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1616:16: note: Assignment 'trees=calloc(trees_count,sizeof(struct tree))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1623:3: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1624:3: warning: If memory allocation fails, then there is a possible null pointer dereference: trees [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1616:16: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1616:16: note: Assignment 'trees=calloc(trees_count,sizeof(struct tree))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1624:3: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1637:20: warning: If memory allocation fails, then there is a possible null pointer dereference: trees [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1616:16: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1616:16: note: Assignment 'trees=calloc(trees_count,sizeof(struct tree))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1637:20: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1639:3: warning: If memory allocation fails, then there is a possible null pointer dereference: trees [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1616:16: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1616:16: note: Assignment 'trees=calloc(trees_count,sizeof(struct tree))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1639:3: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1643:2: warning: If memory allocation fails, then there is a possible null pointer dereference: trees [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1616:16: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1616:16: note: Assignment 'trees=calloc(trees_count,sizeof(struct tree))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1643:2: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1644:2: warning: If memory allocation fails, then there is a possible null pointer dereference: trees [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1616:16: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1616:16: note: Assignment 'trees=calloc(trees_count,sizeof(struct tree))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1644:2: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1645:2: warning: If memory allocation fails, then there is a possible null pointer dereference: trees [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1616:16: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1616:16: note: Assignment 'trees=calloc(trees_count,sizeof(struct tree))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1645:2: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1979:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ages [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1977:15: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1977:15: note: Assignment 'ages=calloc(ages_count+1,sizeof(*ages))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1979:2: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2030:19: warning: If memory allocation fails, then there is a possible null pointer dereference: ages [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1977:15: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1977:15: note: Assignment 'ages=calloc(ages_count+1,sizeof(*ages))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1984:14: note: Assuming condition is false e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2030:19: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2137:10: warning: If memory allocation fails, then there is a possible null pointer dereference: um [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2136:14: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2136:14: note: Assignment 'um=malloc(i*sizeof(unsigned int))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2137:10: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2193:10: warning: If memory allocation fails, then there is a possible null pointer dereference: um [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2192:14: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2192:14: note: Assignment 'um=malloc(i*sizeof(unsigned int))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2193:10: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2234:6: warning: If memory allocation fails, then there is a possible null pointer dereference: um [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2233:16: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2233:16: note: Assignment 'um=malloc(sizeof(unsigned int))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2234:6: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2238:6: warning: If memory allocation fails, then there is a possible null pointer dereference: um [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2237:16: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2237:16: note: Assignment 'um=malloc(sizeof(unsigned int))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2238:6: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2255:5: warning: If memory allocation fails, then there is a possible null pointer dereference: um [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2254:15: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2254:15: note: Assignment 'um=malloc(sizeof(unsigned int))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2255:5: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2259:5: warning: If memory allocation fails, then there is a possible null pointer dereference: um [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2258:15: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2258:15: note: Assignment 'um=malloc(sizeof(unsigned int))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2259:5: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2337:10: warning: If memory allocation fails, then there is a possible null pointer dereference: um [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2336:14: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2336:14: note: Assignment 'um=malloc(i*sizeof(unsigned int))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2337:10: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2437:10: warning: If memory allocation fails, then there is a possible null pointer dereference: um [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2436:14: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2436:14: note: Assignment 'um=malloc(i*sizeof(unsigned int))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2437:10: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2442:10: warning: If memory allocation fails, then there is a possible null pointer dereference: um [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2441:14: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2441:14: note: Assignment 'um=malloc(i*sizeof(unsigned int))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2442:10: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2501:11: warning: If memory allocation fails, then there is a possible null pointer dereference: um [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2500:15: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2500:15: note: Assignment 'um=malloc(i*sizeof(unsigned int))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2501:11: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2507:11: warning: If memory allocation fails, then there is a possible null pointer dereference: um [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2506:15: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2506:15: note: Assignment 'um=malloc(i*sizeof(unsigned int))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2507:11: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2555:11: warning: If memory allocation fails, then there is a possible null pointer dereference: um [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2554:15: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2554:15: note: Assignment 'um=malloc(i*sizeof(unsigned int))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2555:11: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2683:32: warning: Either the condition '!tree' is redundant or there is possible null pointer dereference: tree. [nullPointerRedundantCheck] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2689:6: note: Assuming that condition '!tree' is not redundant e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2683:32: note: Null pointer dereference e2fsprogs-1.47.2-rc1/util/mkutf8data.c:531:44: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1374:23: style: Variable 'left' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1375:23: style: Variable 'right' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1391:23: style: Variable 'left' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1392:23: style: Variable 'right' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1415:23: style: Variable 'leaf' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1428:23: style: Variable 'leaf' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1441:29: style: Parameter 'l' can be declared as pointer to const. However it seems that 'nfkdi_mark' is a callback function, if 'l' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1644:35: note: You might need to cast the function pointer here e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1441:29: note: Parameter 'l' can be declared as pointer to const e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1448:23: style: Variable 'leaf' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1457:23: style: Variable 'leaf' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1464:23: style: Variable 'leaf' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1476:23: style: Variable 'leaf' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1490:23: style: Variable 'leaf' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1497:23: style: Variable 'leaf' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1505:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1525:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1592:23: style: Variable 'data' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1740:23: style: Variable 'data' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:1741:14: style: Variable 'leaf' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2680:45: style: Parameter 'tree' can be declared as pointer to const [constParameterPointer] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2778:14: style: Variable 'leaf' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2805:14: style: Variable 'leaf' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2831:14: style: Variable 'leaf' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2858:14: style: Variable 'leaf' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2887:14: style: Variable 'leaf' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:2914:14: style: Variable 'leaf' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:3150:8: style: Variable 't' can be declared as pointer to const [constVariablePointer] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:3189:23: style: Variable 'data' can be declared as pointer to const [constVariablePointer] diff: head e2fsprogs-1.47.2-rc1/e2fsck/iscan.c:225:7: style: Variable 'exit_value' is assigned a value that is never used. [unreadVariable] head e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:826:37: warning: Possible null pointer dereference: limit [nullPointer] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:806:11: note: Assignment 'limit=NULL', assigned value is 0 e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:808:15: note: Assuming condition is false e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:826:37: note: Null pointer dereference head e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:827:37: warning: Possible null pointer dereference: limit [nullPointer] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:806:11: note: Assignment 'limit=NULL', assigned value is 0 e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:808:15: note: Assuming condition is false e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:827:37: note: Null pointer dereference head e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:872:37: warning: Possible null pointer dereference: limit [nullPointer] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:831:11: note: Assignment 'limit=NULL', assigned value is 0 e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:834:17: note: Assuming condition is false e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:872:37: note: Null pointer dereference head e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:873:37: warning: Possible null pointer dereference: limit [nullPointer] e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:831:11: note: Assignment 'limit=NULL', assigned value is 0 e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:834:17: note: Assuming condition is false e2fsprogs-1.47.2-rc1/e2fsck/rehash.c:873:37: note: Null pointer dereference head e2fsprogs-1.47.2-rc1/e2fsck/unix.c:82:23: warning: Possible null pointer dereference: ctx [nullPointer] e2fsprogs-1.47.2-rc1/e2fsck/unix.c:860:9: note: Calling function 'usage', 1st argument 'NULL' value is 0 e2fsprogs-1.47.2-rc1/e2fsck/unix.c:82:23: note: Null pointer dereference head e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1139:27: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: NtData [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1106:36: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1106:12: note: Assignment 'NtData=(struct _NT_PRIVATE_DATA*)malloc(sizeof(struct _NT_PRIVATE_DATA))', assigned value is 0 e2fsprogs-1.47.2-rc1/lib/ext2fs/nt_io.c:1139:27: note: Null pointer dereference head e2fsprogs-1.47.2-rc1/misc/e4defrag.c:195:2: error: #error posix_fadvise not available! [preprocessorErrorDirective] head e2fsprogs-1.47.2-rc1/misc/fsck.c:411:34: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] head e2fsprogs-1.47.2-rc1/util/mkutf8data.c:496:15: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] e2fsprogs-1.47.2-rc1/util/mkutf8data.c:495:15: note: Assuming allocation function fails e2fsprogs-1.47.2-rc1/util/mkutf8data.c:495:15: note: Assignment 'node=malloc(sizeof(*node))', assigned value is 0 e2fsprogs-1.47.2-rc1/util/mkutf8data.c:496:15: note: Null pointer dereference DONE