2024-04-24 10:41 ftp://ftp.de.debian.org/debian/pool/main/d/dte/dte_1.10.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 -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-105-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.56 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.14.0 head-info: 9fab9b9 (2024-04-24 10:46:48 +0200) count: 327 327 elapsed-time: 32.9 31.3 head-timing-info: old-timing-info: head results: dte-1.10/mk/feature-test/TIOCGWINSZ.c:6:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCGWINSZ [valueFlowBailoutIncompleteVar] dte-1.10/mk/feature-test/dup3.c:7:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] dte-1.10/mk/feature-test/pipe2.c:8:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] dte-1.10/mk/feature-test/posix_madvise.c:6:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POSIX_MADV_SEQUENTIAL [valueFlowBailoutIncompleteVar] dte-1.10/src/util/string-view.h:32:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] dte-1.10/src/util/string.h:28:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] dte-1.10/src/util/ptr-array.h:55:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptrs [valueFlowBailoutIncompleteVar] dte-1.10/src/alias.c:61:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] dte-1.10/src/util/ascii.h:56:5: style: The comparison 'ASCII_UPPER == 0x20' is always true. [knownConditionTrueFalse] dte-1.10/src/bind.c:230:30: warning: Either the condition 'idx<0' is redundant or the array 'bindings_lookup_table[440]' is accessed at index -1, which is out of bounds. [negativeIndex] dte-1.10/src/bind.c:229:5: note: Assuming that condition 'idx<0' is not redundant dte-1.10/src/bind.c:230:30: note: Negative array index dte-1.10/src/bind.c:271:48: warning: Either the condition 'i<0' is redundant or the array 'bindings_lookup_table[440]' is accessed at index -1, which is out of bounds. [negativeIndex] dte-1.10/src/bind.c:270:5: note: Assuming that condition 'i<0' is not redundant dte-1.10/src/bind.c:271:48: note: Negative array index dte-1.10/src/bind.c:235:37: style:inconclusive: Function 'collect_bound_keys' argument 1 names different: declaration 'keystr_prefix' definition 'prefix'. [funcArgNamesDifferent] dte-1.10/src/bind.h:20:37: note: Function 'collect_bound_keys' argument 1 names different: declaration 'keystr_prefix' definition 'prefix'. dte-1.10/src/bind.c:235:37: note: Function 'collect_bound_keys' argument 1 names different: declaration 'keystr_prefix' definition 'prefix'. dte-1.10/src/block-iter.c:35:35: warning: Either the condition '!end' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] dte-1.10/src/block-iter.c:34:9: note: Assuming that condition '!end' is not redundant dte-1.10/src/block-iter.c:35:35: note: Null pointer addition dte-1.10/src/block-iter.c:62:35: warning: Either the condition '!end' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] dte-1.10/src/block-iter.c:61:9: note: Assuming that condition '!end' is not redundant dte-1.10/src/block-iter.c:62:35: note: Null pointer addition dte-1.10/src/block-iter.c:210:31: warning: Either the condition '!end' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] dte-1.10/src/block-iter.c:209:5: note: Assuming that condition '!end' is not redundant dte-1.10/src/block-iter.c:210:31: note: Null pointer subtraction dte-1.10/src/block-iter.c:325:32: warning: Either the condition '!nl' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] dte-1.10/src/block-iter.c:324:5: note: Assuming that condition '!nl' is not redundant dte-1.10/src/block-iter.c:325:32: note: Null pointer subtraction dte-1.10/src/block-iter.c:344:32: warning: Either the condition '!nl' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] dte-1.10/src/block-iter.c:343:5: note: Assuming that condition '!nl' is not redundant dte-1.10/src/block-iter.c:344:32: note: Null pointer subtraction dte-1.10/src/block-iter.c:78:12: style: Variable 'blk' can be declared as pointer to const [constVariablePointer] dte-1.10/src/block.c:38:25: style:inconclusive: Function 'block_new' argument 1 names different: declaration 'size' definition 'alloc'. [funcArgNamesDifferent] dte-1.10/src/block.h:32:25: note: Function 'block_new' argument 1 names different: declaration 'size' definition 'alloc'. dte-1.10/src/block.c:38:25: note: Function 'block_new' argument 1 names different: declaration 'size' definition 'alloc'. dte-1.10/src/block.c:94:15: style: Variable 'prev_node' can be declared as pointer to const [constVariablePointer] dte-1.10/src/block.c:222:12: style: Variable 'blk' can be declared as pointer to const [constVariablePointer] dte-1.10/src/block.c:258:15: style: Variable 'saved_prev_node' can be declared as pointer to const [constVariablePointer] dte-1.10/src/block.c:275:19: style: Variable 'next' can be declared as pointer to const [constVariablePointer] dte-1.10/src/util/path.h:83:29: warning: Either the condition 'slash==NULL' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] dte-1.10/src/util/path.h:81:5: note: Assuming that condition 'slash==NULL' is not redundant dte-1.10/src/util/path.h:83:29: note: Null pointer subtraction dte-1.10/src/change.c:282:27: style:inconclusive: Function 'free_changes' argument 1 names different: declaration 'head' definition 'ch'. [funcArgNamesDifferent] dte-1.10/src/change.h:31:27: note: Function 'free_changes' argument 1 names different: declaration 'head' definition 'ch'. dte-1.10/src/change.c:282:27: note: Function 'free_changes' argument 1 names different: declaration 'head' definition 'ch'. dte-1.10/src/cmdline.c:183:63: style: Parameter 'hist' can be declared as pointer to const [constParameterPointer] dte-1.10/src/command/env.c:20:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable user_config_dir [valueFlowBailoutIncompleteVar] dte-1.10/src/command/env.c:25:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] dte-1.10/src/command/env.c:33:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] dte-1.10/src/command/env.c:38:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable view [valueFlowBailoutIncompleteVar] dte-1.10/src/command/env.c:43:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable view [valueFlowBailoutIncompleteVar] dte-1.10/src/command/macro.c:44:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTR_ARRAY_INIT [valueFlowBailoutIncompleteVar] dte-1.10/src/command/macro.c:79:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTR_ARRAY_INIT [valueFlowBailoutIncompleteVar] dte-1.10/src/command/macro.c:128:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable commands [valueFlowBailoutIncompleteVar] dte-1.10/src/command/parse.c:142:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable length [valueFlowBailoutIncompleteVar] dte-1.10/src/command/parse.c:184:47: style:inconclusive: Function 'find_end' argument 2 names different: declaration 'pos' definition 'startpos'. [funcArgNamesDifferent] dte-1.10/src/command/parse.h:16:41: note: Function 'find_end' argument 2 names different: declaration 'pos' definition 'startpos'. dte-1.10/src/command/parse.c:184:47: note: Function 'find_end' argument 2 names different: declaration 'pos' definition 'startpos'. dte-1.10/src/command/run.c:28:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTR_ARRAY_INIT [valueFlowBailoutIncompleteVar] dte-1.10/src/command/run.c:103:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTR_ARRAY_INIT [valueFlowBailoutIncompleteVar] dte-1.10/src/regexp.h:20:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] dte-1.10/src/regexp.h:26:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOSUB [valueFlowBailoutIncompleteVar] dte-1.10/src/util/checked-arith.h:14:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] dte-1.10/src/util/checked-arith.h:27:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] dte-1.10/src/util/checked-arith.h:40:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTMAX_MAX [valueFlowBailoutIncompleteVar] dte-1.10/src/util/checked-arith.h:53:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTMAX_MAX [valueFlowBailoutIncompleteVar] dte-1.10/src/commands.c:440:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] dte-1.10/src/commands.c:455:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable alloc [valueFlowBailoutIncompleteVar] dte-1.10/src/commands.c:481:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable alloc [valueFlowBailoutIncompleteVar] dte-1.10/src/commands.c:524:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] dte-1.10/src/commands.c:696:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable macro_record [valueFlowBailoutIncompleteVar] dte-1.10/src/commands.c:838:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_NOCHECK [valueFlowBailoutIncompleteVar] dte-1.10/src/commands.c:880:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dte-1.10/src/commands.c:1065:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable alloc [valueFlowBailoutIncompleteVar] dte-1.10/src/commands.c:1369:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dte-1.10/src/commands.c:1739:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dte-1.10/src/commands.c:1566:31: style: Condition 'max>0' is always true [knownConditionTrueFalse] dte-1.10/src/commands.c:1565:44: note: Assignment 'max=buffer->nl-window->edit_h+1', assigned value is greater than 0 dte-1.10/src/commands.c:1566:31: note: Condition 'max>0' is always true dte-1.10/src/util/bsearch.h:46:5: warning: Either the condition '!name_field_name' is redundant or there is possible null pointer dereference: name_field_name. [nullPointerRedundantCheck] dte-1.10/src/util/bsearch.h:45:5: note: Assuming that condition '!name_field_name' is not redundant dte-1.10/src/util/bsearch.h:46:5: note: Null pointer dereference dte-1.10/src/commands.c:835:5: warning: Either the condition '!args' is redundant or there is possible null pointer dereference: args. [nullPointerRedundantCheck] dte-1.10/src/commands.c:834:5: note: Assuming that condition '!args' is not redundant dte-1.10/src/commands.c:835:5: note: Null pointer dereference dte-1.10/src/commands.c:299:15: style: Variable 'c' can be declared as pointer to const [constVariablePointer] dte-1.10/src/commands.c:1604:11: style: Variable 'pattern' can be declared as pointer to const [constVariablePointer] dte-1.10/src/commands.c:1786:14: style: Variable 'tf' can be declared as pointer to const [constVariablePointer] dte-1.10/src/commands.c:2240:9: style: Modulo of one is always equal to zero [moduloofone] dte-1.10/src/commands.c:2256:9: style: Modulo of one is always equal to zero [moduloofone] dte-1.10/src/completion.c:97:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] dte-1.10/src/completion.c:304:22: style: Variable 'tf' can be declared as pointer to const [constVariablePointer] dte-1.10/src/config.c:79:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable builtin_configs [valueFlowBailoutIncompleteVar] dte-1.10/src/config.c:88:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable builtin_configs [valueFlowBailoutIncompleteVar] dte-1.10/src/config.c:100:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable builtin_configs [valueFlowBailoutIncompleteVar] dte-1.10/src/config.c:110:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable builtin_configs [valueFlowBailoutIncompleteVar] dte-1.10/src/config.c:139:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dte-1.10/src/config.c:114:78: style:inconclusive: Function 'do_read_config' argument 3 names different: declaration 'f' definition 'flags'. [funcArgNamesDifferent] dte-1.10/src/config.h:33:78: note: Function 'do_read_config' argument 3 names different: declaration 'f' definition 'flags'. dte-1.10/src/config.c:114:78: note: Function 'do_read_config' argument 3 names different: declaration 'f' definition 'flags'. dte-1.10/src/config.c:156:75: style:inconclusive: Function 'read_config' argument 3 names different: declaration 'f' definition 'flags'. [funcArgNamesDifferent] dte-1.10/src/config.h:34:75: note: Function 'read_config' argument 3 names different: declaration 'f' definition 'flags'. dte-1.10/src/config.c:156:75: note: Function 'read_config' argument 3 names different: declaration 'f' definition 'flags'. dte-1.10/src/config.c:50:15: style: Variable 'end' can be declared as pointer to const [constVariablePointer] dte-1.10/src/util/xreadwrite.h:15:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dte-1.10/src/convert.c:254:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIX32 [valueFlowBailoutIncompleteVar] dte-1.10/src/convert.c:273:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dte-1.10/src/convert.c:379:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iconv_t [valueFlowBailoutIncompleteVar] dte-1.10/src/convert.c:392:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iconv_t [valueFlowBailoutIncompleteVar] dte-1.10/src/convert.c:444:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dte-1.10/src/convert.c:666:60: style:inconclusive: Function 'file_decoder_read_line' argument 2 names different: declaration 'line' definition 'linep'. [funcArgNamesDifferent] dte-1.10/src/convert.h:16:60: note: Function 'file_decoder_read_line' argument 2 names different: declaration 'line' definition 'linep'. dte-1.10/src/convert.c:666:60: note: Function 'file_decoder_read_line' argument 2 names different: declaration 'line' definition 'linep'. dte-1.10/src/convert.c:666:75: style:inconclusive: Function 'file_decoder_read_line' argument 3 names different: declaration 'len' definition 'lenp'. [funcArgNamesDifferent] dte-1.10/src/convert.h:16:74: note: Function 'file_decoder_read_line' argument 3 names different: declaration 'len' definition 'lenp'. dte-1.10/src/convert.c:666:75: note: Function 'file_decoder_read_line' argument 3 names different: declaration 'len' definition 'lenp'. dte-1.10/src/convert.c:413:11: style: Variable 'nl' can be declared as pointer to const [constVariablePointer] dte-1.10/src/edit.c:806:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable alloc [valueFlowBailoutIncompleteVar] dte-1.10/src/editor.c:103:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable version [valueFlowBailoutIncompleteVar] dte-1.10/src/editor.c:140:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dte-1.10/src/editorconfig/editorconfig.h:32:1: error: There is an unknown macro here somewhere. Configuration is required. If NONNULL_ARG is a macro then please configure it. [unknownMacro] dte-1.10/src/editorconfig/ini.c:54:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRING_VIEW_INIT [valueFlowBailoutIncompleteVar] dte-1.10/src/editorconfig/match.c:205:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] dte-1.10/src/editorconfig/match.c:94:51: style:inconclusive: Function 'ec_pattern_match' argument 2 names different: declaration 'pat_len' definition 'pattern_len'. [funcArgNamesDifferent] dte-1.10/src/editorconfig/match.h:9:51: note: Function 'ec_pattern_match' argument 2 names different: declaration 'pat_len' definition 'pattern_len'. dte-1.10/src/editorconfig/match.c:94:51: note: Function 'ec_pattern_match' argument 2 names different: declaration 'pat_len' definition 'pattern_len'. dte-1.10/src/encoding.c:104:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] dte-1.10/src/error.c:47:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dte-1.10/src/error.c:56:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dte-1.10/src/util/xstdio.h:17:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] dte-1.10/src/file-history.c:98:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dte-1.10/src/file-history.c:126:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] dte-1.10/src/util/xstdio.h:13:5: error: Array 'mode[2]' accessed at index 2, which is out of bounds. [arrayIndexOutOfBounds] dte-1.10/src/editorconfig/editorconfig.h:24:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable indent_size [valueFlowBailoutIncompleteVar] dte-1.10/src/file-option.c:111:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NEWLINE [valueFlowBailoutIncompleteVar] dte-1.10/src/file-option.c:84:31: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] dte-1.10/src/filetype.c:74:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NEWLINE [valueFlowBailoutIncompleteVar] dte-1.10/src/filetype.c:142:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NEWLINE [valueFlowBailoutIncompleteVar] dte-1.10/src/filetype/basenames.c:96:24: style: Modulo of one is always equal to zero [moduloofone] dte-1.10/src/filetype/interpreters.c:67:24: style: Modulo of one is always equal to zero [moduloofone] dte-1.10/src/filetype/basenames.c:93:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NONE [valueFlowBailoutIncompleteVar] dte-1.10/src/filetype/extensions.c:197:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NONE [valueFlowBailoutIncompleteVar] dte-1.10/src/filetype/ignored-exts.c:29:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ft_compare [valueFlowBailoutIncompleteVar] dte-1.10/src/filetype/interpreters.c:64:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NONE [valueFlowBailoutIncompleteVar] dte-1.10/src/filetype/signatures.c:16:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NONE [valueFlowBailoutIncompleteVar] dte-1.10/src/history.c:105:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dte-1.10/src/history.c:125:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] dte-1.10/src/indent.c:61:40: style:inconclusive: Function 'get_indent_info' argument 1 names different: declaration 'buf' definition 'line'. [funcArgNamesDifferent] dte-1.10/src/indent.h:28:40: note: Function 'get_indent_info' argument 1 names different: declaration 'buf' definition 'line'. dte-1.10/src/indent.c:61:40: note: Function 'get_indent_info' argument 1 names different: declaration 'buf' definition 'line'. dte-1.10/src/load-save.c:151:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] dte-1.10/src/load-save.c:231:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dte-1.10/src/load-save.c:264:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dte-1.10/src/load-save.c:409:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] dte-1.10/src/load-save.c:392:31: style: Variable 'u1' is assigned a value that is never used. [unreadVariable] dte-1.10/src/load-save.c:393:31: style: Variable 'u2' is assigned a value that is never used. [unreadVariable] dte-1.10/src/lock.c:103:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] dte-1.10/src/lock.c:43:15: style: Variable 'nl' can be declared as pointer to const [constVariablePointer] dte-1.10/src/main.c:73:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] dte-1.10/src/main.c:123:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable handle_sigtstp [valueFlowBailoutIncompleteVar] dte-1.10/src/main.c:172:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dte-1.10/src/main.c:190:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] dte-1.10/src/main.c:272:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] dte-1.10/src/main.c:85:5: style:inconclusive: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] dte-1.10/src/move.c:204:46: style: Parameter 'bi' can be declared as pointer to const [constParameterPointer] dte-1.10/src/msg.c:32:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer_id [valueFlowBailoutIncompleteVar] dte-1.10/src/options.c:201:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NEWLINE [valueFlowBailoutIncompleteVar] dte-1.10/src/options.c:243:19: style: Variable 'valp' can be declared as pointer to const [constVariablePointer] dte-1.10/src/options.c:278:19: style: Variable 'valp' can be declared as pointer to const [constVariablePointer] dte-1.10/src/options.c:285:11: style: Variable 'valp' can be declared as pointer to const [constVariablePointer] dte-1.10/src/options.c:316:11: style: Variable 'valp' can be declared as pointer to const [constVariablePointer] dte-1.10/src/options.c:497:60: error: Uninitialized variable: &b.options [uninitvar] dte-1.10/src/regexp.c:15:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NEWLINE [valueFlowBailoutIncompleteVar] dte-1.10/src/regexp.c:77:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] dte-1.10/src/regexp.c:68:5: style: Modulo of one is always equal to zero [moduloofone] dte-1.10/src/screen-status.c:36:10: warning: Either the condition '!str' is redundant or there is possible null pointer dereference: str. [nullPointerRedundantCheck] dte-1.10/src/screen-status.c:35:5: note: Assuming that condition '!str' is not redundant dte-1.10/src/screen-status.c:36:10: note: Null pointer dereference dte-1.10/src/screen-tabbar.c:99:31: warning: Either the condition 'truncated_count==0' is redundant or there is division by zero at line 99. [zerodivcond] dte-1.10/src/screen-tabbar.c:98:9: note: Assuming that condition 'truncated_count==0' is not redundant dte-1.10/src/screen-tabbar.c:99:31: note: Division by zero dte-1.10/src/screen-tabbar.c:100:31: warning: Either the condition 'truncated_count==0' is redundant or there is division by zero at line 100. [zerodivcond] dte-1.10/src/screen-tabbar.c:98:9: note: Assuming that condition 'truncated_count==0' is not redundant dte-1.10/src/screen-tabbar.c:100:31: note: Division by zero dte-1.10/src/screen-tabbar.c:155:27: style:inconclusive: Function 'print_tabbar' argument 1 names different: declaration 'w' definition 'win'. [funcArgNamesDifferent] dte-1.10/src/screen.h:25:27: note: Function 'print_tabbar' argument 1 names different: declaration 'w' definition 'win'. dte-1.10/src/screen-tabbar.c:155:27: note: Function 'print_tabbar' argument 1 names different: declaration 'w' definition 'win'. dte-1.10/src/screen-view.c:182:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TAB_CONTROL [valueFlowBailoutIncompleteVar] dte-1.10/src/screen-view.c:308:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] dte-1.10/src/screen-view.c:368:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TAB_NORMAL [valueFlowBailoutIncompleteVar] dte-1.10/src/screen-view.c:210:16: style: Variable 'cc' can be declared as pointer to const [constVariablePointer] dte-1.10/src/screen.c:63:37: style: Parameter 'win' can be declared as pointer to const. However it seems that 'print_separator' is a callback function, if 'win' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dte-1.10/src/screen.c:77:21: note: You might need to cast the function pointer here dte-1.10/src/screen.c:63:37: note: Parameter 'win' can be declared as pointer to const dte-1.10/src/search.c:22:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] dte-1.10/src/search.c:81:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] dte-1.10/src/search.c:120:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NEWLINE [valueFlowBailoutIncompleteVar] dte-1.10/src/search.c:175:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NEWLINE [valueFlowBailoutIncompleteVar] dte-1.10/src/search.c:282:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rm_eo [valueFlowBailoutIncompleteVar] dte-1.10/src/search.c:334:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rm_eo [valueFlowBailoutIncompleteVar] dte-1.10/src/search.c:414:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NEWLINE [valueFlowBailoutIncompleteVar] dte-1.10/src/search.c:63:36: style: Parameter 'regex' can be declared as pointer to const [constParameterPointer] dte-1.10/src/search.c:310:14: style: Parameter 're' can be declared as pointer to const [constParameterPointer] dte-1.10/src/spawn.c:49:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rm_so [valueFlowBailoutIncompleteVar] dte-1.10/src/spawn.c:94:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dte-1.10/src/spawn.c:126:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dte-1.10/src/spawn.c:169:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] dte-1.10/src/spawn.c:213:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dte-1.10/src/spawn.c:226:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] dte-1.10/src/spawn.c:278:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dte-1.10/src/spawn.c:349:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] dte-1.10/src/spawn.c:386:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dte-1.10/src/spawn.c:442:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dte-1.10/src/syntax/color.c:58:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TermColor [valueFlowBailoutIncompleteVar] dte-1.10/src/syntax/color.c:133:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] dte-1.10/src/syntax/highlight.c:454:48: style:inconclusive: Function 'hl_delete' argument 3 names different: declaration 'lines' definition 'deleted_nl'. [funcArgNamesDifferent] dte-1.10/src/syntax/highlight.h:13:48: note: Function 'hl_delete' argument 3 names different: declaration 'lines' definition 'deleted_nl'. dte-1.10/src/syntax/highlight.c:454:48: note: Function 'hl_delete' argument 3 names different: declaration 'lines' definition 'deleted_nl'. dte-1.10/src/syntax/highlight.c:282:19: style: Parameter 's' can be declared as pointer to const [constParameterPointer] dte-1.10/src/syntax/state.c:44:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_INVALID [valueFlowBailoutIncompleteVar] dte-1.10/src/syntax/state.c:64:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_INVALID [valueFlowBailoutIncompleteVar] dte-1.10/src/syntax/state.c:237:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] dte-1.10/src/syntax/state.c:254:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_EAT [valueFlowBailoutIncompleteVar] dte-1.10/src/syntax/state.c:282:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_HEREDOCBEGIN [valueFlowBailoutIncompleteVar] dte-1.10/src/syntax/state.c:365:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_INVALID [valueFlowBailoutIncompleteVar] dte-1.10/src/syntax/state.c:501:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable command_cmp [valueFlowBailoutIncompleteVar] dte-1.10/src/syntax/state.c:511:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CFG_MUST_EXIST [valueFlowBailoutIncompleteVar] dte-1.10/src/syntax/state.c:531:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CFG_MUST_EXIST [valueFlowBailoutIncompleteVar] dte-1.10/src/syntax/state.c:555:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_config [valueFlowBailoutIncompleteVar] dte-1.10/src/syntax/state.c:579:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable user_config_dir [valueFlowBailoutIncompleteVar] dte-1.10/src/syntax/state.c:553:60: style:inconclusive: Function 'load_syntax_file' argument 2 names different: declaration 'f' definition 'flags'. [funcArgNamesDifferent] dte-1.10/src/syntax/state.h:7:60: note: Function 'load_syntax_file' argument 2 names different: declaration 'f' definition 'flags'. dte-1.10/src/syntax/state.c:553:60: note: Function 'load_syntax_file' argument 2 names different: declaration 'f' definition 'flags'. dte-1.10/src/syntax/state.c:232:15: style: Variable 'oldval' can be declared as pointer to const [constVariablePointer] dte-1.10/src/syntax/syntax.c:84:47: style:inconclusive: Function 'merge_syntax' argument 2 names different: declaration 'm' definition 'merge'. [funcArgNamesDifferent] dte-1.10/src/syntax/syntax.h:119:47: note: Function 'merge_syntax' argument 2 names different: declaration 'm' definition 'merge'. dte-1.10/src/syntax/syntax.c:84:47: note: Function 'merge_syntax' argument 2 names different: declaration 'm' definition 'merge'. dte-1.10/src/tag.c:108:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dte-1.10/src/tag.c:174:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable filename [valueFlowBailoutIncompleteVar] dte-1.10/src/tag.c:235:48: style:inconclusive: Function 'tag_file_get_tag_filename' argument 1 names different: declaration 'tf' definition 'tagfile'. [funcArgNamesDifferent] dte-1.10/src/tag.h:9:48: note: Function 'tag_file_get_tag_filename' argument 1 names different: declaration 'tf' definition 'tagfile'. dte-1.10/src/tag.c:235:48: note: Function 'tag_file_get_tag_filename' argument 1 names different: declaration 'tf' definition 'tagfile'. dte-1.10/src/tag.c:235:68: style:inconclusive: Function 'tag_file_get_tag_filename' argument 2 names different: declaration 't' definition 'tag'. [funcArgNamesDifferent] dte-1.10/src/tag.h:9:63: note: Function 'tag_file_get_tag_filename' argument 2 names different: declaration 't' definition 'tag'. dte-1.10/src/tag.c:235:68: note: Function 'tag_file_get_tag_filename' argument 2 names different: declaration 't' definition 'tag'. dte-1.10/src/tag.c:251:11: style: Variable 'prev' can be declared as pointer to const [constVariablePointer] dte-1.10/src/terminal/input.c:53:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable esc_timeout [valueFlowBailoutIncompleteVar] dte-1.10/src/terminal/input.c:249:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dte-1.10/src/terminal/mode.c:21:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICRNL [valueFlowBailoutIncompleteVar] dte-1.10/src/terminal/mode.c:49:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSANOW [valueFlowBailoutIncompleteVar] dte-1.10/src/terminal/output.c:27:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TAB_CONTROL [valueFlowBailoutIncompleteVar] dte-1.10/src/terminal/output.c:161:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TAB_CONTROL [valueFlowBailoutIncompleteVar] dte-1.10/src/terminal/output.c:187:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TAB_CONTROL [valueFlowBailoutIncompleteVar] dte-1.10/src/terminal/output.c:206:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TAB_SPECIAL [valueFlowBailoutIncompleteVar] dte-1.10/src/terminal/output.c:237:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TAB_CONTROL [valueFlowBailoutIncompleteVar] dte-1.10/src/terminal/terminal.c:172:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dte-1.10/src/terminal/winsize.c:37:45: debug: Function::addArguments found argument 'w' with varid 0. [varid0] dte-1.10/src/terminal/xterm.c:138:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNICODE_MAX_VALID_CODEPOINT [valueFlowBailoutIncompleteVar] dte-1.10/src/util/base64.h:15:26: style: Local variable 'base64_table' shadows outer variable [shadowVariable] dte-1.10/src/util/base64.c:8:15: note: Shadowed declaration dte-1.10/src/util/base64.h:15:26: note: Shadow variable dte-1.10/src/util/debug.c:135:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dte-1.10/src/util/debug.c:155:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dte-1.10/src/util/exec.c:15:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] dte-1.10/src/util/exec.c:54:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dte-1.10/src/util/exec.c:88:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] dte-1.10/src/util/exec.c:154:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dte-1.10/src/util/exec.c:197:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dte-1.10/src/util/hashmap.c:25:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] dte-1.10/src/util/hashmap.c:73:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOVERFLOW [valueFlowBailoutIncompleteVar] dte-1.10/src/util/hashmap.c:84:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] dte-1.10/src/util/hashmap.c:183:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOVERFLOW [valueFlowBailoutIncompleteVar] dte-1.10/src/util/hashmap.c:205:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] dte-1.10/src/util/hashmap.c:214:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] dte-1.10/src/util/hashmap.c:244:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entries [valueFlowBailoutIncompleteVar] dte-1.10/src/util/hashmap.c:80:40: style:inconclusive: Function 'hashmap_init' argument 2 names different: declaration 'capacity' definition 'size'. [funcArgNamesDifferent] dte-1.10/src/util/hashmap.h:60:40: note: Function 'hashmap_init' argument 2 names different: declaration 'capacity' definition 'size'. dte-1.10/src/util/hashmap.c:80:40: note: Function 'hashmap_init' argument 2 names different: declaration 'capacity' definition 'size'. dte-1.10/src/util/hashmap.h:48:17: style: Local variable 'tombstone' shadows outer variable [shadowVariable] dte-1.10/src/util/hashmap.c:10:6: note: Shadowed declaration dte-1.10/src/util/hashmap.h:48:17: note: Shadow variable dte-1.10/src/util/hashmap.c:128:13: style: Variable 'err' is assigned a value that is never used. [unreadVariable] dte-1.10/src/util/hashset.c:20:40: style:inconclusive: Function 'hashset_init' argument 2 names different: declaration 'initial_size' definition 'size'. [funcArgNamesDifferent] dte-1.10/src/util/hashset.h:28:40: note: Function 'hashset_init' argument 2 names different: declaration 'initial_size' definition 'size'. dte-1.10/src/util/hashset.c:20:40: note: Function 'hashset_init' argument 2 names different: declaration 'initial_size' definition 'size'. dte-1.10/src/util/hashset.c:132:19: style: Variable 'e' can be declared as pointer to const [constVariablePointer] dte-1.10/src/util/path.c:9:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dte-1.10/src/util/path.c:6:33: style:inconclusive: Function 'path_absolute' argument 1 names different: declaration 'filename' definition 'path'. [funcArgNamesDifferent] dte-1.10/src/util/path.h:89:33: note: Function 'path_absolute' argument 1 names different: declaration 'filename' definition 'path'. dte-1.10/src/util/path.c:6:33: note: Function 'path_absolute' argument 1 names different: declaration 'filename' definition 'path'. dte-1.10/src/util/ptr-array.c:70:50: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] dte-1.10/src/util/readfile.c:11:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dte-1.10/src/util/string.c:29:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] dte-1.10/src/util/string.c:130:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] dte-1.10/src/util/strtonum.c:146:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] dte-1.10/src/util/strtonum.h:17:26: style: Local variable 'hex_table' shadows outer variable [shadowVariable] dte-1.10/src/util/strtonum.c:11:15: note: Shadowed declaration dte-1.10/src/util/strtonum.h:17:26: note: Shadow variable dte-1.10/src/util/unicode.c:76:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable display_invisible [valueFlowBailoutIncompleteVar] dte-1.10/src/util/unicode.c:97:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable display_invisible [valueFlowBailoutIncompleteVar] dte-1.10/src/util/unicode.c:108:37: style:inconclusive: Function 'u_char_width' argument 1 names different: declaration 'uch' definition 'u'. [funcArgNamesDifferent] dte-1.10/src/util/unicode.h:75:37: note: Function 'u_char_width' argument 1 names different: declaration 'uch' definition 'u'. dte-1.10/src/util/unicode.c:108:37: note: Function 'u_char_width' argument 1 names different: declaration 'uch' definition 'u'. dte-1.10/src/util/xmalloc.c:70:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dte-1.10/src/util/xreadwrite.c:13:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dte-1.10/src/util/xreadwrite.c:34:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dte-1.10/src/util/xreadwrite.c:48:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dte-1.10/src/util/xsnprintf.c:10:26: style:inconclusive: Function 'xvsnprintf' argument 3 names different: declaration 'fmt' definition 'format'. [funcArgNamesDifferent] dte-1.10/src/util/xsnprintf.h:12:72: note: Function 'xvsnprintf' argument 3 names different: declaration 'fmt' definition 'format'. dte-1.10/src/util/xsnprintf.c:10:26: note: Function 'xvsnprintf' argument 3 names different: declaration 'fmt' definition 'format'. dte-1.10/src/util/xsnprintf.c:23:71: style:inconclusive: Function 'xsnprintf' argument 3 names different: declaration 'fmt' definition 'format'. [funcArgNamesDifferent] dte-1.10/src/util/xsnprintf.h:9:71: note: Function 'xsnprintf' argument 3 names different: declaration 'fmt' definition 'format'. dte-1.10/src/util/xsnprintf.c:23:71: note: Function 'xsnprintf' argument 3 names different: declaration 'fmt' definition 'format'. dte-1.10/src/view.c:107:36: style: Condition 'max_y>=0' is always true [knownConditionTrueFalse] dte-1.10/src/view.c:106:43: note: Assignment 'max_y=v->buffer->nl-w->edit_h+1', assigned value is greater than 0 dte-1.10/src/view.c:107:36: note: Condition 'max_y>=0' is always true dte-1.10/src/view.c:65:13: style: Variable 'w' can be declared as pointer to const [constVariablePointer] dte-1.10/src/view.c:82:13: style: Variable 'w' can be declared as pointer to const [constVariablePointer] dte-1.10/src/view.c:95:13: style: Variable 'w' can be declared as pointer to const [constVariablePointer] dte-1.10/src/window.c:69:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dte-1.10/src/window.c:136:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cursor [valueFlowBailoutIncompleteVar] dte-1.10/src/window.c:521:14: warning: Either the condition '!next_or_prev' is redundant or there is possible null pointer dereference: next_or_prev. [nullPointerRedundantCheck] dte-1.10/src/window.c:517:5: note: Assuming that condition '!next_or_prev' is not redundant dte-1.10/src/window.c:521:14: note: Null pointer dereference dte-1.10/src/window.c:141:32: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] dte-1.10/test/bind.c:11:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOD_CTRL [valueFlowBailoutIncompleteVar] dte-1.10/test/bind.c:37:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable commands [valueFlowBailoutIncompleteVar] dte-1.10/test/cmdline.c:12:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cmdline [valueFlowBailoutIncompleteVar] dte-1.10/test/cmdline.c:130:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buf [valueFlowBailoutIncompleteVar] dte-1.10/test/command.c:402:5: error: There is an unknown macro here somewhere. Configuration is required. If UNIGNORE_WARNINGS is a macro then please configure it. [unknownMacro] dte-1.10/test/config.c:230:1: error: There is an unknown macro here somewhere. Configuration is required. If DISABLE_WARNING is a macro then please configure it. [unknownMacro] dte-1.10/test/data/test.c:5:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dte-1.10/test/dump.c:44:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTR_ARRAY_INIT [valueFlowBailoutIncompleteVar] dte-1.10/test/editorconfig.c:86:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INDENT_STYLE_SPACE [valueFlowBailoutIncompleteVar] dte-1.10/test/encoding.c:26:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNKNOWN_ENCODING [valueFlowBailoutIncompleteVar] dte-1.10/test/encoding.c:42:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UTF8 [valueFlowBailoutIncompleteVar] dte-1.10/test/encoding.c:67:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UTF8 [valueFlowBailoutIncompleteVar] dte-1.10/test/encoding.c:10:7: style: Local variable 'tests' shadows outer variable [shadowVariable] dte-1.10/test/encoding.c:75:24: note: Shadowed declaration dte-1.10/test/encoding.c:10:7: note: Shadow variable dte-1.10/test/encoding.c:41:7: style: Local variable 'tests' shadows outer variable [shadowVariable] dte-1.10/test/encoding.c:75:24: note: Shadowed declaration dte-1.10/test/encoding.c:41:7: note: Shadow variable dte-1.10/test/filetype.c:105:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRING_VIEW_INIT [valueFlowBailoutIncompleteVar] dte-1.10/test/filetype.c:10:7: style: Local variable 'tests' shadows outer variable [shadowVariable] dte-1.10/test/filetype.c:223:24: note: Shadowed declaration dte-1.10/test/filetype.c:10:7: note: Shadow variable dte-1.10/test/filetype.c:117:7: style: Local variable 'tests' shadows outer variable [shadowVariable] dte-1.10/test/filetype.c:223:24: note: Shadowed declaration dte-1.10/test/filetype.c:117:7: note: Shadow variable dte-1.10/test/history.c:86:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable max_entries [valueFlowBailoutIncompleteVar] dte-1.10/test/main.c:46:5: error: There is an unknown macro here somewhere. Configuration is required. If UNIGNORE_WARNINGS is a macro then please configure it. [unknownMacro] dte-1.10/test/syntax.c:71:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BitSetWord [valueFlowBailoutIncompleteVar] dte-1.10/test/syntax.c:78:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] dte-1.10/test/terminal.c:22:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATTR_REVERSE [valueFlowBailoutIncompleteVar] dte-1.10/test/terminal.c:75:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_BLUE [valueFlowBailoutIncompleteVar] dte-1.10/test/terminal.c:133:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATTR_REVERSE [valueFlowBailoutIncompleteVar] dte-1.10/test/terminal.c:161:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOD_SHIFT [valueFlowBailoutIncompleteVar] dte-1.10/test/terminal.c:356:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_UP [valueFlowBailoutIncompleteVar] dte-1.10/test/terminal.c:454:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_INSERT [valueFlowBailoutIncompleteVar] dte-1.10/test/terminal.c:516:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_SPACE [valueFlowBailoutIncompleteVar] dte-1.10/test/terminal.c:558:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_TAB [valueFlowBailoutIncompleteVar] dte-1.10/test/terminal.c:580:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buf [valueFlowBailoutIncompleteVar] dte-1.10/test/terminal.c:588:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable count [valueFlowBailoutIncompleteVar] dte-1.10/test/terminal.c:621:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable count [valueFlowBailoutIncompleteVar] dte-1.10/test/terminal.c:630:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable count [valueFlowBailoutIncompleteVar] dte-1.10/test/terminal.c:645:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable count [valueFlowBailoutIncompleteVar] dte-1.10/test/terminal.c:665:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable color_type [valueFlowBailoutIncompleteVar] dte-1.10/test/terminal.c:19:7: style: Local variable 'tests' shadows outer variable [shadowVariable] dte-1.10/test/terminal.c:701:24: note: Shadowed declaration dte-1.10/test/terminal.c:19:7: note: Shadow variable dte-1.10/test/terminal.c:63:7: style: Local variable 'tests' shadows outer variable [shadowVariable] dte-1.10/test/terminal.c:701:24: note: Shadowed declaration dte-1.10/test/terminal.c:63:7: note: Shadow variable dte-1.10/test/terminal.c:130:7: style: Local variable 'tests' shadows outer variable [shadowVariable] dte-1.10/test/terminal.c:701:24: note: Shadowed declaration dte-1.10/test/terminal.c:130:7: note: Shadow variable dte-1.10/test/terminal.c:160:7: style: Local variable 'tests' shadows outer variable [shadowVariable] dte-1.10/test/terminal.c:701:24: note: Shadowed declaration dte-1.10/test/terminal.c:160:7: note: Shadow variable dte-1.10/test/terminal.c:511:7: style: Local variable 'tests' shadows outer variable [shadowVariable] dte-1.10/test/terminal.c:701:24: note: Shadowed declaration dte-1.10/test/terminal.c:511:7: note: Shadow variable dte-1.10/test/test.c:11:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dte-1.10/test/test.c:86:58: style:inconclusive: Function 'expect_null' argument 3 names different: declaration 'p' definition 'ptr'. [funcArgNamesDifferent] dte-1.10/test/test.h:65:58: note: Function 'expect_null' argument 3 names different: declaration 'p' definition 'ptr'. dte-1.10/test/test.c:86:58: note: Function 'expect_null' argument 3 names different: declaration 'p' definition 'ptr'. dte-1.10/test/test.c:95:61: style:inconclusive: Function 'expect_nonnull' argument 3 names different: declaration 'p' definition 'ptr'. [funcArgNamesDifferent] dte-1.10/test/test.h:66:61: note: Function 'expect_nonnull' argument 3 names different: declaration 'p' definition 'ptr'. dte-1.10/test/test.c:95:61: note: Function 'expect_nonnull' argument 3 names different: declaration 'p' definition 'ptr'. dte-1.10/test/test.c:104:32: style:inconclusive: Function 'iexpect_streq' argument 1 names different: declaration 'file' definition 'f'. [funcArgNamesDifferent] dte-1.10/test/test.h:67:32: note: Function 'iexpect_streq' argument 1 names different: declaration 'file' definition 'f'. dte-1.10/test/test.c:104:32: note: Function 'iexpect_streq' argument 1 names different: declaration 'file' definition 'f'. dte-1.10/test/test.c:104:39: style:inconclusive: Function 'iexpect_streq' argument 2 names different: declaration 'line' definition 'l'. [funcArgNamesDifferent] dte-1.10/test/test.h:67:42: note: Function 'iexpect_streq' argument 2 names different: declaration 'line' definition 'l'. dte-1.10/test/test.c:104:39: note: Function 'iexpect_streq' argument 2 names different: declaration 'line' definition 'l'. dte-1.10/test/test.c:104:64: style:inconclusive: Function 'iexpect_streq' argument 4 names different: declaration 's1' definition 'a'. [funcArgNamesDifferent] dte-1.10/test/test.h:67:70: note: Function 'iexpect_streq' argument 4 names different: declaration 's1' definition 'a'. dte-1.10/test/test.c:104:64: note: Function 'iexpect_streq' argument 4 names different: declaration 's1' definition 'a'. dte-1.10/test/test.c:104:79: style:inconclusive: Function 'iexpect_streq' argument 5 names different: declaration 's2' definition 'b'. [funcArgNamesDifferent] dte-1.10/test/test.h:67:86: note: Function 'iexpect_streq' argument 5 names different: declaration 's2' definition 'b'. dte-1.10/test/test.c:104:79: note: Function 'iexpect_streq' argument 5 names different: declaration 's2' definition 'b'. dte-1.10/test/util.c:39:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNUSED [valueFlowBailoutIncompleteVar] dte-1.10/test/util.c:82:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTMAX_MAX [valueFlowBailoutIncompleteVar] dte-1.10/test/util.c:118:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HEX_INVALID [valueFlowBailoutIncompleteVar] dte-1.10/test/util.c:296:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_CTYPE [valueFlowBailoutIncompleteVar] dte-1.10/test/util.c:334:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE64_PADDING [valueFlowBailoutIncompleteVar] dte-1.10/test/util.c:362:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRING_INIT [valueFlowBailoutIncompleteVar] dte-1.10/test/util.c:589:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTMAX_MAX [valueFlowBailoutIncompleteVar] dte-1.10/test/util.c:1070:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTR_ARRAY_INIT [valueFlowBailoutIncompleteVar] dte-1.10/test/util.c:1097:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTR_ARRAY_INIT [valueFlowBailoutIncompleteVar] dte-1.10/test/util.c:1226:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] dte-1.10/test/util.c:1510:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dte-1.10/test/util.c:1598:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] dte-1.10/test/util.c:1619:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] dte-1.10/test/util.c:1678:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] dte-1.10/test/util.c:298:9: warning:inconclusive: Invalid isalpha() argument nr 1. The value is -1 but the valid values are '0:255'. [invalidFunctionArg] dte-1.10/test/util.c:297:19: note: Assignment 'i=-1', assigned value is -1 dte-1.10/test/util.c:298:9: note: Invalid argument dte-1.10/test/util.c:299:9: warning:inconclusive: Invalid isalnum() argument nr 1. The value is -1 but the valid values are '0:255'. [invalidFunctionArg] dte-1.10/test/util.c:297:19: note: Assignment 'i=-1', assigned value is -1 dte-1.10/test/util.c:299:9: note: Invalid argument dte-1.10/test/util.c:300:9: warning:inconclusive: Invalid islower() argument nr 1. The value is -1 but the valid values are '0:255'. [invalidFunctionArg] dte-1.10/test/util.c:297:19: note: Assignment 'i=-1', assigned value is -1 dte-1.10/test/util.c:300:9: note: Invalid argument dte-1.10/test/util.c:301:9: warning:inconclusive: Invalid isupper() argument nr 1. The value is -1 but the valid values are '0:255'. [invalidFunctionArg] dte-1.10/test/util.c:297:19: note: Assignment 'i=-1', assigned value is -1 dte-1.10/test/util.c:301:9: note: Invalid argument dte-1.10/test/util.c:302:9: warning:inconclusive: Invalid iscntrl() argument nr 1. The value is -1 but the valid values are '0:255'. [invalidFunctionArg] dte-1.10/test/util.c:297:19: note: Assignment 'i=-1', assigned value is -1 dte-1.10/test/util.c:302:9: note: Invalid argument dte-1.10/test/util.c:303:9: warning:inconclusive: Invalid isdigit() argument nr 1. The value is -1 but the valid values are '0:255'. [invalidFunctionArg] dte-1.10/test/util.c:297:19: note: Assignment 'i=-1', assigned value is -1 dte-1.10/test/util.c:303:9: note: Invalid argument dte-1.10/test/util.c:304:9: warning:inconclusive: Invalid isblank() argument nr 1. The value is -1 but the valid values are '0:255'. [invalidFunctionArg] dte-1.10/test/util.c:297:19: note: Assignment 'i=-1', assigned value is -1 dte-1.10/test/util.c:304:9: note: Invalid argument dte-1.10/test/util.c:305:9: warning:inconclusive: Invalid isprint() argument nr 1. The value is -1 but the valid values are '0:255'. [invalidFunctionArg] dte-1.10/test/util.c:297:19: note: Assignment 'i=-1', assigned value is -1 dte-1.10/test/util.c:305:9: note: Invalid argument dte-1.10/test/util.c:306:9: warning:inconclusive: Invalid isxdigit() argument nr 1. The value is -1 but the valid values are '0:255'. [invalidFunctionArg] dte-1.10/test/util.c:297:19: note: Assignment 'i=-1', assigned value is -1 dte-1.10/test/util.c:306:9: note: Invalid argument dte-1.10/test/util.c:307:9: warning:inconclusive: Invalid isalpha() argument nr 1. The value is -1 but the valid values are '0:255'. [invalidFunctionArg] dte-1.10/test/util.c:297:19: note: Assignment 'i=-1', assigned value is -1 dte-1.10/test/util.c:307:9: note: Invalid argument dte-1.10/test/util.c:613:19: style: Comparing expression of type 'unsigned int' against value 4294967295. Condition is always true. [compareValueOutOfTypeRangeError] dte-1.10/test/util.c:54:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] dte-1.10/test/util.c:57:9: warning: %llu in format string (no. 1) requires 'unsigned long long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] dte-1.10/test/util.c:614:31: style: The comparison '4294967295u == 0xFFFFFFFF' is always true. [knownConditionTrueFalse] dte-1.10/test/util.c:1441:7: style: Local variable 'tests' shadows outer variable [shadowVariable] dte-1.10/test/util.c:1686:24: note: Shadowed declaration dte-1.10/test/util.c:1441:7: note: Shadow variable dte-1.10/test/util.c:1468:7: style: Local variable 'tests' shadows outer variable [shadowVariable] dte-1.10/test/util.c:1686:24: note: Shadowed declaration dte-1.10/test/util.c:1468:7: note: Shadow variable dte-1.10/test/util.c:1188:23: style: Variable 'e' can be declared as pointer to const [constVariablePointer] dte-1.10/test/util.c:1210:23: style: Variable 'e' can be declared as pointer to const [constVariablePointer] dte-1.10/test/util.c:1232:23: style: Variable 'e' can be declared as pointer to const [constVariablePointer] dte-1.10/test/util.c:1242:23: style: Variable 'e' can be declared as pointer to const [constVariablePointer] dte-1.10/test/util.c:1280:23: style: Variable 'e' can be declared as pointer to const [constVariablePointer] dte-1.10/test/util.c:1363:19: style: Variable 'e1' can be declared as pointer to const [constVariablePointer] dte-1.10/test/util.c:1367:19: style: Variable 'e2' can be declared as pointer to const [constVariablePointer] diff: DONE