2024-03-27 06:59 ftp://ftp.de.debian.org/debian/pool/main/g/glimpse/glimpse_4.18.7.orig.tar.gz cppcheck-options: --library=posix --library=gnu --check-library --inconclusive --enable=style,information --inline-suppr --disable=missingInclude --suppress=unmatchedSuppression --template=daca2 --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j6 platform: Linux-6.6.15-amd64-x86_64-with-glibc2.37 python: 3.11.8 client-version: 1.3.53 compiler: g++ (Debian 13.2.0-13) 13.2.0 cppcheck: head 2.13.0 head-info: 99853e4 (2024-03-27 05:16:23 +0100) count: 1007 810 elapsed-time: 150.9 52.3 head-timing-info: old-timing-info: head results: glimpse-4.18.7/agrep/checkfile.c:48:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/putils.c:38:17: debug: Function::addArguments found argument 'tokenbuf' with varid 0. [varid0] glimpse-4.18.7/agrep/bitap.c:498:1: portability: Omitted return type of function 'fill_buf' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/agrep/checksg.c:29:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/putils.c:45:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tokenbuf [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/asplit.c:37:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/asplit.c:90:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/asplit.c:136:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/asplit.c:341:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/asplit.c:386:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/checksg.c:105:4: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] glimpse-4.18.7/agrep/checksg.c:108:4: note: Found duplicate branches for 'if' and 'else'. glimpse-4.18.7/agrep/checksg.c:105:4: note: Found duplicate branches for 'if' and 'else'. glimpse-4.18.7/agrep/checksg.c:15:7: style: Parameter 'Pattern' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/agrep/compat.c:28:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/asearch1.c:113:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/delim.c:51:31: debug: Function::addArguments found argument 'delim' with varid 0. [varid0] glimpse-4.18.7/agrep/delim.c:86:31: debug: Function::addArguments found argument 'delim' with varid 0. [varid0] glimpse-4.18.7/agrep/delim.c:33:31: debug: Function::addArguments found argument 'delim' with varid 0. [varid0] glimpse-4.18.7/agrep/delim.c:9:23: debug: Function::addArguments found argument 'dest' with varid 0. [varid0] glimpse-4.18.7/agrep/delim.c:20:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dest [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/delim.c:39:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable delim [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/delim.c:61:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable delim [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/delim.c:92:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable delim [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/delim.c:74:23: style: Redundant initialization for 'retval'. The initialized value is overwritten before it is read. [redundantInitialization] glimpse-4.18.7/agrep/delim.c:55:43: note: retval is initialized glimpse-4.18.7/agrep/delim.c:74:23: note: retval is overwritten glimpse-4.18.7/agrep/delim.c:9:17: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/agrep/dummyfilters.c:54:30: debug: Function::addArguments found argument 'delim' with varid 0. [varid0] glimpse-4.18.7/agrep/dummyfilters.c:62:30: debug: Function::addArguments found argument 'delim' with varid 0. [varid0] glimpse-4.18.7/agrep/putils.c:7:8: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/agrep/dummyfilters.c:62:16: style: Parameter 'begin' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/agrep/dummysyscalls.c:6:8: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/agrep/dummysyscalls.c:14:8: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/agrep/dummysyscalls.c:15:8: style: Parameter 'flags' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/agrep/dummysyscalls.c:22:8: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/agrep/dummysyscalls.c:38:8: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/agrep/follow.c:129:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/follow.c:181:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/io.c:8:1: portability: Omitted return type of function 'fill_buf' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/agrep/io.c:44:1: portability: Omitted return type of function 'alloc_buf' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/agrep/io.c:55:1: portability: Omitted return type of function 'free_buf' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/agrep/io.c:31:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable agrep_inlen [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/follow.c:25:7: style: Parameter 's' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/agrep/main.c:29:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/maskgen.c:32:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_ERR_MASK [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/newmgrep.c:740:39: debug: Function::addArguments found argument 'curtextend' with varid 0. [varid0] glimpse-4.18.7/agrep/newmgrep.c:181:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/newmgrep.c:456:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/newmgrep.c:743:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SILENT [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/newmgrep.c:936:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WORDBOUND [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/newmgrep.c:1414:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WHOLELINE [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/maskgen.c:88:18: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] glimpse-4.18.7/agrep/parse.c:45:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/parse.c:76:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/parse.c:128:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/parse.c:181:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/parse.c:245:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/parse.c:277:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/parse.c:303:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/parse.c:47:8: style: Condition 'l==NULL' is always false [knownConditionTrueFalse] glimpse-4.18.7/agrep/parse.c:47:24: style: Condition 'node==NULL' is always false [knownConditionTrueFalse] glimpse-4.18.7/agrep/parse.c:48:9: style: Condition 'l!=NULL' is always true [knownConditionTrueFalse] glimpse-4.18.7/agrep/parse.c:246:8: style: Condition 'r==NULL' is always false [knownConditionTrueFalse] glimpse-4.18.7/agrep/parse.c:278:8: style: Condition 'r==NULL' is always false [knownConditionTrueFalse] glimpse-4.18.7/agrep/parse.c:304:11: style: Condition 'node==NULL' is always false [knownConditionTrueFalse] glimpse-4.18.7/agrep/parse.c:377:13: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/parse.c:384:13: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/bitap.c:62:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/preprocess.c:175:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/asearch.c:138:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/asearch.c:743:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/agrep.c:343:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/agrep.c:394:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/agrep.c:1486:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/agrep.c:2301:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/agrep.c:2459:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/agrep.c:3174:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/agrep.c:3449:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/agrep.c:3854:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/agrep.c:3907:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/agrep.c:4068:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/recursive.c:115:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/recursive.c:150:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/recursive.c:159:12: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] glimpse-4.18.7/agrep/recursive.c:141:17: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/sgrep.c:654:34: debug: Function::addArguments found argument 'oldpat' with varid 0. [varid0] glimpse-4.18.7/agrep/sgrep.c:1063:43: debug: Function::addArguments found argument 'oldpat' with varid 0. [varid0] glimpse-4.18.7/agrep/sgrep.c:1237:46: debug: Function::addArguments found argument 'oldpat' with varid 0. [varid0] glimpse-4.18.7/agrep/sgrep.c:1518:27: debug: Function::addArguments found argument 'textend' with varid 0. [varid0] glimpse-4.18.7/agrep/sgrep.c:1841:27: debug: Function::addArguments found argument 'textend' with varid 0. [varid0] glimpse-4.18.7/agrep/sgrep.c:2247:38: debug: Function::addArguments found argument 'textend' with varid 0. [varid0] glimpse-4.18.7/agrep/newmgrep.c:845:4: portability: %d in format string (no. 1) requires 'int' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] glimpse-4.18.7/agrep/newmgrep.c:849:4: portability: %d in format string (no. 1) requires 'int' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] glimpse-4.18.7/agrep/newmgrep.c:505:12: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/newmgrep.c:588:12: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/newmgrep.c:730:16: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/agrep/newmgrep.c:740:17: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/agrep/newmgrep.c:746:12: style: Variable 'prevstring' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/newmgrep.c:770:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/newmgrep.c:884:9: style: Variable 'lastout' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/newmgrep.c:1399:9: style: Variable 'lastout' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/newmgrep.c:1833:8: style: Parameter 'Pattern' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/agrep/newmgrep.c:1995:7: style: Parameter 'tr' can be declared as const array [constParameter] glimpse-4.18.7/agrep/newmgrep.c:1089:29: warning: Uninitialized variable: curtextend [uninitvar] glimpse-4.18.7/agrep/newmgrep.c:903:14: note: Assuming condition is false glimpse-4.18.7/agrep/newmgrep.c:1089:29: note: Uninitialized variable: curtextend glimpse-4.18.7/agrep/newmgrep.c:1572:29: warning: Uninitialized variable: curtextend [uninitvar] glimpse-4.18.7/agrep/newmgrep.c:1416:16: note: Assuming condition is false glimpse-4.18.7/agrep/newmgrep.c:1572:29: note: Uninitialized variable: curtextend glimpse-4.18.7/agrep/newmgrep.c:1090:14: style: Variable 'DOWITHMASK' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/newmgrep.c:1092:4: style: Variable 'num' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/newmgrep.c:1109:33: style: Variable 'lastout' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/newmgrep.c:1573:14: style: Variable 'DOWITHMASK' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/newmgrep.c:1592:33: style: Variable 'lastout' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/newmgrep.c:1388:6: style: Variable 'm1' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/newmgrep.c:1997:27: style: Unused variable: initk [unusedVariable] glimpse-4.18.7/agrep/asearch1.c:160:32: style: Condition '!(lasti>=num_read)' is always false [knownConditionTrueFalse] glimpse-4.18.7/agrep/asearch1.c:157:34: note: Assuming that condition 'lasti>=49152+num_read-1' is not redundant glimpse-4.18.7/agrep/asearch1.c:160:32: note: Condition '!(lasti>=num_read)' is always false glimpse-4.18.7/agrep/asearch1.c:160:40: style: Condition 'lasti>=num_read' is always true [knownConditionTrueFalse] glimpse-4.18.7/agrep/asearch1.c:157:34: note: Assuming that condition 'lasti>=49152+num_read-1' is not redundant glimpse-4.18.7/agrep/asearch1.c:160:40: note: Condition 'lasti>=num_read' is always true glimpse-4.18.7/agrep/asearch1.c:257:32: style: Condition '!(lasti>=num_read)' is always false [knownConditionTrueFalse] glimpse-4.18.7/agrep/asearch1.c:254:34: note: Assuming that condition 'lasti>=49152+num_read-1' is not redundant glimpse-4.18.7/agrep/asearch1.c:257:32: note: Condition '!(lasti>=num_read)' is always false glimpse-4.18.7/agrep/asearch1.c:257:40: style: Condition 'lasti>=num_read' is always true [knownConditionTrueFalse] glimpse-4.18.7/agrep/asearch1.c:254:34: note: Assuming that condition 'lasti>=49152+num_read-1' is not redundant glimpse-4.18.7/agrep/asearch1.c:257:40: note: Condition 'lasti>=num_read' is always true glimpse-4.18.7/agrep/asearch1.c:27:6: style: Parameter 'old_D_pat' can be declared as const array [constParameter] glimpse-4.18.7/agrep/asearch1.c:120:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/asearch1.c:217:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/utilities.c:157:23: debug: Function::addArguments found argument 'line' with varid 0. [varid0] glimpse-4.18.7/communicate.c:280:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXLINE [valueFlowBailoutIncompleteVar] glimpse-4.18.7/communicate.c:385:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NAME_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/communicate.c:433:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NAME_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/utilities.c:21:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/utilities.c:89:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/utilities.c:124:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/utilities.c:160:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/utilities.c:22:24: style: Condition 'node==NULL' is always false [knownConditionTrueFalse] glimpse-4.18.7/agrep/utilities.c:90:11: style: Condition 'new==NULL' is always false [knownConditionTrueFalse] glimpse-4.18.7/agrep/utilities.c:103:12: style: Condition 'new==NULL' is always false [knownConditionTrueFalse] glimpse-4.18.7/agrep/utilities.c:125:8: style: Condition 'x==NULL' is always false [knownConditionTrueFalse] glimpse-4.18.7/agrep/utilities.c:157:16: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/agrep/utilities.c:160:26: style: Variable 'lineend' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/sgrep.c:146:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOUPPER [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/sgrep.c:236:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WHOLELINE [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/sgrep.c:688:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WORDBOUND [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/sgrep.c:1155:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable oldpat [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/sgrep.c:1302:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/sgrep.c:1481:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/sgrep.c:1555:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WORDBOUND [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/sgrep.c:1915:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/sgrep.c:2262:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable textend [valueFlowBailoutIncompleteVar] glimpse-4.18.7/communicate.c:37:8: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/compress/cast.c:42:1: portability: Omitted return type of function 'initialize_tcompress' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/compress/cast.c:69:1: portability: Omitted return type of function 'uninitialize_tcompress' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/compress/cast.c:140:1: portability: Omitted return type of function 'tcompressible_file' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/compress/cast.c:160:1: portability: Omitted return type of function 'tcompressible_fp' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/compress/cast.c:735:1: portability: Omitted return type of function 'tcompress_file' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/compress/hash.c:168:1: portability: Omitted return type of function 'thash4k' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/compress/hash.c:522:1: portability: Omitted return type of function 'pad_hash_file' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/compress/cast.c:50:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_64K_HASH [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/cast.c:76:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_64K_HASH [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/cast.c:101:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/cast.c:118:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/cast.c:150:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/cast.c:169:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/cast.c:249:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NAME_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/cast.c:455:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_WORD_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/cast.c:473:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NAME_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/trecursive.c:95:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/cast.c:745:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/hash.c:92:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/hash.c:141:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/hash.c:233:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/hash.c:271:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/hash.c:308:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/hash.c:344:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/hash.c:381:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_WORD_BUF [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/hash.c:528:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NAME_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/hash.c:562:2: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] glimpse-4.18.7/compress/hash.c:562:2: warning: %d in format string (no. 2) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] glimpse-4.18.7/compress/hash.c:591:4: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] glimpse-4.18.7/compress/hash.c:591:4: warning: %d in format string (no. 2) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] glimpse-4.18.7/compress/hash.c:610:4: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] glimpse-4.18.7/compress/hash.c:610:4: warning: %d in format string (no. 2) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] glimpse-4.18.7/compress/hash.c:562:2: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] glimpse-4.18.7/compress/hash.c:591:4: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] glimpse-4.18.7/compress/hash.c:610:4: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] glimpse-4.18.7/compress/hash.c:136:8: style: Local variable 'hashfp' shadows outer variable [shadowVariable] glimpse-4.18.7/compress/hash.c:454:8: note: Shadowed declaration glimpse-4.18.7/compress/hash.c:136:8: note: Shadow variable glimpse-4.18.7/compress/hash.c:266:8: style: Local variable 'hashfp' shadows outer variable [shadowVariable] glimpse-4.18.7/compress/hash.c:454:8: note: Shadowed declaration glimpse-4.18.7/compress/hash.c:266:8: note: Shadow variable glimpse-4.18.7/compress/hash.c:304:8: style: Local variable 'hashfp' shadows outer variable [shadowVariable] glimpse-4.18.7/compress/hash.c:454:8: note: Shadowed declaration glimpse-4.18.7/compress/hash.c:304:8: note: Shadow variable glimpse-4.18.7/compress/hash.c:30:16: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/compress/hash.c:133:17: style: Parameter 'HASHFILE' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/compress/hash.c:169:9: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/compress/hash.c:263:17: style: Parameter 'HASHFILE' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/compress/hash.c:301:17: style: Parameter 'HASHFILE' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/compress/main_cast.c:15:1: portability: Omitted return type of function 'usage' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/compress/main_cast.c:34:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/compress/main_cast.c:18:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/main_cast.c:41:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/main_cast.c:16:8: style: Parameter 'progname' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/compress/main_cast.c:46:8: style: Variable 'home' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/compress/main_tbuild.c:17:1: portability: Omitted return type of function 'usage' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/compress/main_tbuild.c:20:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/main_tbuild.c:30:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/main_tbuild.c:18:7: style: Parameter 'progname' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/compress/main_tbuild.c:33:8: style: Variable 'home' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/compress/main_uncast.c:15:1: portability: Omitted return type of function 'usage' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/compress/main_uncast.c:34:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/compress/main_uncast.c:18:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/main_uncast.c:41:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/main_uncast.c:16:7: style: Parameter 'progname' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/compress/main_uncast.c:46:8: style: Variable 'home' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/compress/misc.c:34:1: portability: Omitted return type of function 'set_usemalloc' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/compress/misc.c:39:1: portability: Omitted return type of function 'unset_usemalloc' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/compress/misc.c:61:1: portability: Omitted return type of function 'myfpcopy' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/compress/misc.c:75:1: portability: Omitted return type of function 'mystrcpy' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/compress/misc.c:203:1: portability: Omitted return type of function 'build_freq' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/compress/misc.c:274:1: portability: Omitted return type of function 'initialize_common' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/compress/misc.c:291:1: portability: Omitted return type of function 'uninitialize_common' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/compress/misc.c:370:31: debug: Function::addArguments found argument 'delim' with varid 0. [varid0] glimpse-4.18.7/compress/misc.c:398:31: debug: Function::addArguments found argument 'delim' with varid 0. [varid0] glimpse-4.18.7/compress/misc.c:218:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/misc.c:381:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable delim [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/misc.c:409:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable delim [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/trecursive.c:104:12: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] glimpse-4.18.7/compress/cast.c:835:2: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] glimpse-4.18.7/compress/cast.c:248:12: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] glimpse-4.18.7/compress/cast.c:240:5: note: c is assigned glimpse-4.18.7/compress/cast.c:248:12: note: c is overwritten glimpse-4.18.7/compress/cast.c:43:8: style: Parameter 'hash_file' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/compress/cast.c:93:8: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/compress/cast.c:97:8: style: Variable 'sig' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/compress/cast.c:449:7: style: Parameter 'word' can be declared as const array [constParameter] glimpse-4.18.7/compress/cast.c:482:8: style: Variable 'sig' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/compress/trecursive.c:90:17: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/compress/quick.c:53:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/quick.c:154:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/misc.c:255:13: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] glimpse-4.18.7/compress/misc.c:47:17: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/compress/misc.c:207:9: style: Parameter 'freq_file' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/compress/misc.c:304:8: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/compress/misc.c:304:15: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/compress/misc.c:428:8: style: Parameter 'original' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/compress/misc.c:96:10: style: struct member 'Anonymous3::y2' is never used. [unusedStructMember] glimpse-4.18.7/compress/string.c:213:1: portability: Omitted return type of function 'pad_string_file' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/compress/string.c:22:31: debug: Function::addArguments found argument 'index_file' with varid 0. [varid0] glimpse-4.18.7/compress/string.c:29:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/string.c:58:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_WORD_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/string.c:219:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NAME_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/string.c:24:8: style: Local variable 'stringfp' shadows outer variable [shadowVariable] glimpse-4.18.7/compress/string.c:75:8: note: Shadowed declaration glimpse-4.18.7/compress/string.c:24:8: note: Shadow variable glimpse-4.18.7/compress/string.c:22:17: style: Parameter 'string_file' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/compress/quick.c:109:78: style: Condition '(hashindexsize=fread(hashindexbuf,1,statbuf.st_size,hashindexfp))==-1' is always false [knownConditionTrueFalse] glimpse-4.18.7/compress/quick.c:45:8: style: Parameter 'hash_file' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/compress/quick.c:145:8: style: Parameter 'string_file' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/compress/test.c:18:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/compress/tbuild.c:35:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NAME_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/tmemlook.c:18:17: style: Variable 'text_begin' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/compress/tsimpletest.c:32:1: portability: Omitted return type of function 'ttest_binary' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/compress/tsimpletest.c:51:1: portability: Omitted return type of function 'ttest_uuencode' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/compress/tsimpletest.c:67:14: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] glimpse-4.18.7/compress/tsimpletest.c:33:16: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/compress/tsimpletest.c:84:8: style: Variable 'first' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/compress/tsimpletest.c:71:8: style: Variable 'j' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/compress/tsimpletest.c:89:13: style: Variable 'first' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/compress/tbuild.c:98:10: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] glimpse-4.18.7/compress/tbuild.c:169:12: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] glimpse-4.18.7/compress/tbuild.c:193:12: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] glimpse-4.18.7/compress/tbuild.c:104:8: style: Local variable 'i' shadows outer variable [shadowVariable] glimpse-4.18.7/compress/tbuild.c:44:6: note: Shadowed declaration glimpse-4.18.7/compress/tbuild.c:104:8: note: Shadow variable glimpse-4.18.7/compress/tbuild.c:32:7: style: Parameter 'comp_dir' can be declared as const array [constParameter] glimpse-4.18.7/dynfilters/sotest.c:14:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/dynfilters/sotest.c:21:2: error: Resource leak: handle [resourceLeak] glimpse-4.18.7/dynfilters/sotest.c:10:11: style: Variable 'error' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/compress/uncast.c:39:1: portability: Omitted return type of function 'initialize_tuncompress' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/compress/uncast.c:66:1: portability: Omitted return type of function 'uninitialize_tuncompress' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/compress/uncast.c:128:1: portability: Omitted return type of function 'tuncompressible_fp' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/get_filename.c:43:1: portability: Omitted return type of function 'read_filenames' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/get_filename.c:484:1: portability: Omitted return type of function 'get_filenames' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/compress/uncast.c:53:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/uncast.c:104:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/uncast.c:354:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/uncast.c:537:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/get_filename.c:46:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NAME_SIZE [valueFlowBailoutIncompleteVar] glimpse-4.18.7/get_filename.c:126:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEF_MAX_INDEX_PERCENT [valueFlowBailoutIncompleteVar] glimpse-4.18.7/get_filename.c:299:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NAME_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/get_filename.c:496:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PAT [valueFlowBailoutIncompleteVar] glimpse-4.18.7/compress/uncast.c:624:2: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] glimpse-4.18.7/compress/uncast.c:40:8: style: Parameter 'string_file' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/compress/uncast.c:85:8: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/compress/uncast.c:88:8: style: Variable 'sig' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/get_index.c:43:1: portability: Omitted return type of function 'free_list' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/get_index.c:56:1: portability: Omitted return type of function 'sorted_union' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/get_index.c:118:1: portability: Omitted return type of function 'sorted_intersection' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/get_index.c:225:1: portability: Omitted return type of function 'purge_offsets' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/get_index.c:241:1: portability: Omitted return type of function 'get_set' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/get_index.c:489:1: portability: Omitted return type of function 'get_index' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/get_index.c:697:1: portability: Omitted return type of function 'mgrep_get_index' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/get_index.c:1120:1: portability: Omitted return type of function 'fillup_target' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/get_index.c:51:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offsets [valueFlowBailoutIncompleteVar] glimpse-4.18.7/get_index.c:99:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offsets [valueFlowBailoutIncompleteVar] glimpse-4.18.7/get_index.c:171:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offsets [valueFlowBailoutIncompleteVar] glimpse-4.18.7/get_index.c:234:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offsets [valueFlowBailoutIncompleteVar] glimpse-4.18.7/get_index.c:264:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WORD_END_MARK [valueFlowBailoutIncompleteVar] glimpse-4.18.7/get_index.c:508:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OR_EXP [valueFlowBailoutIncompleteVar] glimpse-4.18.7/get_index.c:721:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PAT [valueFlowBailoutIncompleteVar] glimpse-4.18.7/get_index.c:1056:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/get_index.c:1128:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PAT [valueFlowBailoutIncompleteVar] glimpse-4.18.7/get_index.c:1230:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEAF [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/communicate.c:280:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXLINE [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/communicate.c:385:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NAME_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/communicate.c:433:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NAME_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/communicate.c:37:8: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/glimpse/get_filename.c:43:1: portability: Omitted return type of function 'read_filenames' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/glimpse/get_filename.c:484:1: portability: Omitted return type of function 'get_filenames' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/glimpse/get_filename.c:46:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NAME_SIZE [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/get_filename.c:126:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEF_MAX_INDEX_PERCENT [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/get_filename.c:299:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NAME_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/get_filename.c:496:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PAT [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/get_index.c:43:1: portability: Omitted return type of function 'free_list' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/glimpse/get_index.c:56:1: portability: Omitted return type of function 'sorted_union' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/glimpse/get_index.c:118:1: portability: Omitted return type of function 'sorted_intersection' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/glimpse/get_index.c:225:1: portability: Omitted return type of function 'purge_offsets' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/glimpse/get_index.c:241:1: portability: Omitted return type of function 'get_set' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/glimpse/get_index.c:489:1: portability: Omitted return type of function 'get_index' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/glimpse/get_index.c:697:1: portability: Omitted return type of function 'mgrep_get_index' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/glimpse/get_index.c:1120:1: portability: Omitted return type of function 'fillup_target' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/glimpse/get_index.c:51:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offsets [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/get_index.c:99:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offsets [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/get_index.c:171:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offsets [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/get_index.c:234:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offsets [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/get_index.c:264:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WORD_END_MARK [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/get_index.c:508:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OR_EXP [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/get_index.c:721:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PAT [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/get_index.c:1056:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/get_index.c:1128:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PAT [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/get_index.c:1230:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEAF [valueFlowBailoutIncompleteVar] glimpse-4.18.7/get_index.c:175:20: style: Condition '(*p1)->done&&0' is always false [knownConditionTrueFalse] glimpse-4.18.7/get_index.c:439:13: style: Condition '!RecordLevelIndex' is always true [knownConditionTrueFalse] glimpse-4.18.7/get_index.c:415:7: note: Assuming that condition 'RecordLevelIndex' is not redundant glimpse-4.18.7/get_index.c:439:13: note: Condition '!RecordLevelIndex' is always true glimpse-4.18.7/get_index.c:747:10: error: Null pointer dereference: f_in [nullPointer] glimpse-4.18.7/get_index.c:741:9: note: Assignment 'f_in=NULL', assigned value is 0 glimpse-4.18.7/get_index.c:747:10: note: Null pointer dereference glimpse-4.18.7/get_index.c:747:10: error: Null pointer dereference [nullPointer] glimpse-4.18.7/get_index.c:159:5: style: Redundant initialization for 'p1'. The initialized value is overwritten before it is read. [redundantInitialization] glimpse-4.18.7/get_index.c:122:31: note: p1 is initialized glimpse-4.18.7/get_index.c:159:5: note: p1 is overwritten glimpse-4.18.7/get_index.c:562:3: style: Label 'ret_is_1' is not used. [unusedLabel] glimpse-4.18.7/get_index.c:597:3: style: Label 'both_are_1' is not used. [unusedLabel] glimpse-4.18.7/get_index.c:852:4: style: Label 'ret_is_1' is not used. [unusedLabel] glimpse-4.18.7/get_index.c:891:4: style: Label 'both_are_1' is not used. [unusedLabel] glimpse-4.18.7/get_index.c:1295:5: style: Label 'ret_is_1' is not used. [unusedLabel] glimpse-4.18.7/get_index.c:1329:5: style: Label 'both_are_1' is not used. [unusedLabel] glimpse-4.18.7/get_index.c:490:7: style: Parameter 'infile' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/get_index.c:698:7: style: Parameter 'infile' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/get_index.c:702:5: style: Parameter 'pat_lens' can be declared as const array [constParameter] glimpse-4.18.7/get_index.c:703:5: style: Parameter 'pat_attr' can be declared as const array [constParameter] glimpse-4.18.7/get_index.c:1029:8: style: Parameter 'argv' can be declared as const array [constParameter] glimpse-4.18.7/get_index.c:1031:8: style: Parameter 'pat_list' can be declared as const array [constParameter] glimpse-4.18.7/get_index.c:1032:6: style: Parameter 'pat_lens' can be declared as const array [constParameter] glimpse-4.18.7/get_index.c:1033:8: style: Parameter 'minifp' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/get_index.c:60:31: style: Variable 'p1' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/get_index.c:124:18: style: Unused variable: tp [unusedVariable] glimpse-4.18.7/get_index.c:609:18: style: Variable 'first_time' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/get_index.c:621:18: style: Variable 'first_time' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/get_index.c:639:19: style: Variable 'first_time' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/get_index.c:717:6: style: Variable 'x' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/get_index.c:717:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/get_index.c:717:16: style: Variable 'even_words' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/get_index.c:1186:16: style: Variable 'dummylen' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/get_index.c:1202:14: style: Variable 'first_time' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/get_index.c:1341:20: style: Variable 'first_time' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/get_index.c:1352:20: style: Variable 'first_time' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/get_index.c:1371:21: style: Variable 'first_time' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/asearch.c:186:32: style: Condition '!(lasti>=l)' is always false [knownConditionTrueFalse] glimpse-4.18.7/agrep/asearch.c:183:35: note: Assuming that condition 'lasti>=49152+l-1' is not redundant glimpse-4.18.7/agrep/asearch.c:186:32: note: Condition '!(lasti>=l)' is always false glimpse-4.18.7/agrep/asearch.c:186:40: style: Condition 'lasti>=l' is always true [knownConditionTrueFalse] glimpse-4.18.7/agrep/asearch.c:183:35: note: Assuming that condition 'lasti>=49152+l-1' is not redundant glimpse-4.18.7/agrep/asearch.c:186:40: note: Condition 'lasti>=l' is always true glimpse-4.18.7/agrep/asearch.c:316:32: style: Condition '!(lasti>=l)' is always false [knownConditionTrueFalse] glimpse-4.18.7/agrep/asearch.c:313:34: note: Assuming that condition 'lasti>=49152+l-1' is not redundant glimpse-4.18.7/agrep/asearch.c:316:32: note: Condition '!(lasti>=l)' is always false glimpse-4.18.7/agrep/asearch.c:316:40: style: Condition 'lasti>=l' is always true [knownConditionTrueFalse] glimpse-4.18.7/agrep/asearch.c:313:34: note: Assuming that condition 'lasti>=49152+l-1' is not redundant glimpse-4.18.7/agrep/asearch.c:316:40: note: Condition 'lasti>=l' is always true glimpse-4.18.7/agrep/asearch.c:791:32: style: Condition '!(lasti>=l)' is always false [knownConditionTrueFalse] glimpse-4.18.7/agrep/asearch.c:788:34: note: Assuming that condition 'lasti>=49152+l-1' is not redundant glimpse-4.18.7/agrep/asearch.c:791:32: note: Condition '!(lasti>=l)' is always false glimpse-4.18.7/agrep/asearch.c:791:40: style: Condition 'lasti>=l' is always true [knownConditionTrueFalse] glimpse-4.18.7/agrep/asearch.c:788:34: note: Assuming that condition 'lasti>=49152+l-1' is not redundant glimpse-4.18.7/agrep/asearch.c:791:40: note: Condition 'lasti>=l' is always true glimpse-4.18.7/agrep/asearch.c:891:32: style: Condition '!(lasti>=l)' is always false [knownConditionTrueFalse] glimpse-4.18.7/agrep/asearch.c:888:34: note: Assuming that condition 'lasti>=49152+l-1' is not redundant glimpse-4.18.7/agrep/asearch.c:891:32: note: Condition '!(lasti>=l)' is always false glimpse-4.18.7/agrep/asearch.c:891:40: style: Condition 'lasti>=l' is always true [knownConditionTrueFalse] glimpse-4.18.7/agrep/asearch.c:888:34: note: Assuming that condition 'lasti>=49152+l-1' is not redundant glimpse-4.18.7/agrep/asearch.c:891:40: note: Condition 'lasti>=l' is always true glimpse-4.18.7/agrep/asearch.c:223:8: style: Variable 'B0' is reassigned a value before the old one has been used. [redundantAssignment] glimpse-4.18.7/agrep/asearch.c:208:9: note: B0 is assigned glimpse-4.18.7/agrep/asearch.c:223:8: note: B0 is overwritten glimpse-4.18.7/agrep/asearch.c:227:8: style: Variable 'B1' is reassigned a value before the old one has been used. [redundantAssignment] glimpse-4.18.7/agrep/asearch.c:210:9: note: B1 is assigned glimpse-4.18.7/agrep/asearch.c:227:8: note: B1 is overwritten glimpse-4.18.7/agrep/asearch.c:145:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/asearch.c:275:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/asearch.c:668:6: style: Parameter 'old_D_pat' can be declared as const array [constParameter] glimpse-4.18.7/agrep/asearch.c:750:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/asearch.c:850:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/asearch.c:59:5: style: Variable 'A0' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/asearch.c:59:15: style: Variable 'A1' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/asearch.c:337:9: style: Variable 'A0' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/asearch.c:339:9: style: Variable 'A1' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/glimpse/split.c:496:1: portability: Omitted return type of function 'split_terminal' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/glimpse/main.c:466:1: portability: Omitted return type of function 'read_index' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/glimpse/main.c:600:1: portability: Omitted return type of function 'reinitialize_server' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/glimpse/main.c:693:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/glimpse/main.c:1289:1: portability: Omitted return type of function 'process_query' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/glimpse/split.c:30:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENDSUB_EXP [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/split.c:92:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/split.c:184:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAME [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/split.c:248:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAME [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/split.c:503:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAME [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/main.c:3481:1: portability: Omitted return type of function 'usage' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/glimpse/main.c:3561:1: portability: Omitted return type of function 'usageS' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/glimpse/get_index.c:175:20: style: Condition '(*p1)->done&&0' is always false [knownConditionTrueFalse] glimpse-4.18.7/glimpse/get_index.c:439:13: style: Condition '!RecordLevelIndex' is always true [knownConditionTrueFalse] glimpse-4.18.7/glimpse/get_index.c:415:7: note: Assuming that condition 'RecordLevelIndex' is not redundant glimpse-4.18.7/glimpse/get_index.c:439:13: note: Condition '!RecordLevelIndex' is always true glimpse-4.18.7/glimpse/get_index.c:747:10: error: Null pointer dereference: f_in [nullPointer] glimpse-4.18.7/glimpse/get_index.c:741:9: note: Assignment 'f_in=NULL', assigned value is 0 glimpse-4.18.7/glimpse/get_index.c:747:10: note: Null pointer dereference glimpse-4.18.7/glimpse/get_index.c:747:10: error: Null pointer dereference [nullPointer] glimpse-4.18.7/glimpse/get_index.c:159:5: style: Redundant initialization for 'p1'. The initialized value is overwritten before it is read. [redundantInitialization] glimpse-4.18.7/glimpse/get_index.c:122:31: note: p1 is initialized glimpse-4.18.7/glimpse/get_index.c:159:5: note: p1 is overwritten glimpse-4.18.7/glimpse/split.c:435:8: style: Local variable 'i' shadows outer variable [shadowVariable] glimpse-4.18.7/glimpse/split.c:424:36: note: Shadowed declaration glimpse-4.18.7/glimpse/split.c:435:8: note: Shadow variable glimpse-4.18.7/glimpse/split.c:435:11: style: Local variable 'j' shadows outer variable [shadowVariable] glimpse-4.18.7/glimpse/split.c:424:39: note: Shadowed declaration glimpse-4.18.7/glimpse/split.c:435:11: note: Shadow variable glimpse-4.18.7/glimpse/split.c:182:16: style: Parameter 'tokenbuf' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/glimpse/split.c:185:22: style: Variable 'k' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/glimpse/split.c:185:29: style: Variable 'l' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/glimpse/split.c:506:9: style: Unused variable: j [unusedVariable] glimpse-4.18.7/glimpse/split.c:506:12: style: Unused variable: k [unusedVariable] glimpse-4.18.7/glimpse/split.c:507:8: style: Unused variable: substring [unusedVariable] glimpse-4.18.7/glimpse/get_index.c:562:3: style: Label 'ret_is_1' is not used. [unusedLabel] glimpse-4.18.7/glimpse/get_index.c:597:3: style: Label 'both_are_1' is not used. [unusedLabel] glimpse-4.18.7/glimpse/get_index.c:852:4: style: Label 'ret_is_1' is not used. [unusedLabel] glimpse-4.18.7/glimpse/get_index.c:891:4: style: Label 'both_are_1' is not used. [unusedLabel] glimpse-4.18.7/glimpse/get_index.c:1295:5: style: Label 'ret_is_1' is not used. [unusedLabel] glimpse-4.18.7/glimpse/get_index.c:1329:5: style: Label 'both_are_1' is not used. [unusedLabel] glimpse-4.18.7/glimpse/get_index.c:490:7: style: Parameter 'infile' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/glimpse/get_index.c:698:7: style: Parameter 'infile' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/glimpse/get_index.c:702:5: style: Parameter 'pat_lens' can be declared as const array [constParameter] glimpse-4.18.7/glimpse/get_index.c:703:5: style: Parameter 'pat_attr' can be declared as const array [constParameter] glimpse-4.18.7/glimpse/get_index.c:1029:8: style: Parameter 'argv' can be declared as const array [constParameter] glimpse-4.18.7/glimpse/get_index.c:1031:8: style: Parameter 'pat_list' can be declared as const array [constParameter] glimpse-4.18.7/glimpse/get_index.c:1032:6: style: Parameter 'pat_lens' can be declared as const array [constParameter] glimpse-4.18.7/glimpse/get_index.c:1033:8: style: Parameter 'minifp' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/glimpse/get_index.c:60:31: style: Variable 'p1' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/glimpse/get_index.c:124:18: style: Unused variable: tp [unusedVariable] glimpse-4.18.7/glimpse/get_index.c:609:18: style: Variable 'first_time' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/glimpse/get_index.c:621:18: style: Variable 'first_time' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/glimpse/get_index.c:639:19: style: Variable 'first_time' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/glimpse/get_index.c:717:6: style: Variable 'x' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/glimpse/get_index.c:717:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/glimpse/get_index.c:717:16: style: Variable 'even_words' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/glimpse/get_index.c:1186:16: style: Variable 'dummylen' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/glimpse/get_index.c:1202:14: style: Variable 'first_time' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/glimpse/get_index.c:1341:20: style: Variable 'first_time' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/glimpse/get_index.c:1352:20: style: Variable 'first_time' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/glimpse/get_index.c:1371:21: style: Variable 'first_time' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/index/convert.c:319:1: portability: Omitted return type of function 'mem_name2element' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/build_in.c:128:1: portability: Omitted return type of function 'build_index' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/convert.c:93:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_END_MARK [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/build_in.c:157:1: portability: Omitted return type of function 'traverse' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/convert.c:119:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/build_in.c:602:1: portability: Omitted return type of function 'traverse1' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/convert.c:146:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/build_in.c:784:1: portability: Omitted return type of function 'build_hash' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/convert.c:192:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/build_in.c:1233:1: portability: Omitted return type of function 'init_hash_table' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/convert.c:234:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/build_in.c:1459:1: portability: Omitted return type of function 'scanword' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/convert.c:331:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/build_in.c:1484:1: portability: Omitted return type of function 'merge_in' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/convert.c:459:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/build_in.c:1898:1: portability: Omitted return type of function 'remove_filename' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/convert.c:580:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/build_in.c:1946:1: portability: Omitted return type of function 'get_new_index' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/convert.c:888:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/build_in.c:1965:1: portability: Omitted return type of function 'delete_removed_indices' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/convert.c:937:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/build_in.c:2239:1: portability: Omitted return type of function 'initialize_disable_list' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/build_in.c:1460:32: debug: Function::addArguments found argument 'buffer_end' with varid 0. [varid0] glimpse-4.18.7/index/build_in.c:186:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/build_in.c:642:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/build_in.c:817:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/build_in.c:1283:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/build_in.c:1416:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/build_in.c:1464:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer_end [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/build_in.c:1667:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/build_in.c:2013:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/sgrep.c:1524:22: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] glimpse-4.18.7/agrep/sgrep.c:1532:20: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] glimpse-4.18.7/agrep/sgrep.c:1538:13: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] glimpse-4.18.7/agrep/sgrep.c:1570:19: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] glimpse-4.18.7/agrep/sgrep.c:1583:19: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] glimpse-4.18.7/agrep/sgrep.c:1711:11: portability: Assigning a pointer to an integer is not portable. [AssignmentAddressToInteger] glimpse-4.18.7/agrep/sgrep.c:1770:12: portability: Assigning a pointer to an integer is not portable. [AssignmentAddressToInteger] glimpse-4.18.7/agrep/sgrep.c:1785:12: portability: Assigning a pointer to an integer is not portable. [AssignmentAddressToInteger] glimpse-4.18.7/agrep/sgrep.c:1792:10: portability: Assigning a pointer to an integer is not portable. [AssignmentAddressToInteger] glimpse-4.18.7/agrep/sgrep.c:1849:22: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] glimpse-4.18.7/agrep/sgrep.c:1851:20: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] glimpse-4.18.7/agrep/sgrep.c:1855:11: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] glimpse-4.18.7/agrep/sgrep.c:1857:13: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] glimpse-4.18.7/agrep/sgrep.c:1871:10: portability: Assigning a pointer to an integer is not portable. [AssignmentAddressToInteger] glimpse-4.18.7/agrep/sgrep.c:1877:20: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] glimpse-4.18.7/agrep/sgrep.c:1889:20: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] glimpse-4.18.7/agrep/sgrep.c:2005:12: portability: Assigning a pointer to an integer is not portable. [AssignmentAddressToInteger] glimpse-4.18.7/agrep/sgrep.c:2064:13: portability: Assigning a pointer to an integer is not portable. [AssignmentAddressToInteger] glimpse-4.18.7/agrep/sgrep.c:2079:13: portability: Assigning a pointer to an integer is not portable. [AssignmentAddressToInteger] glimpse-4.18.7/agrep/sgrep.c:2086:11: portability: Assigning a pointer to an integer is not portable. [AssignmentAddressToInteger] glimpse-4.18.7/agrep/sgrep.c:2093:10: portability: Assigning a pointer to an integer is not portable. [AssignmentAddressToInteger] glimpse-4.18.7/agrep/sgrep.c:2096:11: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] glimpse-4.18.7/agrep/sgrep.c:835:8: portability: %d in format string (no. 1) requires 'int' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] glimpse-4.18.7/agrep/sgrep.c:835:8: portability: %d in format string (no. 2) requires 'int' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] glimpse-4.18.7/agrep/sgrep.c:839:8: portability: %d in format string (no. 1) requires 'int' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] glimpse-4.18.7/agrep/sgrep.c:839:8: portability: %d in format string (no. 2) requires 'int' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] glimpse-4.18.7/agrep/sgrep.c:1411:4: portability: %d in format string (no. 1) requires 'int' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] glimpse-4.18.7/agrep/sgrep.c:1411:4: portability: %d in format string (no. 2) requires 'int' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] glimpse-4.18.7/agrep/sgrep.c:1415:4: portability: %d in format string (no. 1) requires 'int' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] glimpse-4.18.7/agrep/sgrep.c:1415:4: portability: %d in format string (no. 2) requires 'int' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] glimpse-4.18.7/agrep/sgrep.c:1692:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'const char *'. [invalidPrintfArgType_sint] glimpse-4.18.7/agrep/sgrep.c:1692:8: portability: %d in format string (no. 2) requires 'int' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] glimpse-4.18.7/agrep/sgrep.c:1696:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'const char *'. [invalidPrintfArgType_sint] glimpse-4.18.7/agrep/sgrep.c:1696:8: portability: %d in format string (no. 2) requires 'int' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] glimpse-4.18.7/agrep/sgrep.c:1986:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'const char *'. [invalidPrintfArgType_sint] glimpse-4.18.7/agrep/sgrep.c:1986:9: portability: %d in format string (no. 2) requires 'int' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] glimpse-4.18.7/agrep/sgrep.c:1990:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'const char *'. [invalidPrintfArgType_sint] glimpse-4.18.7/agrep/sgrep.c:1990:9: portability: %d in format string (no. 2) requires 'int' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] glimpse-4.18.7/agrep/sgrep.c:2394:9: portability: %d in format string (no. 1) requires 'int' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] glimpse-4.18.7/agrep/sgrep.c:2394:9: portability: %d in format string (no. 2) requires 'int' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] glimpse-4.18.7/agrep/sgrep.c:2398:9: portability: %d in format string (no. 1) requires 'int' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] glimpse-4.18.7/agrep/sgrep.c:2398:9: portability: %d in format string (no. 2) requires 'int' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] glimpse-4.18.7/agrep/sgrep.c:2545:16: style: Redundant assignment of 'char_map['g']' to itself. [selfAssignment] glimpse-4.18.7/agrep/sgrep.c:2546:16: style: Redundant assignment of 'char_map['t']' to itself. [selfAssignment] glimpse-4.18.7/agrep/sgrep.c:2547:16: style: Redundant assignment of 'char_map['c']' to itself. [selfAssignment] glimpse-4.18.7/agrep/sgrep.c:2548:16: style: Redundant assignment of 'char_map['n']' to itself. [selfAssignment] glimpse-4.18.7/agrep/sgrep.c:2177:29: error: Expression 'A[last+1]=A[last++]+1' depends on order of evaluation of side effects [unknownEvaluationOrder] glimpse-4.18.7/agrep/sgrep.c:2199:29: error: Expression 'B[last+1]=B[last++]+1' depends on order of evaluation of side effects [unknownEvaluationOrder] glimpse-4.18.7/agrep/sgrep.c:177:12: style: Local variable 'pat' shadows outer variable [shadowVariable] glimpse-4.18.7/agrep/sgrep.c:87:10: note: Shadowed declaration glimpse-4.18.7/agrep/sgrep.c:177:12: note: Shadow variable glimpse-4.18.7/agrep/sgrep.c:173:11: style: Parameter 'in_pat' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/agrep/sgrep.c:345:12: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/sgrep.c:457:12: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/sgrep.c:662:12: style: Variable 'textstart' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/sgrep.c:756:13: style: Variable 'prevstring' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/sgrep.c:780:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/sgrep.c:1014:11: style: Parameter 'Pattern' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/agrep/sgrep.c:1068:12: style: Variable 'textstart' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/sgrep.c:1332:9: style: Variable 'prevstring' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/sgrep.c:1356:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/sgrep.c:1475:16: style: Parameter 'Pattern' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/agrep/sgrep.c:1525:12: style: Variable 'textstart' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/sgrep.c:1613:13: style: Variable 'prevstring' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/sgrep.c:1637:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/sgrep.c:1850:12: style: Variable 'textstart' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/sgrep.c:1907:14: style: Variable 'prevstring' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/sgrep.c:1931:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/sgrep.c:2132:11: style: Parameter 'Pattern' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/agrep/sgrep.c:2149:11: style: Parameter 'pat' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/agrep/sgrep.c:2156:12: style: Variable 'textend' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/sgrep.c:2157:12: style: Variable 'textbegin' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/sgrep.c:2213:11: style: Parameter 'Pattern' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/agrep/sgrep.c:2254:12: style: Variable 'textstart' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/sgrep.c:2315:14: style: Variable 'prevstring' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/sgrep.c:2339:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/sgrep.c:2537:7: style: Parameter 'Pattern' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/agrep/sgrep.c:190:12: style: Unused variable: tempbuf [unusedVariable] glimpse-4.18.7/agrep/sgrep.c:951:12: style: Variable 'newlen' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/sgrep.c:1070:8: style: Variable 'j' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/sgrep.c:1204:12: style: Variable 'newlen' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/sgrep.c:1298:12: style: Variable 'newlen' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/sgrep.c:1310:9: style: Variable 'text' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/sgrep.c:1325:9: style: Variable 'text' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/sgrep.c:1435:11: style: Variable 'newlen' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/sgrep.c:1468:11: style: Variable 'PRINTED' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/sgrep.c:1809:12: style: Variable 'newlen' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/sgrep.c:2013:16: style: Variable 'newlen' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/sgrep.c:2052:16: style: Variable 'newlen' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/sgrep.c:2102:12: style: Variable 'newlen' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/sgrep.c:2153:20: style: Variable 'cost' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/sgrep.c:2421:16: style: Variable 'newlen' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/sgrep.c:2460:16: style: Variable 'newlen' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/sgrep.c:2507:12: style: Variable 'newlen' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/index/convert.c:891:7: warning:inconclusive: The buffer 'glimpseindex_dir' may not be null-terminated after the call to strncpy(). [terminateStrncpy] glimpse-4.18.7/index/convert.c:899:7: warning:inconclusive: The buffer 'filename_prefix' may not be null-terminated after the call to strncpy(). [terminateStrncpy] glimpse-4.18.7/index/convert.c:628:4: error: Resource handle 'fdname' freed twice. [doubleFree] glimpse-4.18.7/index/convert.c:621:3: note: Resource handle 'fdname' freed twice. glimpse-4.18.7/index/convert.c:628:4: note: Resource handle 'fdname' freed twice. glimpse-4.18.7/index/convert.c:655:4: error: Resource handle 'fdname_index' freed twice. [doubleFree] glimpse-4.18.7/index/convert.c:646:3: note: Resource handle 'fdname_index' freed twice. glimpse-4.18.7/index/convert.c:655:4: note: Resource handle 'fdname_index' freed twice. glimpse-4.18.7/index/convert.c:685:4: error: Resource handle 'fdhash' freed twice. [doubleFree] glimpse-4.18.7/index/convert.c:675:3: note: Resource handle 'fdhash' freed twice. glimpse-4.18.7/index/convert.c:685:4: note: Resource handle 'fdhash' freed twice. glimpse-4.18.7/index/convert.c:114:9: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/index/convert.c:185:17: style: Parameter 'filenames_buffer' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/index/convert.c:560:9: style: Parameter 'glimpseindex_dir' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/index/convert.c:561:9: style: Parameter 'filename_prefix' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/index/convert.c:142:7: style: Unused variable: k [unusedVariable] glimpse-4.18.7/index/convert.c:189:35: style: Unused variable: len [unusedVariable] glimpse-4.18.7/index/convert.c:327:14: style: Unused variable: ret [unusedVariable] glimpse-4.18.7/index/convert.c:411:15: style: Variable 'm' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/index/convert.c:413:8: style: Unused variable: s [unusedVariable] glimpse-4.18.7/index/convert.c:416:14: style: Unused variable: istbuf [unusedVariable] glimpse-4.18.7/index/convert.c:615:20: style: Variable 'filenames_buffer' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/index/convert.c:667:19: style: Variable 'filehash_buffer' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/index/filetype.c:276:1: portability: Omitted return type of function 'heavy_index' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/filetype.c:312:1: portability: Omitted return type of function 'hqx' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/dir.c:117:1: portability: Omitted return type of function 'fsize' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/dir.c:492:1: portability: Omitted return type of function 'fsize_directory' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/filetype.c:69:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMP_SUFFIX [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/filetype.c:189:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_END_MARK [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/dir.c:350:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/dir.c:511:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/filetype.c:170:8: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/index/filetype.c:175:15: style: Variable 'begin' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/index/filetype.c:175:35: style: Variable 'end' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/index/filetype.c:313:7: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/index/filetype.c:314:7: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/index/dir.c:519:19: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] glimpse-4.18.7/index/dir.c:325:4: style: Variable 'name[name_len]' is reassigned a value before the old one has been used. [redundantAssignment] glimpse-4.18.7/index/dir.c:317:5: note: name[name_len] is assigned glimpse-4.18.7/index/dir.c:325:4: note: name[name_len] is overwritten glimpse-4.18.7/index/dir.c:325:4: style: Variable 'name[name_len]' is reassigned a value before the old one has been used. [redundantAssignment] glimpse-4.18.7/index/dir.c:319:6: note: name[name_len] is assigned glimpse-4.18.7/index/dir.c:325:4: note: name[name_len] is overwritten glimpse-4.18.7/index/dir.c:323:5: style: Variable 'name[name_len]' is reassigned a value before the old one has been used. [redundantAssignment] glimpse-4.18.7/index/dir.c:322:5: note: name[name_len] is assigned glimpse-4.18.7/index/dir.c:323:5: note: name[name_len] is overwritten glimpse-4.18.7/index/dir.c:325:4: style: Variable 'name[name_len]' is reassigned a value before the old one has been used. [redundantAssignment] glimpse-4.18.7/index/dir.c:323:5: note: name[name_len] is assigned glimpse-4.18.7/index/dir.c:325:4: note: name[name_len] is overwritten glimpse-4.18.7/index/dir.c:330:1: style: Label 'index_everything' is not used. [unusedLabel] glimpse-4.18.7/index/dir.c:298:32: style: Variable 'fileindex' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/index/dir.c:134:28: style: Unused variable: temp [unusedVariable] glimpse-4.18.7/index/fixname.c:3:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/fixname.c:8:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/getword.c:259:1: portability: Omitted return type of function 'set_indexable_char' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/getword.c:273:1: portability: Omitted return type of function 'set_special_char' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/glimpse.c:98:1: portability: Omitted return type of function 'cross_boundary' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/glimpse.c:111:1: portability: Omitted return type of function 'determine_sync' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/glimpse.c:158:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/glimpse.c:1063:1: portability: Omitted return type of function 'cleanup' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/glimpse.c:1085:1: portability: Omitted return type of function 'usage' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/glimpse.c:236:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/glimpse.c:1088:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/getword.c:39:16: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/index/getword.c:49:20: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/index/getword.c:146:13: style: Variable 'previslsq' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/index/getword.c:52:16: style: Variable 'times' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/bitap.c:160:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/bitap.c:240:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/bitap.c:89:5: style: Variable 'r1' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/bitap.c:89:10: style: Variable 'r2' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/index/utils.c:449:1: portability: Omitted return type of function 'hashNk' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/io.c:48:1: portability: Omitted return type of function 'get_array_of_lines' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/io.c:169:1: portability: Omitted return type of function 'get_index_type' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/io.c:188:1: portability: Omitted return type of function 'get_block_numbers' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/io.c:369:1: portability: Omitted return type of function 'read_filters' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/io.c:449:1: portability: Omitted return type of function 'apply_filter' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/io.c:566:1: portability: Omitted return type of function 'static_stop_list' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/io.c:662:1: portability: Omitted return type of function 'my_free' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/io.c:709:1: portability: Omitted return type of function 'tokenallfree' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/io.c:714:1: portability: Omitted return type of function 'tokenfree' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/io.c:736:1: portability: Omitted return type of function 'indicesallfree' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/io.c:741:1: portability: Omitted return type of function 'indicesfree' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/io.c:764:1: portability: Omitted return type of function 'wordallfree' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/io.c:769:1: portability: Omitted return type of function 'wordfree' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/io.c:1049:1: portability: Omitted return type of function 'dump_mini' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/io.c:1236:1: portability: Omitted return type of function 'initialize_data_structures' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/io.c:1261:1: portability: Omitted return type of function 'destroy_data_structures' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/io.c:1463:1: portability: Omitted return type of function 'insert_filename' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/io.c:1515:1: portability: Omitted return type of function 'change_filename' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/io.c:1537:1: portability: Omitted return type of function 'delete_filename' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/io.c:1580:1: portability: Omitted return type of function 'init_filename_hashtable' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/io.c:1587:1: portability: Omitted return type of function 'build_filename_hashtable' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/io.c:1598:1: portability: Omitted return type of function 'destroy_filename_hashtable' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/io.c:189:26: debug: Function::addArguments found argument 'destbuf' with varid 0. [varid0] glimpse-4.18.7/index/lib.c:15:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/lib.c:6:16: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/index/utils.c:230:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/io.c:63:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/io.c:144:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/io.c:204:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/io.c:283:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/io.c:317:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/io.c:353:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/io.c:649:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/io.c:730:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/io.c:757:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/io.c:785:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/io.c:1069:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/io.c:1295:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_END_MARK [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/io.c:1336:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/io.c:1437:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/io.c:1478:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/io.c:1552:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/partition.c:70:1: portability: Omitted return type of function 'partition' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/partition.c:420:1: portability: Omitted return type of function 'oldpartition' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/partition.c:602:1: portability: Omitted return type of function 'save_data_structures' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/partition.c:934:1: portability: Omitted return type of function 'merge_splits' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/partition.c:163:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/partition.c:514:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/partition.c:635:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/partition.c:959:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/io.c:666:0: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] glimpse-4.18.7/index/io.c:718:0: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] glimpse-4.18.7/index/io.c:745:0: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] glimpse-4.18.7/index/io.c:773:0: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] glimpse-4.18.7/index/utils.c:174:81: style: Redundant condition: The condition 'buf[len-1] != '\\'' is redundant since 'buf[len-1] == '*'' is sufficient. [redundantCondition] glimpse-4.18.7/index/io.c:1339:50: style: Condition 'special_parse_name(name,len,&begin,&end)==-1' is always false [knownConditionTrueFalse] glimpse-4.18.7/index/io.c:1339:24: note: Calling function 'special_parse_name' returns 0 glimpse-4.18.7/index/io.c:1339:50: note: Condition 'special_parse_name(name,len,&begin,&end)==-1' is always false glimpse-4.18.7/index/io.c:1435:50: style: Condition 'special_parse_name(name,len,&begin,&end)==-1' is always false [knownConditionTrueFalse] glimpse-4.18.7/index/io.c:1435:24: note: Calling function 'special_parse_name' returns 0 glimpse-4.18.7/index/io.c:1435:50: note: Condition 'special_parse_name(name,len,&begin,&end)==-1' is always false glimpse-4.18.7/index/io.c:1476:50: style: Condition 'special_parse_name(name,len,&begin,&end)==-1' is always false [knownConditionTrueFalse] glimpse-4.18.7/index/io.c:1476:24: note: Calling function 'special_parse_name' returns 0 glimpse-4.18.7/index/io.c:1476:50: note: Condition 'special_parse_name(name,len,&begin,&end)==-1' is always false glimpse-4.18.7/index/io.c:1550:50: style: Condition 'special_parse_name(name,len,&begin,&end)==-1' is always false [knownConditionTrueFalse] glimpse-4.18.7/index/io.c:1550:24: note: Calling function 'special_parse_name' returns 0 glimpse-4.18.7/index/io.c:1550:50: note: Condition 'special_parse_name(name,len,&begin,&end)==-1' is always false glimpse-4.18.7/index/io.c:98:4: error: Used file that is not opened. [useClosedFile] glimpse-4.18.7/index/io.c:111:4: error: Used file that is not opened. [useClosedFile] glimpse-4.18.7/index/io.c:180:2: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] glimpse-4.18.7/index/io.c:1083:8: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] glimpse-4.18.7/index/io.c:284:13: warning: Either the condition '(error=dlerror())!=NULL' is redundant or there is possible null pointer dereference: error. [nullPointerRedundantCheck] glimpse-4.18.7/index/io.c:279:31: note: Assuming that condition '(error=dlerror())!=NULL' is not redundant glimpse-4.18.7/index/io.c:284:13: note: Null pointer dereference glimpse-4.18.7/index/io.c:488:92: style: Checking if unsigned expression 'fread(dummybuf,1,1,dummyin)' is less than zero. [unsignedLessThanZero] glimpse-4.18.7/index/io.c:533:92: style: Checking if unsigned expression 'fread(dummybuf,1,1,dummyin)' is less than zero. [unsignedLessThanZero] glimpse-4.18.7/index/io.c:1052:37: style: Local variable 'word' shadows outer variable [shadowVariable] glimpse-4.18.7/index/io.c:678:15: note: Shadowed declaration glimpse-4.18.7/index/io.c:1052:37: note: Shadow variable glimpse-4.18.7/index/io.c:24:8: style: Parameter 'original' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/index/io.c:132:7: style: Parameter 'inputfile' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/index/io.c:170:6: style: Parameter 's' can be declared as const array [constParameter] glimpse-4.18.7/index/io.c:189:17: style: Parameter 'srcbuf' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/index/io.c:258:11: style: Variable 'so_pos' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/index/io.c:259:11: style: Variable 'error' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/index/io.c:370:7: style: Parameter 'index_dir' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/index/io.c:567:8: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/index/io.c:1282:8: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/index/io.c:1359:8: style: Parameter 'flag' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/index/io.c:1621:15: style: Parameter 'stbuf' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/index/utils.c:257:7: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/index/utils.c:287:7: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/index/utils.c:321:9: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/index/utils.c:358:9: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/index/io.c:1632:54: error: Shifting 32-bit value by 56 bits is undefined behaviour [shiftTooManyBits] glimpse-4.18.7/index/io.c:1632:11: note: Assignment 'xx=0', assigned value is 0 glimpse-4.18.7/index/io.c:1632:54: note: Shift glimpse-4.18.7/index/io.c:137:11: style: Variable 'val' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/index/io.c:453:27: style: Unused variable: es1 [unusedVariable] glimpse-4.18.7/index/io.c:453:46: style: Unused variable: es2 [unusedVariable] glimpse-4.18.7/index/io.c:455:7: style: Unused variable: s [unusedVariable] glimpse-4.18.7/index/io.c:646:16: style: Variable 'i' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/index/io.c:1029:9: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/index/io.c:1018:16: style: Unused variable: s [unusedVariable] glimpse-4.18.7/index/io.c:1052:37: style: Unused variable: word [unusedVariable] glimpse-4.18.7/index/io.c:1287:6: style: Unused variable: index [unusedVariable] glimpse-4.18.7/index/io.c:1427:6: style: Unused variable: i [unusedVariable] glimpse-4.18.7/index/io.c:1469:6: style: Unused variable: i [unusedVariable] glimpse-4.18.7/index/io.c:1521:26: style: Unused variable: t [unusedVariable] glimpse-4.18.7/index/io.c:1543:6: style: Unused variable: i [unusedVariable] glimpse-4.18.7/index/region.c:522:8: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/index/region.c:528:8: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/index/region.c:534:8: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/index/region.c:555:8: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/index/simpletest.c:33:1: portability: Omitted return type of function 'test_binary' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/simpletest.c:54:1: portability: Omitted return type of function 'test_uuencode' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/index/simpletest.c:70:14: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] glimpse-4.18.7/index/simpletest.c:87:8: style: Variable 'first' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/index/simpletest.c:108:8: style: Variable 'suffix' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/index/simpletest.c:74:8: style: Variable 'j' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/index/simpletest.c:92:13: style: Variable 'first' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/libtemplate/template/cksoif.c:31:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/partition.c:686:18: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] glimpse-4.18.7/index/partition.c:748:16: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] glimpse-4.18.7/index/partition.c:981:14: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] glimpse-4.18.7/index/partition.c:162:1: style: Label 'directlytofsize' is not used. [unusedLabel] glimpse-4.18.7/index/partition.c:842:56: warning: Char literal compared with pointer 'name_list[0]'. Did you intend to dereference it? [charLiteralWithCharPtrCompare] glimpse-4.18.7/index/partition.c:275:65: error: Shifting 32-bit value by 56 bits is undefined behaviour [shiftTooManyBits] glimpse-4.18.7/index/partition.c:275:14: note: Assignment 'xx=0', assigned value is 0 glimpse-4.18.7/index/partition.c:275:65: note: Shift glimpse-4.18.7/index/partition.c:275:65: error: Signed integer overflow for expression '0xff<<(8*(sizeof(long)-xx-1))'. [integerOverflow] glimpse-4.18.7/index/partition.c:275:14: note: Assignment 'xx=0', assigned value is 0 glimpse-4.18.7/index/partition.c:275:65: note: Integer overflow glimpse-4.18.7/index/partition.c:984:6: warning: Uninitialized variable: recordlevelindex [uninitvar] glimpse-4.18.7/index/partition.c:982:22: note: Assuming condition is false glimpse-4.18.7/index/partition.c:984:6: note: Uninitialized variable: recordlevelindex glimpse-4.18.7/libtemplate/template/iafa2soif.c:26:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/partition.c:634:17: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/libtemplate/template/iafa2soif.c:36:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] glimpse-4.18.7/index/partition.c:605:27: style: Unused variable: s1 [unusedVariable] glimpse-4.18.7/index/partition.c:605:83: style: Unused variable: es3 [unusedVariable] glimpse-4.18.7/index/partition.c:939:24: style: Unused variable: s1 [unusedVariable] glimpse-4.18.7/index/partition.c:943:40: style: Unused variable: i [unusedVariable] glimpse-4.18.7/libtemplate/template/lsm2soif.c:32:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/template/lsm2soif.c:40:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/template/lsm2soif.c:46:10: style: Variable 'site_avp' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/libtemplate/template/lsm2soif.c:46:21: style: Variable 'path_avp' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/libtemplate/template/lsm2soif.c:46:32: style: Variable 'file_avp' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/libtemplate/template/lsm2soif.c:141:7: style: Parameter 'argv' can be declared as const array [constParameter] glimpse-4.18.7/libtemplate/template/iafa2soif.c:97:7: style: Parameter 'argv' can be declared as const array [constParameter] glimpse-4.18.7/libtemplate/template/pcindex2soif.c:45:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/template/pcindex2soif.c:71:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/template/pcindex2soif.c:93:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/template/print-attr.c:25:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/template/print-attr.c:42:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/template/print-attr.c:31:7: style: Parameter 'argv' can be declared as const array [constParameter] glimpse-4.18.7/libtemplate/template/print-attr.c:34:10: style: Variable 'avp' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/libtemplate/template/pcindex2soif.c:43:14: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/libtemplate/template/pcindex2soif.c:69:14: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/libtemplate/template/pcindex2soif.c:94:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/libtemplate/template/pcindex2soif.c:94:26: style: Variable 'line' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/libtemplate/template/print-template.c:26:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/template/print-template.c:39:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/template/print-template.c:37:10: style: Variable 'b' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/libtemplate/template/print-urlrefs.c:31:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/template/print-urlrefs.c:86:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/template/print-urlrefs.c:38:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] glimpse-4.18.7/libtemplate/template/print-urlrefs.c:54:31: style: Variable 'thishost' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/libtemplate/template/print-urlrefs.c:84:10: style: Unused variable: b [unusedVariable] glimpse-4.18.7/libtemplate/template/template.c:38:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVList [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/template/template.c:252:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Template [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/template/template.c:303:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/template/template.c:356:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/template/template.c:365:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/template/template.c:533:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/template/template.c:716:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/template/translate-urls.c:38:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/template/translate-urls.c:27:11: style: Parameter 't' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/libtemplate/template/translate-urls.c:36:10: style: Variable 'b' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/libtemplate/util/buffer.c:29:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Buffer [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/util/buffer.c:104:7: style: Parameter 's' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/libtemplate/template/template.c:32:7: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/libtemplate/template/template.c:33:7: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/libtemplate/template/template.c:105:7: style: Parameter 'attribute' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/libtemplate/template/template.c:247:7: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/libtemplate/template/template.c:248:7: style: Parameter 'url' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/libtemplate/template/template.c:354:11: style: Parameter 'template' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/libtemplate/template/template.c:363:11: style: Parameter 'template' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/libtemplate/template/template.c:629:7: style: Parameter 'a' can be declared as pointer to const. However it seems that 'attribute_cmp' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glimpse-4.18.7/libtemplate/template/template.c:670:9: note: You might need to cast the function pointer here glimpse-4.18.7/libtemplate/template/template.c:629:7: note: Parameter 'a' can be declared as pointer to const glimpse-4.18.7/libtemplate/template/template.c:629:11: style: Parameter 'b' can be declared as pointer to const. However it seems that 'attribute_cmp' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glimpse-4.18.7/libtemplate/template/template.c:670:9: note: You might need to cast the function pointer here glimpse-4.18.7/libtemplate/template/template.c:629:11: note: Parameter 'b' can be declared as pointer to const glimpse-4.18.7/libtemplate/template/template.c:633:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/libtemplate/template/template.c:712:11: style: Parameter 't' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/libtemplate/template/template.c:716:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/libtemplate/util/harvest.c:31:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/util/harvest.c:47:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/util/harvest.c:63:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/util/harvest.c:88:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/util/harvest.c:93:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] glimpse-4.18.7/libtemplate/util/harvest.c:97:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] glimpse-4.18.7/libtemplate/util/harvest.c:32:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/libtemplate/util/harvest.c:48:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/libtemplate/util/harvest.c:64:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/libtemplate/util/harvest.c:81:7: style: Parameter 'xtra' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/libtemplate/util/harvest.c:83:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/libtemplate/util/harvest.c:83:49: style: Variable 'q' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/libtemplate/util/harvest.c:83:39: style: Unused variable: oldpath [unusedVariable] glimpse-4.18.7/libtemplate/util/host.c:100:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/util/log.c:158:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/util/log.c:169:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/util/host.c:48:12: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] glimpse-4.18.7/libtemplate/util/host.c:64:8: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] glimpse-4.18.7/libtemplate/util/host.c:100:8: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] glimpse-4.18.7/libtemplate/util/host.c:102:8: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] glimpse-4.18.7/libtemplate/util/log.c:92:13: style: Condition 'fp_log==NULL' is always false [knownConditionTrueFalse] glimpse-4.18.7/libtemplate/util/log.c:115:14: style: Condition 'fp_errs==NULL' is always false [knownConditionTrueFalse] glimpse-4.18.7/libtemplate/util/log.c:139:14: style: Condition 'fp_errs==NULL' is always false [knownConditionTrueFalse] glimpse-4.18.7/libtemplate/util/log.c:70:7: style: Parameter 'pn' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/libtemplate/util/host.c:42:18: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/libtemplate/util/host.c:62:17: style: Variable 'pwp' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/libtemplate/util/host.c:78:18: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/libtemplate/util/system.c:67:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/util/system.c:96:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/util/system.c:145:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] glimpse-4.18.7/libtemplate/util/system.c:34:7: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/libtemplate/util/string.c:33:7: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/split.c:496:1: portability: Omitted return type of function 'split_terminal' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/split.c:30:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENDSUB_EXP [valueFlowBailoutIncompleteVar] glimpse-4.18.7/split.c:92:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/split.c:184:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAME [valueFlowBailoutIncompleteVar] glimpse-4.18.7/split.c:248:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAME [valueFlowBailoutIncompleteVar] glimpse-4.18.7/split.c:503:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAME [valueFlowBailoutIncompleteVar] glimpse-4.18.7/main.c:466:1: portability: Omitted return type of function 'read_index' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/main.c:600:1: portability: Omitted return type of function 'reinitialize_server' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/main.c:693:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/main.c:1289:1: portability: Omitted return type of function 'process_query' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/main.c:3481:1: portability: Omitted return type of function 'usage' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/main.c:3561:1: portability: Omitted return type of function 'usageS' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] glimpse-4.18.7/split.c:435:8: style: Local variable 'i' shadows outer variable [shadowVariable] glimpse-4.18.7/split.c:424:36: note: Shadowed declaration glimpse-4.18.7/split.c:435:8: note: Shadow variable glimpse-4.18.7/split.c:435:11: style: Local variable 'j' shadows outer variable [shadowVariable] glimpse-4.18.7/split.c:424:39: note: Shadowed declaration glimpse-4.18.7/split.c:435:11: note: Shadow variable glimpse-4.18.7/split.c:182:16: style: Parameter 'tokenbuf' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/split.c:185:22: style: Variable 'k' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/split.c:185:29: style: Variable 'l' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/split.c:506:9: style: Unused variable: j [unusedVariable] glimpse-4.18.7/split.c:506:12: style: Unused variable: k [unusedVariable] glimpse-4.18.7/split.c:507:8: style: Unused variable: substring [unusedVariable] glimpse-4.18.7/index/glimpse.c:189:5: warning:inconclusive: The buffer 'IProgname' may not be null-terminated after the call to strncpy(). [terminateStrncpy] glimpse-4.18.7/index/glimpse.c:417:6: warning:inconclusive: The buffer 'INDEX_DIR' may not be null-terminated after the call to strncpy(). [terminateStrncpy] glimpse-4.18.7/index/glimpse.c:524:7: warning:inconclusive: The buffer 'INDEX_DIR' may not be null-terminated after the call to strncpy(). [terminateStrncpy] glimpse-4.18.7/index/glimpse.c:1052:2: portability: fflush() called on input stream 'tmpfp' may result in undefined behaviour on non-linux systems. [fflushOnInputStream] glimpse-4.18.7/index/glimpse.c:139:2: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] glimpse-4.18.7/index/glimpse.c:115:6: style: Unused variable: i [unusedVariable] glimpse-4.18.7/index/glimpse.c:164:21: style: Unused variable: es1 [unusedVariable] glimpse-4.18.7/index/glimpse.c:164:40: style: Unused variable: es2 [unusedVariable] glimpse-4.18.7/index/glimpse.c:165:27: style: Unused variable: s1 [unusedVariable] glimpse-4.18.7/index/glimpse.c:171:10: style: Unused variable: name [unusedVariable] glimpse-4.18.7/index/glimpse.c:172:10: style: Unused variable: outname [unusedVariable] glimpse-4.18.7/index/glimpse.c:174:9: style: Unused variable: backup [unusedVariable] glimpse-4.18.7/index/build_in.c:1938:18: error: Array '(*tail)->index[4]' accessed at index 4, which is out of bounds. [arrayIndexOutOfBounds] glimpse-4.18.7/index/build_in.c:1936:15: note: Assuming that condition 'j<4' is not redundant glimpse-4.18.7/index/build_in.c:1938:18: note: Array index out of bounds glimpse-4.18.7/index/build_in.c:1806:46: style: Array index 'bdx2' is used before limits check. [arrayIndexThenCheck] glimpse-4.18.7/index/build_in.c:1756:1: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned char *'. [invalidPrintfArgType_sint] glimpse-4.18.7/index/build_in.c:1771:1: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned char *'. [invalidPrintfArgType_sint] glimpse-4.18.7/index/build_in.c:2029:14: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] glimpse-4.18.7/index/build_in.c:1666:5: error: Common realloc mistake: 'merge_index_buf' nulled but not freed upon failure [memleakOnRealloc] glimpse-4.18.7/index/build_in.c:1708:6: error: Common realloc mistake: 'merge_index_buf' nulled but not freed upon failure [memleakOnRealloc] glimpse-4.18.7/index/build_in.c:1755:6: error: Common realloc mistake: 'merge_index_buf' nulled but not freed upon failure [memleakOnRealloc] glimpse-4.18.7/index/build_in.c:1770:6: error: Common realloc mistake: 'merge_index_buf' nulled but not freed upon failure [memleakOnRealloc] glimpse-4.18.7/index/build_in.c:164:21: style: Local variable 'ip' shadows outer variable [shadowVariable] glimpse-4.18.7/index/build_in.c:124:25: note: Shadowed declaration glimpse-4.18.7/index/build_in.c:164:21: note: Shadow variable glimpse-4.18.7/index/build_in.c:173:13: style: Local variable 'word' shadows outer variable [shadowVariable] glimpse-4.18.7/index/build_in.c:121:22: note: Shadowed declaration glimpse-4.18.7/index/build_in.c:173:13: note: Shadow variable glimpse-4.18.7/index/build_in.c:789:10: style: Local variable 'word' shadows outer variable [shadowVariable] glimpse-4.18.7/index/build_in.c:121:22: note: Shadowed declaration glimpse-4.18.7/index/build_in.c:789:10: note: Shadow variable glimpse-4.18.7/index/build_in.c:1380:21: style: Local variable 'ip' shadows outer variable [shadowVariable] glimpse-4.18.7/index/build_in.c:124:25: note: Shadowed declaration glimpse-4.18.7/index/build_in.c:1380:21: note: Shadow variable glimpse-4.18.7/index/build_in.c:173:13: style: Variable 'word' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/index/build_in.c:1916:8: style: Variable 'name' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/index/build_in.c:130:6: style: Unused variable: i [unusedVariable] glimpse-4.18.7/index/build_in.c:639:12: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/index/build_in.c:610:9: style: Unused variable: i [unusedVariable] glimpse-4.18.7/index/build_in.c:798:20: style: Unused variable: last_record [unusedVariable] glimpse-4.18.7/index/build_in.c:1496:30: style: Variable 'even_words' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/index/build_in.c:1951:16: style: Variable 'reduction' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/index/build_in.c:1968:6: style: Unused variable: j [unusedVariable] glimpse-4.18.7/index/build_in.c:1986:7: style: Unused variable: s1 [unusedVariable] glimpse-4.18.7/index/build_in.c:1991:6: style: Unused variable: offset [unusedVariable] glimpse-4.18.7/index/build_in.c:1991:14: style: Unused variable: index [unusedVariable] glimpse-4.18.7/glimpse/main.c:229:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNATURE_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/main.c:470:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAME [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/main.c:605:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNUM_PAT [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/main.c:648:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/main.c:698:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAME [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/main.c:1305:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/main.c:3166:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/main.c:3483:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/main.c:3563:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/main.c:3596:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] glimpse-4.18.7/agrep/agrep.c:3911:16: style: Array index 'i1' is used before limits check. [arrayIndexThenCheck] glimpse-4.18.7/agrep/agrep.c:2464:2: warning:inconclusive: The buffer 'Progname' may not be null-terminated after the call to strncpy(). [terminateStrncpy] glimpse-4.18.7/agrep/agrep.c:3016:8: warning:inconclusive: The buffer 'COMP_DIR' may not be null-terminated after the call to strncpy(). [terminateStrncpy] glimpse-4.18.7/agrep/agrep.c:155:40: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] glimpse-4.18.7/agrep/agrep.c:1428:7: style: Variable 'k' is reassigned a value before the old one has been used. [redundantAssignment] glimpse-4.18.7/agrep/agrep.c:1415:4: note: k is assigned glimpse-4.18.7/agrep/agrep.c:1428:7: note: k is overwritten glimpse-4.18.7/agrep/agrep.c:152:14: style: Local variable 'buffer' shadows outer variable [shadowVariable] glimpse-4.18.7/agrep/agrep.c:43:6: note: Shadowed declaration glimpse-4.18.7/agrep/agrep.c:152:14: note: Shadow variable glimpse-4.18.7/agrep/agrep.c:388:11: style: Local variable 'Next' shadows outer variable [shadowVariable] glimpse-4.18.7/agrep/agrep.c:44:10: note: Shadowed declaration glimpse-4.18.7/agrep/agrep.c:388:11: note: Shadow variable glimpse-4.18.7/agrep/agrep.c:388:26: style: Local variable 'Next1' shadows outer variable [shadowVariable] glimpse-4.18.7/agrep/agrep.c:44:25: note: Shadowed declaration glimpse-4.18.7/agrep/agrep.c:388:26: note: Shadow variable glimpse-4.18.7/agrep/agrep.c:389:8: style: Local variable 'buffer' shadows outer variable [shadowVariable] glimpse-4.18.7/agrep/agrep.c:43:6: note: Shadowed declaration glimpse-4.18.7/agrep/agrep.c:389:8: note: Shadow variable glimpse-4.18.7/agrep/agrep.c:1406:64: style: Local variable 'Init1' shadows outer variable [shadowVariable] glimpse-4.18.7/agrep/agrep.c:41:10: note: Shadowed declaration glimpse-4.18.7/agrep/agrep.c:1406:64: note: Shadow variable glimpse-4.18.7/agrep/agrep.c:1412:8: style: Local variable 'buffer' shadows outer variable [shadowVariable] glimpse-4.18.7/agrep/agrep.c:43:6: note: Shadowed declaration glimpse-4.18.7/agrep/agrep.c:1412:8: note: Shadow variable glimpse-4.18.7/agrep/agrep.c:126:15: style: Parameter 'stbuf' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/agrep/agrep.c:484:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/agrep.c:568:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/agrep.c:914:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/agrep.c:1050:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/agrep.c:1493:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/agrep.c:1573:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/agrep.c:1889:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/agrep.c:1988:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/agrep.c:2282:7: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/agrep/agrep.c:2293:9: style: Variable 'prevstring' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/agrep.c:2317:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/agrep.c:2453:8: style: Variable 'home' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/agrep.c:3161:7: style: Parameter 'pattern_buffer' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/agrep/agrep.c:3560:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/agrep.c:3639:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/agrep.c:3889:17: style: Variable 'bp' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/agrep.c:3889:22: style: Variable 'outend' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/agrep.c:3926:9: style: Variable 'prevstring' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/agrep.c:3950:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/agrep/agrep.c:310:10: style: Variable 'j' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/agrep.c:413:5: style: Variable 'r2' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/agrep.c:2428:11: style: Variable 'PRINTED' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/agrep.c:2487:5: style: Variable 'c' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/agrep.c:3082:36: style: Variable 'filetype' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/agrep.c:3258:36: style: Variable 'filetype' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/agrep/agrep.c:4059:11: style: Variable 'PRINTED' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/main.c:229:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNATURE_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/main.c:470:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAME [valueFlowBailoutIncompleteVar] glimpse-4.18.7/main.c:605:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNUM_PAT [valueFlowBailoutIncompleteVar] glimpse-4.18.7/main.c:648:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/main.c:698:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAME [valueFlowBailoutIncompleteVar] glimpse-4.18.7/main.c:1305:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/main.c:3166:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_LEN [valueFlowBailoutIncompleteVar] glimpse-4.18.7/main.c:3483:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/main.c:3563:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glimpse-4.18.7/main.c:3596:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] glimpse-4.18.7/glimpse/main.c:646:3: warning: Return value of function dup() is not used. [ignoredReturnValue] glimpse-4.18.7/glimpse/main.c:1214:12: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] glimpse-4.18.7/glimpse/main.c:399:7: style: Condition 'first_search' is always true [knownConditionTrueFalse] glimpse-4.18.7/glimpse/main.c:398:18: note: Assignment 'first_search=1', assigned value is 1 glimpse-4.18.7/glimpse/main.c:399:7: note: Condition 'first_search' is always true glimpse-4.18.7/glimpse/main.c:538:2: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] glimpse-4.18.7/glimpse/main.c:2273:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] glimpse-4.18.7/glimpse/main.c:2270:7: note: ret is assigned glimpse-4.18.7/glimpse/main.c:2273:7: note: ret is overwritten glimpse-4.18.7/glimpse/main.c:2155:21: style: Local variable 'i' shadows outer variable [shadowVariable] glimpse-4.18.7/glimpse/main.c:1297:6: note: Shadowed declaration glimpse-4.18.7/glimpse/main.c:2155:21: note: Shadow variable glimpse-4.18.7/glimpse/main.c:2155:24: style: Local variable 'j' shadows outer variable [shadowVariable] glimpse-4.18.7/glimpse/main.c:1297:9: note: Shadowed declaration glimpse-4.18.7/glimpse/main.c:2155:24: note: Shadow variable glimpse-4.18.7/glimpse/main.c:2328:8: style: Local variable 'i' shadows outer variable [shadowVariable] glimpse-4.18.7/glimpse/main.c:1297:6: note: Shadowed declaration glimpse-4.18.7/glimpse/main.c:2328:8: note: Shadow variable glimpse-4.18.7/glimpse/main.c:469:8: style: Variable 'home' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/glimpse/main.c:708:18: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/glimpse/main.c:2484:27: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/glimpse/main.c:2496:27: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/glimpse/main.c:2612:27: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/glimpse/main.c:2624:27: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/glimpse/main.c:3145:8: style: Parameter 'outfile' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/glimpse/main.c:3164:8: style: Variable 'previous_begin' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/glimpse/main.c:3169:8: style: Variable 'attrname' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/glimpse/main.c:229:8: style: Unused variable: sig [unusedVariable] glimpse-4.18.7/glimpse/main.c:231:43: style: Unused variable: c [unusedVariable] glimpse-4.18.7/glimpse/main.c:604:6: style: Unused variable: i [unusedVariable] glimpse-4.18.7/glimpse/main.c:604:9: style: Unused variable: fd [unusedVariable] glimpse-4.18.7/glimpse/main.c:702:14: style: Unused variable: newsockfd [unusedVariable] glimpse-4.18.7/glimpse/main.c:702:25: style: Unused variable: clilen [unusedVariable] glimpse-4.18.7/glimpse/main.c:702:38: style: Unused variable: clpid [unusedVariable] glimpse-4.18.7/glimpse/main.c:703:6: style: Unused variable: clout [unusedVariable] glimpse-4.18.7/glimpse/main.c:707:21: style: Unused variable: cli_addr [unusedVariable] glimpse-4.18.7/glimpse/main.c:710:6: style: Unused variable: cli_len [unusedVariable] glimpse-4.18.7/glimpse/main.c:711:6: style: Unused variable: clargc [unusedVariable] glimpse-4.18.7/glimpse/main.c:713:6: style: Unused variable: clstdin [unusedVariable] glimpse-4.18.7/glimpse/main.c:713:15: style: Unused variable: clstdout [unusedVariable] glimpse-4.18.7/glimpse/main.c:713:25: style: Unused variable: clstderr [unusedVariable] glimpse-4.18.7/glimpse/main.c:715:7: style: Unused variable: array [unusedVariable] glimpse-4.18.7/glimpse/main.c:2328:15: style: Variable 'len' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/glimpse/main.c:2690:28: style: Variable 'gprev_num_of_matched' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/glimpse/main.c:1296:6: style: Unused variable: num_read [unusedVariable] glimpse-4.18.7/glimpse/main.c:1303:6: style: Unused variable: jj [unusedVariable] glimpse-4.18.7/glimpse/main.c:1308:7: style: Unused variable: TEMP_FILE [unusedVariable] glimpse-4.18.7/glimpse/main.c:1309:7: style: Unused variable: temp_file [unusedVariable] glimpse-4.18.7/glimpse/main.c:3094:18: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/glimpse/main.c:3217:34: style: Variable 'previous_begin' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/glimpse/main.c:3171:6: style: Variable 'count' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/main.c:646:3: warning: Return value of function dup() is not used. [ignoredReturnValue] glimpse-4.18.7/main.c:1214:12: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] glimpse-4.18.7/main.c:399:7: style: Condition 'first_search' is always true [knownConditionTrueFalse] glimpse-4.18.7/main.c:398:18: note: Assignment 'first_search=1', assigned value is 1 glimpse-4.18.7/main.c:399:7: note: Condition 'first_search' is always true glimpse-4.18.7/main.c:538:2: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] glimpse-4.18.7/main.c:2273:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] glimpse-4.18.7/main.c:2270:7: note: ret is assigned glimpse-4.18.7/main.c:2273:7: note: ret is overwritten glimpse-4.18.7/main.c:2155:21: style: Local variable 'i' shadows outer variable [shadowVariable] glimpse-4.18.7/main.c:1297:6: note: Shadowed declaration glimpse-4.18.7/main.c:2155:21: note: Shadow variable glimpse-4.18.7/main.c:2155:24: style: Local variable 'j' shadows outer variable [shadowVariable] glimpse-4.18.7/main.c:1297:9: note: Shadowed declaration glimpse-4.18.7/main.c:2155:24: note: Shadow variable glimpse-4.18.7/main.c:2328:8: style: Local variable 'i' shadows outer variable [shadowVariable] glimpse-4.18.7/main.c:1297:6: note: Shadowed declaration glimpse-4.18.7/main.c:2328:8: note: Shadow variable glimpse-4.18.7/main.c:469:8: style: Variable 'home' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/main.c:708:18: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/main.c:2484:27: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/main.c:2496:27: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/main.c:2612:27: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/main.c:2624:27: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/main.c:3145:8: style: Parameter 'outfile' can be declared as pointer to const [constParameterPointer] glimpse-4.18.7/main.c:3164:8: style: Variable 'previous_begin' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/main.c:3169:8: style: Variable 'attrname' can be declared as pointer to const [constVariablePointer] glimpse-4.18.7/main.c:229:8: style: Unused variable: sig [unusedVariable] glimpse-4.18.7/main.c:231:43: style: Unused variable: c [unusedVariable] glimpse-4.18.7/main.c:604:6: style: Unused variable: i [unusedVariable] glimpse-4.18.7/main.c:604:9: style: Unused variable: fd [unusedVariable] glimpse-4.18.7/main.c:702:14: style: Unused variable: newsockfd [unusedVariable] glimpse-4.18.7/main.c:702:25: style: Unused variable: clilen [unusedVariable] glimpse-4.18.7/main.c:702:38: style: Unused variable: clpid [unusedVariable] glimpse-4.18.7/main.c:703:6: style: Unused variable: clout [unusedVariable] glimpse-4.18.7/main.c:707:21: style: Unused variable: cli_addr [unusedVariable] glimpse-4.18.7/main.c:710:6: style: Unused variable: cli_len [unusedVariable] glimpse-4.18.7/main.c:711:6: style: Unused variable: clargc [unusedVariable] glimpse-4.18.7/main.c:713:6: style: Unused variable: clstdin [unusedVariable] glimpse-4.18.7/main.c:713:15: style: Unused variable: clstdout [unusedVariable] glimpse-4.18.7/main.c:713:25: style: Unused variable: clstderr [unusedVariable] glimpse-4.18.7/main.c:715:7: style: Unused variable: array [unusedVariable] glimpse-4.18.7/main.c:2328:15: style: Variable 'len' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/main.c:2690:28: style: Variable 'gprev_num_of_matched' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/main.c:1296:6: style: Unused variable: num_read [unusedVariable] glimpse-4.18.7/main.c:1303:6: style: Unused variable: jj [unusedVariable] glimpse-4.18.7/main.c:1308:7: style: Unused variable: TEMP_FILE [unusedVariable] glimpse-4.18.7/main.c:1309:7: style: Unused variable: temp_file [unusedVariable] glimpse-4.18.7/main.c:3094:18: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/main.c:3217:34: style: Variable 'previous_begin' is assigned a value that is never used. [unreadVariable] glimpse-4.18.7/main.c:3171:6: style: Variable 'count' is assigned a value that is never used. [unreadVariable] diff: head glimpse-4.18.7/agrep/agrep.c:1486:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/agrep.c:2301:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/agrep.c:2459:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/agrep.c:3174:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/agrep.c:3449:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/agrep.c:3854:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/agrep.c:3907:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/agrep.c:394:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/agrep.c:4068:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/asearch.c:743:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/asplit.c:136:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/asplit.c:341:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/asplit.c:37:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/asplit.c:386:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/asplit.c:90:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/delim.c:39:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable delim [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/delim.c:61:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable delim [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/delim.c:92:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable delim [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/dummyfilters.c:62:16: style: Parameter 'begin' can be declared as pointer to const [constParameterPointer] head glimpse-4.18.7/agrep/follow.c:181:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/newmgrep.c:1414:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WHOLELINE [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/newmgrep.c:456:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/newmgrep.c:743:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SILENT [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/newmgrep.c:936:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WORDBOUND [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/parse.c:128:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/parse.c:181:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/parse.c:245:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/parse.c:277:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/parse.c:303:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/parse.c:76:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/recursive.c:150:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/sgrep.c:1155:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable oldpat [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/sgrep.c:1302:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/sgrep.c:1481:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/sgrep.c:1555:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WORDBOUND [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/sgrep.c:1915:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/sgrep.c:2262:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable textend [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/sgrep.c:236:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WHOLELINE [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/sgrep.c:2545:16: style: Redundant assignment of 'char_map['g']' to itself. [selfAssignment] 2.13.0 glimpse-4.18.7/agrep/sgrep.c:2545:16: warning: Redundant assignment of 'char_map['g']' to itself. [selfAssignment] head glimpse-4.18.7/agrep/sgrep.c:2546:16: style: Redundant assignment of 'char_map['t']' to itself. [selfAssignment] 2.13.0 glimpse-4.18.7/agrep/sgrep.c:2546:16: warning: Redundant assignment of 'char_map['t']' to itself. [selfAssignment] head glimpse-4.18.7/agrep/sgrep.c:2547:16: style: Redundant assignment of 'char_map['c']' to itself. [selfAssignment] 2.13.0 glimpse-4.18.7/agrep/sgrep.c:2547:16: warning: Redundant assignment of 'char_map['c']' to itself. [selfAssignment] head glimpse-4.18.7/agrep/sgrep.c:2548:16: style: Redundant assignment of 'char_map['n']' to itself. [selfAssignment] 2.13.0 glimpse-4.18.7/agrep/sgrep.c:2548:16: warning: Redundant assignment of 'char_map['n']' to itself. [selfAssignment] head glimpse-4.18.7/agrep/sgrep.c:688:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WORDBOUND [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/utilities.c:124:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/utilities.c:160:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/agrep/utilities.c:89:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/communicate.c:385:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NAME_LEN [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/communicate.c:433:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NAME_LEN [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/compress/cast.c:101:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/compress/cast.c:118:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/compress/cast.c:150:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/compress/cast.c:169:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/compress/cast.c:249:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NAME_LEN [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/compress/cast.c:455:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_WORD_LEN [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/compress/cast.c:473:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NAME_LEN [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/compress/cast.c:745:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_LEN [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/compress/cast.c:76:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_64K_HASH [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/compress/hash.c:141:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/compress/hash.c:233:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/compress/hash.c:271:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/compress/hash.c:308:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/compress/hash.c:344:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/compress/hash.c:381:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_WORD_BUF [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/compress/hash.c:528:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NAME_LEN [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/compress/main_cast.c:41:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_LEN [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/compress/main_tbuild.c:30:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_LEN [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/compress/main_uncast.c:41:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_LEN [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/compress/misc.c:381:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable delim [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/compress/misc.c:409:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable delim [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/compress/misc.c:47:17: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] head glimpse-4.18.7/compress/quick.c:154:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_LEN [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/compress/string.c:219:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NAME_LEN [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/compress/string.c:58:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_WORD_LEN [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/compress/uncast.c:104:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_LEN [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/compress/uncast.c:354:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/compress/uncast.c:537:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_LEN [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/get_filename.c:126:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEF_MAX_INDEX_PERCENT [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/get_filename.c:299:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NAME_LEN [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/get_filename.c:496:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PAT [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/get_index.c:1029:8: style: Parameter 'argv' can be declared as const array [constParameter] head glimpse-4.18.7/get_index.c:1031:8: style: Parameter 'pat_list' can be declared as const array [constParameter] head glimpse-4.18.7/get_index.c:1032:6: style: Parameter 'pat_lens' can be declared as const array [constParameter] head glimpse-4.18.7/get_index.c:1056:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_LEN [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/get_index.c:1128:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PAT [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/get_index.c:1230:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEAF [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/get_index.c:171:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offsets [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/get_index.c:175:20: style: Condition '(*p1)->done&&0' is always false [knownConditionTrueFalse] head glimpse-4.18.7/get_index.c:234:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offsets [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/get_index.c:264:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WORD_END_MARK [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/get_index.c:508:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OR_EXP [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/get_index.c:721:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PAT [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/get_index.c:99:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offsets [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/glimpse/communicate.c:385:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NAME_LEN [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/glimpse/communicate.c:433:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NAME_LEN [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/glimpse/get_filename.c:126:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEF_MAX_INDEX_PERCENT [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/glimpse/get_filename.c:299:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NAME_LEN [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/glimpse/get_filename.c:496:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PAT [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/glimpse/get_index.c:1029:8: style: Parameter 'argv' can be declared as const array [constParameter] head glimpse-4.18.7/glimpse/get_index.c:1031:8: style: Parameter 'pat_list' can be declared as const array [constParameter] head glimpse-4.18.7/glimpse/get_index.c:1032:6: style: Parameter 'pat_lens' can be declared as const array [constParameter] head glimpse-4.18.7/glimpse/get_index.c:1056:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_LEN [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/glimpse/get_index.c:1128:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PAT [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/glimpse/get_index.c:1230:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEAF [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/glimpse/get_index.c:171:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offsets [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/glimpse/get_index.c:175:20: style: Condition '(*p1)->done&&0' is always false [knownConditionTrueFalse] head glimpse-4.18.7/glimpse/get_index.c:234:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offsets [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/glimpse/get_index.c:264:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WORD_END_MARK [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/glimpse/get_index.c:508:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OR_EXP [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/glimpse/get_index.c:721:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PAT [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/glimpse/get_index.c:99:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offsets [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/glimpse/main.c:1305:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_LEN [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/glimpse/main.c:229:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNATURE_LEN [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/glimpse/main.c:3166:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_LEN [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/glimpse/main.c:3483:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/glimpse/main.c:3563:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/glimpse/main.c:3596:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/glimpse/main.c:470:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAME [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/glimpse/main.c:605:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNUM_PAT [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/glimpse/main.c:648:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/glimpse/main.c:698:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAME [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/glimpse/split.c:184:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAME [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/glimpse/split.c:248:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAME [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/glimpse/split.c:503:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAME [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/glimpse/split.c:92:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_LINE_LEN [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/index/build_in.c:1283:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/index/build_in.c:1416:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/index/build_in.c:1464:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer_end [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/index/build_in.c:1667:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/index/build_in.c:2013:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/index/build_in.c:642:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/index/build_in.c:817:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/index/convert.c:119:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/index/convert.c:146:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/index/convert.c:192:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/index/convert.c:234:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/index/convert.c:331:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/index/convert.c:459:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/index/convert.c:580:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/index/convert.c:888:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/index/convert.c:937:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/index/dir.c:511:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/index/filetype.c:189:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_END_MARK [valueFlowBailoutIncompleteVar] head glimpse-4.18.7/index/filetype.c:313:7: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] 2.13.0 glimpse-4.18.7/index/getword.c:172:23: style: Condition 'buffer