2026-05-01 17:03 ftp://ftp.de.debian.org/debian/pool/main/e/e2tools/e2tools_0.1.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j6 platform: Linux-7.0.3+deb14-amd64-x86_64-with-glibc2.42 python: 3.13.12 client-version: 1.4.0 compiler: g++ (Debian 15.2.0-17) 15.2.0 cppcheck: head 2.20.0 head-info: e5c4a734 (2026-05-01 11:10:43 +0200) count: 108 103 elapsed-time: 0.4 0.3 head-timing-info: old-timing-info: head results: e2tools-0.1.2/src/e2tool-e2ln.c:105:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2ln.c:262:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2mv.c:101:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2mv.c:307:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2mv.c:389:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2mkdir.c:124:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2mkdir.c:284:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2mkdir.c:467:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_FILE_NOT_FOUND [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2mkdir.c:567:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2rm.c:125:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2rm.c:289:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_NAME_LEN [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2rm.c:323:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIRENT_FLAG_INCLUDE_EMPTY [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2rm.c:354:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_NAME_LEN [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2ls.c:156:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_NAME_LEN [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2ls.c:219:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIRENT_DELETED_FILE [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2ls.c:370:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2ls.c:667:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIRENT_DELETED_FILE [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2ls.c:833:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIRENT_DELETED_FILE [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2tail.c:55:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i_size [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2tail.c:56:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ext2_off_t [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2tail.c:57:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i_size [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2tail.c:134:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2tail.c:272:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2mkdir.c:105:9: style: Variable 'last_filesys' can be declared as pointer to const [constVariablePointer] e2tools-0.1.2/src/e2tool-e2mkdir.c:456:48: style: Parameter 'def_stat' can be declared as pointer to const [constParameterPointer] e2tools-0.1.2/src/e2tool-e2mkdir.c:292:20: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] e2tools-0.1.2/src/e2tool-e2rm.c:285:35: style:inconclusive: Function 'rm_dir_proc' argument 1 names different: declaration 'dir' definition 'dir__UNUSED'. [funcArgNamesDifferent] e2tools-0.1.2/src/e2tool-e2rm.c:54:28: note: Function 'rm_dir_proc' argument 1 names different: declaration 'dir' definition 'dir__UNUSED'. e2tools-0.1.2/src/e2tool-e2rm.c:285:35: note: Function 'rm_dir_proc' argument 1 names different: declaration 'dir' definition 'dir__UNUSED'. e2tools-0.1.2/src/e2tool-e2rm.c:286:59: style:inconclusive: Function 'rm_dir_proc' argument 4 names different: declaration 'offset' definition 'offset__UNUSED'. [funcArgNamesDifferent] e2tools-0.1.2/src/e2tool-e2rm.c:55:21: note: Function 'rm_dir_proc' argument 4 names different: declaration 'offset' definition 'offset__UNUSED'. e2tools-0.1.2/src/e2tool-e2rm.c:286:59: note: Function 'rm_dir_proc' argument 4 names different: declaration 'offset' definition 'offset__UNUSED'. e2tools-0.1.2/src/e2tool-e2rm.c:287:28: style:inconclusive: Function 'rm_dir_proc' argument 5 names different: declaration 'blocksize' definition 'blocksize__UNUSED'. [funcArgNamesDifferent] e2tools-0.1.2/src/e2tool-e2rm.c:55:33: note: Function 'rm_dir_proc' argument 5 names different: declaration 'blocksize' definition 'blocksize__UNUSED'. e2tools-0.1.2/src/e2tool-e2rm.c:287:28: note: Function 'rm_dir_proc' argument 5 names different: declaration 'blocksize' definition 'blocksize__UNUSED'. e2tools-0.1.2/src/e2tool-e2rm.c:287:57: style:inconclusive: Function 'rm_dir_proc' argument 6 names different: declaration 'buf' definition 'buf__UNUSED'. [funcArgNamesDifferent] e2tools-0.1.2/src/e2tool-e2rm.c:55:50: note: Function 'rm_dir_proc' argument 6 names different: declaration 'buf' definition 'buf__UNUSED'. e2tools-0.1.2/src/e2tool-e2rm.c:287:57: note: Function 'rm_dir_proc' argument 6 names different: declaration 'buf' definition 'buf__UNUSED'. e2tools-0.1.2/src/e2tool-e2rm.c:351:19: style:inconclusive: Function 'rm_regex_proc' argument 4 names different: declaration 'offset' definition 'offset__UNUSED'. [funcArgNamesDifferent] e2tools-0.1.2/src/e2tool-e2rm.c:61:19: note: Function 'rm_regex_proc' argument 4 names different: declaration 'offset' definition 'offset__UNUSED'. e2tools-0.1.2/src/e2tool-e2rm.c:351:19: note: Function 'rm_regex_proc' argument 4 names different: declaration 'offset' definition 'offset__UNUSED'. e2tools-0.1.2/src/e2tool-e2rm.c:351:44: style:inconclusive: Function 'rm_regex_proc' argument 5 names different: declaration 'blocksize' definition 'blocksize__UNUSED'. [funcArgNamesDifferent] e2tools-0.1.2/src/e2tool-e2rm.c:61:31: note: Function 'rm_regex_proc' argument 5 names different: declaration 'blocksize' definition 'blocksize__UNUSED'. e2tools-0.1.2/src/e2tool-e2rm.c:351:44: note: Function 'rm_regex_proc' argument 5 names different: declaration 'blocksize' definition 'blocksize__UNUSED'. e2tools-0.1.2/src/e2tool-e2rm.c:351:74: style:inconclusive: Function 'rm_regex_proc' argument 6 names different: declaration 'buf' definition 'buf__UNUSED'. [funcArgNamesDifferent] e2tools-0.1.2/src/e2tool-e2rm.c:61:48: note: Function 'rm_regex_proc' argument 6 names different: declaration 'buf' definition 'buf__UNUSED'. e2tools-0.1.2/src/e2tool-e2rm.c:351:74: note: Function 'rm_regex_proc' argument 6 names different: declaration 'buf' definition 'buf__UNUSED'. e2tools-0.1.2/src/e2tool-e2rm.c:351:98: style:inconclusive: Function 'rm_regex_proc' argument 7 names different: declaration 'private' definition 'arg'. [funcArgNamesDifferent] e2tools-0.1.2/src/e2tool-e2rm.c:61:59: note: Function 'rm_regex_proc' argument 7 names different: declaration 'private' definition 'arg'. e2tools-0.1.2/src/e2tool-e2rm.c:351:98: note: Function 'rm_regex_proc' argument 7 names different: declaration 'private' definition 'arg'. e2tools-0.1.2/src/e2tool-e2rm.c:106:9: style: Variable 'last_filesys' can be declared as pointer to const [constVariablePointer] e2tools-0.1.2/src/e2tool-e2tail.c:244:19: style:inconclusive: Function 'tail' argument 1 names different: declaration 'fs' definition 'fs_ptr'. [funcArgNamesDifferent] e2tools-0.1.2/src/e2tool-e2tail.c:72:19: note: Function 'tail' argument 1 names different: declaration 'fs' definition 'fs_ptr'. e2tools-0.1.2/src/e2tool-e2tail.c:244:19: note: Function 'tail' argument 1 names different: declaration 'fs' definition 'fs_ptr'. e2tools-0.1.2/src/e2tool-e2rm.c:287:82: style: Parameter 'verbose' can be declared as pointer to const. However it seems that 'rm_dir_proc' is a callback function, if 'verbose' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2tools-0.1.2/src/e2tool-e2rm.c:324:36: note: You might need to cast the function pointer here e2tools-0.1.2/src/e2tool-e2rm.c:287:82: note: Parameter 'verbose' can be declared as pointer to const e2tools-0.1.2/src/e2tool-e2rm.c:356:23: style: Variable 'reg' can be declared as pointer to const [constVariablePointer] e2tools-0.1.2/src/e2tool-e2tail.c:257:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] e2tools-0.1.2/src/e2tool-e2rm.c:371:20: style: Variable 'retval' is assigned a value that is never used. [unreadVariable] e2tools-0.1.2/src/progress.c:154:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/progress.c:193:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2cp.c:265:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tools.c:45:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2cp.c:634:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tools.c:86:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2cp.c:806:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2cp.c:992:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2cp.c:1018:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2cp.c:1058:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2cp.c:1183:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2mv.c:526:19: style: Variable 'retval' is assigned a value that is never used. [unreadVariable] e2tools-0.1.2/src/progress.c:154:7: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] e2tools-0.1.2/src/e2tools.c:57:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] e2tools-0.1.2/src/read.c:97:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/read.c:202:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/read.c:278:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2ls.c:727:7: warning: Return value of function getpwuid_r() is not used. [ignoredReturnValue] e2tools-0.1.2/src/e2tool-e2ls.c:733:7: warning: Return value of function getgrgid_r() is not used. [ignoredReturnValue] e2tools-0.1.2/src/e2tool-e2ls.c:704:14: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] e2tools-0.1.2/src/util.c:118:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unix_io_manager [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/util.c:153:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/util.c:163:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/util.c:198:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/util.c:303:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOSUB [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2ls.c:153:19: style:inconclusive: Function 'list_dir_proc' argument 4 names different: declaration 'offset' definition 'offset__UNUSED'. [funcArgNamesDifferent] e2tools-0.1.2/src/e2tool-e2ls.c:102:19: note: Function 'list_dir_proc' argument 4 names different: declaration 'offset' definition 'offset__UNUSED'. e2tools-0.1.2/src/e2tool-e2ls.c:153:19: note: Function 'list_dir_proc' argument 4 names different: declaration 'offset' definition 'offset__UNUSED'. e2tools-0.1.2/src/e2tool-e2ls.c:153:44: style:inconclusive: Function 'list_dir_proc' argument 5 names different: declaration 'blocksize' definition 'blocksize__UNUSED'. [funcArgNamesDifferent] e2tools-0.1.2/src/e2tool-e2ls.c:102:31: note: Function 'list_dir_proc' argument 5 names different: declaration 'blocksize' definition 'blocksize__UNUSED'. e2tools-0.1.2/src/e2tool-e2ls.c:153:44: note: Function 'list_dir_proc' argument 5 names different: declaration 'blocksize' definition 'blocksize__UNUSED'. e2tools-0.1.2/src/e2tool-e2ls.c:154:20: style:inconclusive: Function 'list_dir_proc' argument 6 names different: declaration 'buf' definition 'buf__UNUSED'. [funcArgNamesDifferent] e2tools-0.1.2/src/e2tool-e2ls.c:102:48: note: Function 'list_dir_proc' argument 6 names different: declaration 'buf' definition 'buf__UNUSED'. e2tools-0.1.2/src/e2tool-e2ls.c:154:20: note: Function 'list_dir_proc' argument 6 names different: declaration 'buf' definition 'buf__UNUSED'. e2tools-0.1.2/src/e2tool-e2ls.c:656:37: style:inconclusive: Function 'long_disp' argument 2 names different: declaration 'col' definition 'col__UNUSED'. [funcArgNamesDifferent] e2tools-0.1.2/src/e2tool-e2ls.c:106:33: note: Function 'long_disp' argument 2 names different: declaration 'col' definition 'col__UNUSED'. e2tools-0.1.2/src/e2tool-e2ls.c:656:37: note: Function 'long_disp' argument 2 names different: declaration 'col' definition 'col__UNUSED'. e2tools-0.1.2/src/e2tool-e2ls.c:205:19: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] e2tools-0.1.2/src/e2tool-e2ls.c:664:14: style: Variable 'tm_p' can be declared as pointer to const [constVariablePointer] e2tools-0.1.2/src/e2tool-e2ls.c:816:28: style: Parameter 'info' can be declared as pointer to const. However it seems that 'short_disp' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] e2tools-0.1.2/src/e2tool-e2ls.c:355:60: note: You might need to cast the function pointer here e2tools-0.1.2/src/e2tool-e2ls.c:816:28: note: Parameter 'info' can be declared as pointer to const e2tools-0.1.2/src/e2tool-e2ls.c:911:14: style: Variable 'f1' can be declared as pointer to const [constVariablePointer] e2tools-0.1.2/src/e2tool-e2ls.c:912:14: style: Variable 'f2' can be declared as pointer to const [constVariablePointer] e2tools-0.1.2/src/e2tool-e2ls.c:955:14: style: Variable 'f1' can be declared as pointer to const [constVariablePointer] e2tools-0.1.2/src/e2tool-e2ls.c:956:14: style: Variable 'f2' can be declared as pointer to const [constVariablePointer] e2tools-0.1.2/src/e2tool-e2ls.c:1000:14: style: Variable 'f1' can be declared as pointer to const [constVariablePointer] e2tools-0.1.2/src/e2tool-e2ls.c:1001:14: style: Variable 'f2' can be declared as pointer to const [constVariablePointer] e2tools-0.1.2/src/write.c:121:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/e2tool-e2ls.c:1141:14: style: Variable 'cd' can be declared as pointer to const [constVariablePointer] e2tools-0.1.2/src/write.c:321:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FILE_WRITE [valueFlowBailoutIncompleteVar] e2tools-0.1.2/src/read.c:344:7: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] e2tools-0.1.2/src/elist.c:134:35: style:inconclusive: Function 'elist_sort' argument 2 names different: declaration '' definition 'sort_func'. [funcArgNamesDifferentUnnamed] e2tools-0.1.2/src/elist.c:134:79: style:inconclusive: Function 'elist_sort' argument 3 names different: declaration '' definition 'reverse'. [funcArgNamesDifferentUnnamed] e2tools-0.1.2/src/read.c:291:22: style: Checking if unsigned expression 'bytes_read' is less than zero. [unsignedLessThanZero] e2tools-0.1.2/src/read.c:268:37: style:inconclusive: Function 'read_to_eof' argument 2 names different: declaration 'dest_fd' definition 'dest_fd__UNUSED'. [funcArgNamesDifferent] e2tools-0.1.2/src/read.h:14:42: note: Function 'read_to_eof' argument 2 names different: declaration 'dest_fd' definition 'dest_fd__UNUSED'. e2tools-0.1.2/src/read.c:268:37: note: Function 'read_to_eof' argument 2 names different: declaration 'dest_fd' definition 'dest_fd__UNUSED'. e2tools-0.1.2/src/read.c:193:21: style: Parameter 'dest_name' can be declared as pointer to const [constParameterPointer] e2tools-0.1.2/src/util.c:272:25: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] e2tools-0.1.2/src/util.c:223:25: style:inconclusive: Function 'release_blocks_proc' argument 3 names different: declaration 'blockcnt' definition 'blockcnt__UNUSED'. [funcArgNamesDifferent] e2tools-0.1.2/src/util.c:80:25: note: Function 'release_blocks_proc' argument 3 names different: declaration 'blockcnt' definition 'blockcnt__UNUSED'. e2tools-0.1.2/src/util.c:223:25: note: Function 'release_blocks_proc' argument 3 names different: declaration 'blockcnt' definition 'blockcnt__UNUSED'. e2tools-0.1.2/src/util.c:223:53: style:inconclusive: Function 'release_blocks_proc' argument 4 names different: declaration 'private' definition 'private__UNUSED'. [funcArgNamesDifferent] e2tools-0.1.2/src/util.c:80:41: note: Function 'release_blocks_proc' argument 4 names different: declaration 'private' definition 'private__UNUSED'. e2tools-0.1.2/src/util.c:223:53: note: Function 'release_blocks_proc' argument 4 names different: declaration 'private' definition 'private__UNUSED'. e2tools-0.1.2/src/util.c:222:44: 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] e2tools-0.1.2/src/util.c:210:38: note: You might need to cast the function pointer here e2tools-0.1.2/src/util.c:222:44: note: Parameter 'blocknr' can be declared as pointer to const e2tools-0.1.2/src/util.c:245:22: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] e2tools-0.1.2/src/util.c:265:19: style: Parameter 'shell' can be declared as pointer to const [constParameterPointer] e2tools-0.1.2/src/write.c:191:7: error: Resource leak: fd [resourceLeak] e2tools-0.1.2/src/write.c:108:48: style: Parameter 'infile' can be declared as pointer to const [constParameterPointer] e2tools-0.1.2/src/e2tool-e2cp.c:339:24: style: Variable 'src_category' is reassigned a value before the old one has been used. [redundantAssignment] e2tools-0.1.2/src/e2tool-e2cp.c:321:24: note: src_category is assigned e2tools-0.1.2/src/e2tool-e2cp.c:339:24: note: src_category is overwritten e2tools-0.1.2/src/e2tool-e2cp.c:784:9: style: Variable 'last_filesys' can be declared as pointer to const [constVariablePointer] e2tools-0.1.2/src/e2tool-e2cp.c:960:54: style: Parameter 'ofile' can be declared as pointer to const [constParameterPointer] e2tools-0.1.2/src/e2tool-e2cp.c:976:62: style: Parameter 'dest_dir' can be declared as pointer to const [constParameterPointer] e2tools-0.1.2/src/e2tool-e2cp.c:1044:9: style: Variable 'boundary' can be declared as pointer to const [constVariablePointer] e2tools-0.1.2/src/e2tool-e2cp.c:1075:11: style: Variable 's1' can be declared as pointer to const [constVariablePointer] e2tools-0.1.2/src/e2tool-e2cp.c:1076:11: style: Variable 's2' can be declared as pointer to const [constVariablePointer] e2tools-0.1.2/src/e2tool-e2cp.c:1082:24: style: Parameter 'sbuf' can be declared as pointer to const [constParameterPointer] e2tools-0.1.2/src/e2tool-e2cp.c:1110:23: style: Parameter 'sbuf' can be declared as pointer to const [constParameterPointer] e2tools-0.1.2/src/e2tool-e2cp.c:1113:17: style: Variable 'x_node' can be declared as pointer to const [constVariablePointer] e2tools-0.1.2/src/e2tool-e2cp.c:435:19: style: Variable 'retval' is assigned a value that is never used. [unreadVariable] e2tools-0.1.2/src/e2tool-e2cp.c:723:23: style: Variable 'retval' is assigned a value that is never used. [unreadVariable] e2tools-0.1.2/src/e2tool-e2cp.c:990:19: style: Variable 'retval' is assigned a value that is never used. [unreadVariable] diff: head e2tools-0.1.2/src/e2tool-e2cp.c:784:9: style: Variable 'last_filesys' can be declared as pointer to const [constVariablePointer] head e2tools-0.1.2/src/e2tool-e2rm.c:106:9: style: Variable 'last_filesys' can be declared as pointer to const [constVariablePointer] head e2tools-0.1.2/src/e2tool-e2rm.c:356:23: style: Variable 'reg' can be declared as pointer to const [constVariablePointer] head e2tools-0.1.2/src/elist.c:134:35: style:inconclusive: Function 'elist_sort' argument 2 names different: declaration '' definition 'sort_func'. [funcArgNamesDifferentUnnamed] head e2tools-0.1.2/src/elist.c:134:79: style:inconclusive: Function 'elist_sort' argument 3 names different: declaration '' definition 'reverse'. [funcArgNamesDifferentUnnamed] DONE