2024-04-22 10:45 ftp://ftp.de.debian.org/debian/pool/main/s/swish-e/swish-e_2.4.7.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-105-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.56 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.14.0 head-info: ea2e716 (2024-04-21 15:59:20 +0200) count: 832 832 elapsed-time: 93.9 98.6 head-timing-info: old-timing-info: head results: swish-e-2.4.7/src/array.c:105:12: warning: Possible null pointer dereference: pg [nullPointer] swish-e-2.4.7/src/array.c:340:31: note: Assignment 'tmp=NULL', assigned value is 0 swish-e-2.4.7/src/array.c:352:18: note: Assuming condition is false swish-e-2.4.7/src/array.c:379:23: note: Calling function 'ARRAY_WritePage', 2nd argument 'tmp' value is 0 swish-e-2.4.7/src/array.c:105:12: note: Null pointer dereference swish-e-2.4.7/src/array.c:107:5: warning: Possible null pointer dereference: pg [nullPointer] swish-e-2.4.7/src/array.c:340:31: note: Assignment 'tmp=NULL', assigned value is 0 swish-e-2.4.7/src/array.c:352:18: note: Assuming condition is false swish-e-2.4.7/src/array.c:379:23: note: Calling function 'ARRAY_WritePage', 2nd argument 'tmp' value is 0 swish-e-2.4.7/src/array.c:107:5: note: Null pointer dereference swish-e-2.4.7/src/array.c:258:12: warning: Possible null pointer dereference: pg [nullPointer] swish-e-2.4.7/src/array.c:403:11: note: Assignment 'tmp=NULL', assigned value is 0 swish-e-2.4.7/src/array.c:404:18: note: Assuming condition is false swish-e-2.4.7/src/array.c:420:22: note: Calling function 'ARRAY_FreePage', 2nd argument 'tmp' value is 0 swish-e-2.4.7/src/array.c:258:12: note: Null pointer dereference swish-e-2.4.7/src/array.c:378:23: warning: Possible null pointer dereference: tmp [nullPointer] swish-e-2.4.7/src/array.c:340:31: note: Assignment 'tmp=NULL', assigned value is 0 swish-e-2.4.7/src/array.c:352:18: note: Assuming condition is false swish-e-2.4.7/src/array.c:378:23: note: Null pointer dereference swish-e-2.4.7/src/array.c:419:42: warning: Possible null pointer dereference: tmp [nullPointer] swish-e-2.4.7/src/array.c:403:11: note: Assignment 'tmp=NULL', assigned value is 0 swish-e-2.4.7/src/array.c:404:18: note: Assuming condition is false swish-e-2.4.7/src/array.c:419:42: note: Null pointer dereference swish-e-2.4.7/src/array.c:96:49: style: Parameter 'pg' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/array.c:256:43: style: Parameter 'pg' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/bash.c:83:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETGROUPS_T [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/bash.c:210:19: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] swish-e-2.4.7/src/btree.c:267:43: style: Parameter 'pg' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/btree.c:295:38: style: Parameter 'key1' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/btree.c:295:73: style: Parameter 'key2' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/btree.c:372:69: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/btree.c:453:16: style: Variable 'del_key_start' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/btree.c:453:32: style: Variable 'del_key_end' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/btree.c:601:31: style: Variable 'q' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/btree.c:608:11: style: Variable 'q' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/check.c:57:14: style: Parameter 'sw' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/check.c:59:17: style: Parameter 'indexf' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/check.c:164:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/check.c:165:13: style: Variable 'fe' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/compress.c:94:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/compress.c:236:53: style:inconclusive: Function 'PACKLONG2' argument 2 names different: declaration 'buffer' definition 's'. [funcArgNamesDifferent] swish-e-2.4.7/src/compress.h:43:50: note: Function 'PACKLONG2' argument 2 names different: declaration 'buffer' definition 's'. swish-e-2.4.7/src/compress.c:236:53: note: Function 'PACKLONG2' argument 2 names different: declaration 'buffer' definition 's'. swish-e-2.4.7/src/compress.c:268:42: style:inconclusive: Function 'UNPACKLONG2' argument 1 names different: declaration 'buffer' definition 's'. [funcArgNamesDifferent] swish-e-2.4.7/src/compress.h:46:42: note: Function 'UNPACKLONG2' argument 1 names different: declaration 'buffer' definition 's'. swish-e-2.4.7/src/compress.c:268:42: note: Function 'UNPACKLONG2' argument 1 names different: declaration 'buffer' definition 's'. swish-e-2.4.7/src/compress.c:305:54: style:inconclusive: Function 'PACKFILEOFFSET2' argument 2 names different: declaration 'buffer' definition 's'. [funcArgNamesDifferent] swish-e-2.4.7/src/compress.h:50:51: note: Function 'PACKFILEOFFSET2' argument 2 names different: declaration 'buffer' definition 's'. swish-e-2.4.7/src/compress.c:305:54: note: Function 'PACKFILEOFFSET2' argument 2 names different: declaration 'buffer' definition 's'. swish-e-2.4.7/src/compress.c:325:20: style: Variable 's' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/compress.c:337:43: style: Parameter 's' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/compress.c:416:114: style: Parameter 'posdata' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/compress.c:742:38: style: Parameter 'wdata' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/compress.c:912:52: style: Parameter 'buf_size' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/compress.c:565:12: warning: Size of pointer 'p' used instead of size of its data. [pointerSize] swish-e-2.4.7/src/compress.c:713:20: warning: Size of pointer 'prev' used instead of size of its data. [pointerSize] swish-e-2.4.7/src/compress.c:977:16: style: Variable 'tfrequency' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/compress.c:978:12: style: Variable 'metaID' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/date_time.c:111:66: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] swish-e-2.4.7/src/db_native.c:864:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/db_native.c:1061:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/db_native.c:1173:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/db_native.c:2051:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/db_native.c:911:9: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] swish-e-2.4.7/src/db_native.c:1159:26: warning: Either the condition '!numhash' is redundant or there is possible null pointer dereference: numhash. [nullPointerRedundantCheck] swish-e-2.4.7/src/db_native.c:1157:9: note: Assuming that condition '!numhash' is not redundant swish-e-2.4.7/src/db_native.c:1159:26: note: Null pointer dereference swish-e-2.4.7/src/db_native.c:1316:30: warning: Either the condition '!numhash' is redundant or there is possible null pointer dereference: numhash. [nullPointerRedundantCheck] swish-e-2.4.7/src/db_native.c:1314:13: note: Assuming that condition '!numhash' is not redundant swish-e-2.4.7/src/db_native.c:1316:30: note: Null pointer dereference swish-e-2.4.7/src/db_native.c:2548:16: warning: Either the condition '!pindex' is redundant or there is possible null pointer dereference: pindex. [nullPointerRedundantCheck] swish-e-2.4.7/src/db_native.c:2543:10: note: Assuming that condition '!pindex' is not redundant swish-e-2.4.7/src/db_native.c:2548:16: note: Null pointer dereference swish-e-2.4.7/src/db_native.c:2446:12: style: Redundant initialization for 'pindex'. The initialized value is overwritten before it is read. [redundantInitialization] swish-e-2.4.7/src/db_native.c:2431:29: note: pindex is initialized swish-e-2.4.7/src/db_native.c:2446:12: note: pindex is overwritten swish-e-2.4.7/src/db_native.c:1132:21: style: Local variable 'numhash' shadows outer function [shadowFunction] swish-e-2.4.7/src/hash.h:35:10: note: Shadowed declaration swish-e-2.4.7/src/db_native.c:1132:21: note: Shadow variable swish-e-2.4.7/src/db_native.c:1264:21: style: Local variable 'numhash' shadows outer function [shadowFunction] swish-e-2.4.7/src/hash.h:35:10: note: Shadowed declaration swish-e-2.4.7/src/db_native.c:1264:21: note: Shadow variable swish-e-2.4.7/src/db_native.c:274:43: style: Parameter 'filename' can be declared as pointer to const. However it seems that 'openIndexFILEForRead' is a callback function, if 'filename' is declared with const you might also need to cast function pointer(s). [constParameterCallback] swish-e-2.4.7/src/db_native.c:514:23: note: You might need to cast the function pointer here swish-e-2.4.7/src/db_native.c:274:43: note: Parameter 'filename' can be declared as pointer to const swish-e-2.4.7/src/db_native.c:279:51: style: Parameter 'filename' can be declared as pointer to const. However it seems that 'openIndexFILEForReadAndWrite' is a callback function, if 'filename' is declared with const you might also need to cast function pointer(s). [constParameterCallback] swish-e-2.4.7/src/db_native.c:511:23: note: You might need to cast the function pointer here swish-e-2.4.7/src/db_native.c:279:51: note: Parameter 'filename' can be declared as pointer to const swish-e-2.4.7/src/db_native.c:285:44: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/db_native.c:870:58: style: Parameter 's' can be declared as pointer to const. However it seems that 'DB_WriteHeaderData_Native' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] swish-e-2.4.7/src/db_native.c:80:30: note: You might need to cast the function pointer here swish-e-2.4.7/src/db_native.c:870:58: note: Parameter 's' can be declared as pointer to const swish-e-2.4.7/src/db_native.c:917:39: style: Parameter 'db' can be declared as pointer to const. However it seems that 'DB_EndReadHeader_Native' is a callback function, if 'db' is declared with const you might also need to cast function pointer(s). [constParameterCallback] swish-e-2.4.7/src/db_native.c:85:28: note: You might need to cast the function pointer here swish-e-2.4.7/src/db_native.c:917:39: note: Parameter 'db' can be declared as pointer to const swish-e-2.4.7/src/db_native.c:941:18: style: Variable 'i' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/db_native.c:942:18: style: Variable 'j' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/db_native.c:1128:65: style: Parameter 'worddata' can be declared as pointer to const. However it seems that 'DB_WriteWordData_Native' is a callback function, if 'worddata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] swish-e-2.4.7/src/db_native.c:98:28: note: You might need to cast the function pointer here swish-e-2.4.7/src/db_native.c:1128:65: note: Parameter 'worddata' can be declared as pointer to const swish-e-2.4.7/src/db_native.c:1324:39: style: Parameter 'db' can be declared as pointer to const. However it seems that 'DB_InitReadWords_Native' is a callback function, if 'db' is declared with const you might also need to cast function pointer(s). [constParameterCallback] swish-e-2.4.7/src/db_native.c:101:28: note: You might need to cast the function pointer here swish-e-2.4.7/src/db_native.c:1324:39: note: Parameter 'db' can be declared as pointer to const swish-e-2.4.7/src/db_native.c:1329:38: style: Parameter 'db' can be declared as pointer to const. However it seems that 'DB_EndReadWords_Native' is a callback function, if 'db' is declared with const you might also need to cast function pointer(s). [constParameterCallback] swish-e-2.4.7/src/db_native.c:106:27: note: You might need to cast the function pointer here swish-e-2.4.7/src/db_native.c:1329:38: note: Parameter 'db' can be declared as pointer to const swish-e-2.4.7/src/db_native.c:1384:52: style: Parameter 'word' can be declared as pointer to const. However it seems that 'DB_ReadFirstWordInvertedIndex_Native' is a callback function, if 'word' is declared with const you might also need to cast function pointer(s). [constParameterCallback] swish-e-2.4.7/src/db_native.c:103:41: note: You might need to cast the function pointer here swish-e-2.4.7/src/db_native.c:1384:52: note: Parameter 'word' can be declared as pointer to const swish-e-2.4.7/src/db_native.c:1461:51: style: Parameter 'word' can be declared as pointer to const. However it seems that 'DB_ReadNextWordInvertedIndex_Native' is a callback function, if 'word' is declared with const you might also need to cast function pointer(s). [constParameterCallback] swish-e-2.4.7/src/db_native.c:104:40: note: You might need to cast the function pointer here swish-e-2.4.7/src/db_native.c:1461:51: note: Parameter 'word' can be declared as pointer to const swish-e-2.4.7/src/db_native.c:1623:60: style: Parameter 'filedata' can be declared as pointer to const. However it seems that 'DB_WriteFileNum_Native' is a callback function, if 'filedata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] swish-e-2.4.7/src/db_native.c:108:27: note: You might need to cast the function pointer here swish-e-2.4.7/src/db_native.c:1623:60: note: Parameter 'filedata' can be declared as pointer to const swish-e-2.4.7/src/db_native.c:1623:93: style: Parameter 'db' can be declared as pointer to const. However it seems that 'DB_WriteFileNum_Native' is a callback function, if 'db' is declared with const you might also need to cast function pointer(s). [constParameterCallback] swish-e-2.4.7/src/db_native.c:108:27: note: You might need to cast the function pointer here swish-e-2.4.7/src/db_native.c:1623:93: note: Parameter 'db' can be declared as pointer to const swish-e-2.4.7/src/db_native.c:1640:46: style: Parameter 'filedata' can be declared as pointer to const. However it seems that 'DB_ReadFileNum_Native' is a callback function, if 'filedata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] swish-e-2.4.7/src/db_native.c:109:26: note: You might need to cast the function pointer here swish-e-2.4.7/src/db_native.c:1640:46: note: Parameter 'filedata' can be declared as pointer to const swish-e-2.4.7/src/db_native.c:1640:62: style: Parameter 'db' can be declared as pointer to const. However it seems that 'DB_ReadFileNum_Native' is a callback function, if 'db' is declared with const you might also need to cast function pointer(s). [constParameterCallback] swish-e-2.4.7/src/db_native.c:109:26: note: You might need to cast the function pointer here swish-e-2.4.7/src/db_native.c:1640:62: note: Parameter 'db' can be declared as pointer to const swish-e-2.4.7/src/db_native.c:1658:51: style: Parameter 'db' can be declared as pointer to const. However it seems that 'DB_CheckFileNum_Native' is a callback function, if 'db' is declared with const you might also need to cast function pointer(s). [constParameterCallback] swish-e-2.4.7/src/db_native.c:110:27: note: You might need to cast the function pointer here swish-e-2.4.7/src/db_native.c:1658:51: note: Parameter 'db' can be declared as pointer to const swish-e-2.4.7/src/db_native.c:1672:52: style: Parameter 'db' can be declared as pointer to const. However it seems that 'DB_RemoveFileNum_Native' is a callback function, if 'db' is declared with const you might also need to cast function pointer(s). [constParameterCallback] swish-e-2.4.7/src/db_native.c:111:28: note: You might need to cast the function pointer here swish-e-2.4.7/src/db_native.c:1672:52: note: Parameter 'db' can be declared as pointer to const swish-e-2.4.7/src/db_native.c:2005:63: style: Parameter 'data' can be declared as pointer to const. However it seems that 'DB_WriteSortedIndex_Native' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] swish-e-2.4.7/src/db_native.c:114:31: note: You might need to cast the function pointer here swish-e-2.4.7/src/db_native.c:2005:63: note: Parameter 'data' can be declared as pointer to const swish-e-2.4.7/src/db_native.c:2061:45: style: Parameter 'db' can be declared as pointer to const. However it seems that 'DB_InitReadSortedIndex_Native' is a callback function, if 'db' is declared with const you might also need to cast function pointer(s). [constParameterCallback] swish-e-2.4.7/src/db_native.c:117:34: note: You might need to cast the function pointer here swish-e-2.4.7/src/db_native.c:2061:45: note: Parameter 'db' can be declared as pointer to const swish-e-2.4.7/src/db_native.c:2121:39: style: Parameter 'data' can be declared as pointer to const. However it seems that 'DB_ReadSortedData_Native' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] swish-e-2.4.7/src/db_native.c:119:29: note: You might need to cast the function pointer here swish-e-2.4.7/src/db_native.c:2121:39: note: Parameter 'data' can be declared as pointer to const swish-e-2.4.7/src/db_native.c:2127:44: style: Parameter 'db' can be declared as pointer to const. However it seems that 'DB_EndReadSortedIndex_Native' is a callback function, if 'db' is declared with const you might also need to cast function pointer(s). [constParameterCallback] swish-e-2.4.7/src/db_native.c:120:33: note: You might need to cast the function pointer here swish-e-2.4.7/src/db_native.c:2127:44: note: Parameter 'db' can be declared as pointer to const swish-e-2.4.7/src/db_native.c:2258:84: style: Parameter 'buffer' can be declared as pointer to const. However it seems that 'DB_WriteProperty_Native' is a callback function, if 'buffer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] swish-e-2.4.7/src/db_native.c:123:28: note: You might need to cast the function pointer here swish-e-2.4.7/src/db_native.c:2258:84: note: Parameter 'buffer' can be declared as pointer to const swish-e-2.4.7/src/db_native.c:2362:22: style: Variable 'header' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/db_native.c:2397:24: style: Variable 'prop_loc' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/db_native.c:2432:22: style: Variable 'header' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/db_native.c:2524:22: style: Variable 'prop_loc' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/db_native.c:1380:25: warning: Uninitialized variable: dataoffset [uninitvar] swish-e-2.4.7/src/db_native.c:1357:12: note: Assuming condition is false swish-e-2.4.7/src/db_native.c:1380:25: note: Uninitialized variable: dataoffset swish-e-2.4.7/src/db_native.c:911:13: style: Variable 'len' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/db_native.c:1035:22: style: Variable 'read' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/db_native.c:1407:11: style: Variable 'found' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/db_native.c:2546:14: style: Variable 'prop_loc' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/db_read.c:601:23: style: Variable 'buffer[bufferpos]' is reassigned a value before the old one has been used. [redundantAssignment] swish-e-2.4.7/src/db_read.c:593:31: note: buffer[bufferpos] is assigned swish-e-2.4.7/src/db_read.c:601:23: note: buffer[bufferpos] is overwritten swish-e-2.4.7/src/db_read.c:94:84: style:inconclusive: Function 'read_worddata' argument 4 names different: declaration 'bufer' definition 'buffer'. [funcArgNamesDifferent] swish-e-2.4.7/src/db.h:57:87: note: Function 'read_worddata' argument 4 names different: declaration 'bufer' definition 'buffer'. swish-e-2.4.7/src/db_read.c:94:84: note: Function 'read_worddata' argument 4 names different: declaration 'bufer' definition 'buffer'. swish-e-2.4.7/src/db_read.c:376:9: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/db_read.c:552:7: style: Variable 'i' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/db_write.c:107:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/db_write.c:100:12: style: Redundant condition: c. '!c || (c && !*(c+1))' is equivalent to '!c || !*(c+1)' [redundantCondition] swish-e-2.4.7/src/db_write.c:88:29: style:inconclusive: Function 'write_header' argument 1 names different: declaration 'ws' definition 'sw'. [funcArgNamesDifferent] swish-e-2.4.7/src/db.h:47:29: note: Function 'write_header' argument 1 names different: declaration 'ws' definition 'sw'. swish-e-2.4.7/src/db_write.c:88:29: note: Function 'write_header' argument 1 names different: declaration 'ws' definition 'sw'. swish-e-2.4.7/src/db_write.c:366:45: style:inconclusive: Function 'add_worddata' argument 2 names different: declaration 'buffer' definition 'olddata'. [funcArgNamesDifferent] swish-e-2.4.7/src/db.h:58:48: note: Function 'add_worddata' argument 2 names different: declaration 'buffer' definition 'olddata'. swish-e-2.4.7/src/db_write.c:366:45: note: Function 'add_worddata' argument 2 names different: declaration 'buffer' definition 'olddata'. swish-e-2.4.7/src/db_write.c:366:58: style:inconclusive: Function 'add_worddata' argument 3 names different: declaration 'sz_buffer' definition 'sz_olddata'. [funcArgNamesDifferent] swish-e-2.4.7/src/db.h:58:60: note: Function 'add_worddata' argument 3 names different: declaration 'sz_buffer' definition 'sz_olddata'. swish-e-2.4.7/src/db_write.c:366:58: note: Function 'add_worddata' argument 3 names different: declaration 'sz_buffer' definition 'sz_olddata'. swish-e-2.4.7/src/db_write.c:344:41: style: Parameter 'ep' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/db_write.c:381:16: style: Variable 'q' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/db_write.c:640:23: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/db_write.c:747:58: style: Parameter 'table' can be declared as const array [constParameter] swish-e-2.4.7/src/db_write.c:417:7: style: Variable 'q' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/db_write.c:437:22: style: Variable 'curmetanamepos_2' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/db_write.c:528:34: style: Variable 'curmetanamepos_2' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/db_write.c:562:34: style: Variable 'curmetanamepos_2' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/db_write.c:593:30: style: Variable 'curmetanamepos_1' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/db_write.c:621:29: style: Variable 'curmetanamepos_2' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/docprop.c:227:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] swish-e-2.4.7/src/docprop.c:295:57: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] swish-e-2.4.7/src/docprop.c:481:18: warning: Either the condition '!result' is redundant or there is possible null pointer dereference: result. [nullPointerRedundantCheck] swish-e-2.4.7/src/docprop.c:477:9: note: Assuming that condition '!result' is not redundant swish-e-2.4.7/src/docprop.c:481:18: note: Null pointer dereference swish-e-2.4.7/src/docprop.c:482:14: warning: Either the condition '!result' is redundant or there is possible null pointer dereference: result. [nullPointerRedundantCheck] swish-e-2.4.7/src/docprop.c:477:9: note: Assuming that condition '!result' is not redundant swish-e-2.4.7/src/docprop.c:482:14: note: Null pointer dereference swish-e-2.4.7/src/docprop.c:744:28: warning: Either the condition '!string' is redundant or there is possible null pointer dereference: string. [nullPointerRedundantCheck] swish-e-2.4.7/src/docprop.c:747:10: note: Assuming that condition '!string' is not redundant swish-e-2.4.7/src/docprop.c:744:28: note: Null pointer dereference swish-e-2.4.7/src/docprop.c:931:26: warning: Either the condition 'str' is redundant or there is possible null pointer dereference: str. [nullPointerRedundantCheck] swish-e-2.4.7/src/docprop.c:938:14: note: Assuming that condition 'str' is not redundant swish-e-2.4.7/src/docprop.c:931:26: note: Null pointer dereference swish-e-2.4.7/src/docprop.c:961:50: warning: Either the condition 'str' is redundant or there is possible null pointer dereference: str. [nullPointerRedundantCheck] swish-e-2.4.7/src/docprop.c:964:9: note: Assuming that condition 'str' is not redundant swish-e-2.4.7/src/docprop.c:961:50: note: Null pointer dereference swish-e-2.4.7/src/docprop.c:610:49: style:inconclusive: Function 'getResultPropValue' argument 2 names different: declaration 'name' definition 'pname'. [funcArgNamesDifferent] swish-e-2.4.7/src/docprop.h:72:49: note: Function 'getResultPropValue' argument 2 names different: declaration 'name' definition 'pname'. swish-e-2.4.7/src/docprop.c:610:49: note: Function 'getResultPropValue' argument 2 names different: declaration 'name' definition 'pname'. swish-e-2.4.7/src/docprop.c:188:50: style: Parameter 'propValue' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/docprop.c:730:46: style: Parameter 'meta_entry' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/docprop.c:735:15: style: Variable 'tmpnum' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/docprop.c:1108:43: style: Parameter 'meta_entry' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/docprop.c:1180:61: style: Parameter 'props' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/docprop.c:1372:27: style: Variable 'm' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/docprop.c:1357:17: style: Variable 'count' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/docprop_write.c:60:22: style: Variable 'docProperties' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/docprop_write.c:142:53: style: Parameter 'prop' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/double_metaphone.c:88:21: style: Parameter 'init_str' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/double_metaphone.c:147:22: style: Parameter 's' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/double_metaphone.c:180:24: style: Parameter 's' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/double_metaphone.c:187:20: style: Parameter 's' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/double_metaphone.c:210:23: style: Parameter 's' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/double_metaphone.c:212:11: style: Variable 'test' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/double_metaphone.c:213:11: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/double_metaphone.c:237:33: style: Parameter 'new_str' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/dump.c:84:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/dump.c:157:60: style:inconclusive: Function 'dump_word_count' argument 3 names different: declaration 'begin' definition 'filenum'. [funcArgNamesDifferent] swish-e-2.4.7/src/dump.h:43:57: note: Function 'dump_word_count' argument 3 names different: declaration 'begin' definition 'filenum'. swish-e-2.4.7/src/dump.c:157:60: note: Function 'dump_word_count' argument 3 names different: declaration 'begin' definition 'filenum'. swish-e-2.4.7/src/dump.c:375:36: style: Local variable 's' shadows outer variable [shadowVariable] swish-e-2.4.7/src/dump.c:195:33: note: Shadowed declaration swish-e-2.4.7/src/dump.c:375:36: note: Shadow variable swish-e-2.4.7/src/dump.c:365:46: style: Variable 'm' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/dump.c:490:73: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/dump.c:565:31: style: Variable 'm' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/dump.c:205:12: style: Variable 'metaID' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/dump.c:207:21: style: Variable 'metadata_length' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/dump.c:209:7: style: Variable 'c' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/dump.c:223:14: style: Variable 'fieldnum' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/dump.c:253:24: style: Variable 'metaID' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/dump.c:279:32: style: Variable 'metaID' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/entities.c:648:41: style:inconclusive: Function 'charEntityDecode' argument 1 names different: declaration 'buf' definition 's'. [funcArgNamesDifferent] swish-e-2.4.7/src/entities.h:63:38: note: Function 'charEntityDecode' argument 1 names different: declaration 'buf' definition 's'. swish-e-2.4.7/src/entities.c:648:41: note: Function 'charEntityDecode' argument 1 names different: declaration 'buf' definition 's'. swish-e-2.4.7/src/entities.c:548:13: style: Variable 'w0' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/error.c:63:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/error.c:72:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/error.c:95:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/error.c:129:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/error.c:148:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/error.c:166:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/error.c:129:9: style: Variable 'errstr' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/error.c:221:28: style: Parameter 'sw' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/error.c:243:33: style: Parameter 'sw' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/error.c:262:34: style: Parameter 'sw' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/error.c:312:31: style: Parameter 'sw' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/expat/xmlparse.c:493:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POSITION [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse.c:875:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_PARAM_ENTITY_PARSING_NEVER [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse.c:886:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ERROR_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse.c:946:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ERROR_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse.c:978:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ERROR_NO_MEMORY [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse.c:1091:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ERROR_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse.c:1112:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ERROR_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse.c:1140:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ERROR_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse.c:1201:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ERROR_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse.c:1629:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ERROR_NO_MEMORY [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse.c:1844:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_Char [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse.c:1938:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ERROR_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse.c:2093:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmlInitEncoding [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse.c:2108:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmlParseXmlDecl [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse.c:2171:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ERROR_NO_MEMORY [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse.c:2199:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ERROR_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse.c:2244:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_INVALID [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse.c:2755:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ERROR_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse.c:2836:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ERROR_NO_MEMORY [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse.c:2850:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ERROR_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse.c:3011:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ERROR_SYNTAX [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse.c:3105:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse.c:3296:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse.c:3363:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse.c:3518:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse.c:3892:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_Char [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse.c:1920:12: style: Variable '*eventPP' is reassigned a value before the old one has been used. [redundantAssignment] swish-e-2.4.7/src/expat/xmlparse.c:1913:14: note: *eventPP is assigned swish-e-2.4.7/src/expat/xmlparse.c:1920:12: note: *eventPP is overwritten swish-e-2.4.7/src/expat/xmlparse.c:2889:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] swish-e-2.4.7/src/expat/xmlparse.c:1178:16: style:inconclusive: Function 'doContent' argument 4 names different: declaration 'start' definition 's'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse.c:214:16: note: Function 'doContent' argument 4 names different: declaration 'start' definition 's'. swish-e-2.4.7/src/expat/xmlparse.c:1178:16: note: Function 'doContent' argument 4 names different: declaration 'start' definition 's'. swish-e-2.4.7/src/expat/xmlparse.c:1180:17: style:inconclusive: Function 'doContent' argument 6 names different: declaration 'endPtr' definition 'nextPtr'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse.c:214:53: note: Function 'doContent' argument 6 names different: declaration 'endPtr' definition 'nextPtr'. swish-e-2.4.7/src/expat/xmlparse.c:1180:17: note: Function 'doContent' argument 6 names different: declaration 'endPtr' definition 'nextPtr'. swish-e-2.4.7/src/expat/xmlparse.c:1610:17: style:inconclusive: Function 'storeAtts' argument 3 names different: declaration 's' definition 'attStr'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse.c:221:82: note: Function 'storeAtts' argument 3 names different: declaration 's' definition 'attStr'. swish-e-2.4.7/src/expat/xmlparse.c:1610:17: note: Function 'storeAtts' argument 3 names different: declaration 's' definition 'attStr'. swish-e-2.4.7/src/expat/xmlparse.c:2194:19: style:inconclusive: Function 'prologInitProcessor' argument 2 names different: declaration 'start' definition 's'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse.c:184:18: note: Function 'prologInitProcessor' argument 2 names different: declaration 'start' definition 's'. swish-e-2.4.7/src/expat/xmlparse.c:2194:19: note: Function 'prologInitProcessor' argument 2 names different: declaration 'start' definition 's'. swish-e-2.4.7/src/expat/xmlparse.c:2196:20: style:inconclusive: Function 'prologInitProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse.c:184:18: note: Function 'prologInitProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. swish-e-2.4.7/src/expat/xmlparse.c:2196:20: note: Function 'prologInitProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. swish-e-2.4.7/src/expat/xmlparse.c:2207:15: style:inconclusive: Function 'prologProcessor' argument 2 names different: declaration 'start' definition 's'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse.c:183:18: note: Function 'prologProcessor' argument 2 names different: declaration 'start' definition 's'. swish-e-2.4.7/src/expat/xmlparse.c:2207:15: note: Function 'prologProcessor' argument 2 names different: declaration 'start' definition 's'. swish-e-2.4.7/src/expat/xmlparse.c:2209:16: style:inconclusive: Function 'prologProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse.c:183:18: note: Function 'prologProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. swish-e-2.4.7/src/expat/xmlparse.c:2209:16: note: Function 'prologProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. swish-e-2.4.7/src/expat/xmlparse.c:2735:23: style:inconclusive: Function 'epilogProcessor' argument 2 names different: declaration 'start' definition 's'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse.c:190:18: note: Function 'epilogProcessor' argument 2 names different: declaration 'start' definition 's'. swish-e-2.4.7/src/expat/xmlparse.c:2735:23: note: Function 'epilogProcessor' argument 2 names different: declaration 'start' definition 's'. swish-e-2.4.7/src/expat/xmlparse.c:2737:24: style:inconclusive: Function 'epilogProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse.c:190:18: note: Function 'epilogProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. swish-e-2.4.7/src/expat/xmlparse.c:2737:24: note: Function 'epilogProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. swish-e-2.4.7/src/expat/xmlparse.c:2818:22: style:inconclusive: Function 'errorProcessor' argument 2 names different: declaration 'start' definition 's'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse.c:191:18: note: Function 'errorProcessor' argument 2 names different: declaration 'start' definition 's'. swish-e-2.4.7/src/expat/xmlparse.c:2818:22: note: Function 'errorProcessor' argument 2 names different: declaration 'start' definition 's'. swish-e-2.4.7/src/expat/xmlparse.c:2820:23: style:inconclusive: Function 'errorProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse.c:191:18: note: Function 'errorProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. swish-e-2.4.7/src/expat/xmlparse.c:2820:23: note: Function 'errorProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. swish-e-2.4.7/src/expat/xmlparse.c:2963:17: style:inconclusive: Function 'storeEntityValue' argument 3 names different: declaration 'start' definition 'entityTextPtr'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse.c:237:70: note: Function 'storeEntityValue' argument 3 names different: declaration 'start' definition 'entityTextPtr'. swish-e-2.4.7/src/expat/xmlparse.c:2963:17: note: Function 'storeEntityValue' argument 3 names different: declaration 'start' definition 'entityTextPtr'. swish-e-2.4.7/src/expat/xmlparse.c:2964:17: style:inconclusive: Function 'storeEntityValue' argument 4 names different: declaration 'end' definition 'entityTextEnd'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse.c:237:89: note: Function 'storeEntityValue' argument 4 names different: declaration 'end' definition 'entityTextEnd'. swish-e-2.4.7/src/expat/xmlparse.c:2964:17: note: Function 'storeEntityValue' argument 4 names different: declaration 'end' definition 'entityTextEnd'. swish-e-2.4.7/src/expat/xmlparse.c:3139:67: style:inconclusive: Function 'reportDefault' argument 3 names different: declaration 'start' definition 's'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse.c:243:67: note: Function 'reportDefault' argument 3 names different: declaration 'start' definition 's'. swish-e-2.4.7/src/expat/xmlparse.c:3139:67: note: Function 'reportDefault' argument 3 names different: declaration 'start' definition 's'. swish-e-2.4.7/src/expat/xmlparse.c:3166:97: style:inconclusive: Function 'defineAttribute' argument 5 names different: declaration 'dfltValue' definition 'value'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse.c:226:92: note: Function 'defineAttribute' argument 5 names different: declaration 'dfltValue' definition 'value'. swish-e-2.4.7/src/expat/xmlparse.c:3166:97: note: Function 'defineAttribute' argument 5 names different: declaration 'dfltValue' definition 'value'. swish-e-2.4.7/src/expat/xmlparse.c:3413:34: style:inconclusive: Function 'normalizePublicId' argument 1 names different: declaration 's' definition 'publicId'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse.c:247:41: note: Function 'normalizePublicId' argument 1 names different: declaration 's' definition 'publicId'. swish-e-2.4.7/src/expat/xmlparse.c:3413:34: note: Function 'normalizePublicId' argument 1 names different: declaration 's' definition 'publicId'. swish-e-2.4.7/src/expat/xmlparse.c:2137:23: style: Local variable 's' shadows outer argument [shadowArgument] swish-e-2.4.7/src/expat/xmlparse.c:2100:21: note: Shadowed declaration swish-e-2.4.7/src/expat/xmlparse.c:2137:23: note: Shadow variable swish-e-2.4.7/src/expat/xmlparse.c:583:8: style: Variable 'oldDtd' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/expat/xmlparse.c:602:9: style: Variable 'oldHandlerArg' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/expat/xmlparse.c:3337:13: style: Variable 'e' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/expat/xmlparse.c:2113:14: error: Uninitialized variable: &version [uninitvar] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:493:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POSITION [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:1311:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:1643:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATTRIBUTE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2093:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmlInitEncoding [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2108:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmlParseXmlDecl [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2175:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmlInitUnknownEncoding [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2244:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_INVALID [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2861:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_UTF8_ENCODE_MAX [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:3029:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_UTF8_ENCODE_MAX [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:3105:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:3296:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:3363:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:3518:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:1920:12: style: Variable '*eventPP' is reassigned a value before the old one has been used. [redundantAssignment] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:1913:14: note: *eventPP is assigned swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:1920:12: note: *eventPP is overwritten swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2889:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:453:45: style:inconclusive: Function 'XML_ParserCreate' argument 1 names different: declaration 'encoding' definition 'encodingName'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse/xmlparse.h:56:34: note: Function 'XML_ParserCreate' argument 1 names different: declaration 'encoding' definition 'encodingName'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:453:45: note: Function 'XML_ParserCreate' argument 1 names different: declaration 'encoding' definition 'encodingName'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:536:47: style:inconclusive: Function 'XML_ParserCreateNS' argument 1 names different: declaration 'encoding' definition 'encodingName'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse/xmlparse.h:69:36: note: Function 'XML_ParserCreateNS' argument 1 names different: declaration 'encoding' definition 'encodingName'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:536:47: note: Function 'XML_ParserCreateNS' argument 1 names different: declaration 'encoding' definition 'encodingName'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:536:70: style:inconclusive: Function 'XML_ParserCreateNS' argument 2 names different: declaration 'namespaceSeparator' definition 'nsSep'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse/xmlparse.h:69:55: note: Function 'XML_ParserCreateNS' argument 2 names different: declaration 'namespaceSeparator' definition 'nsSep'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:536:70: note: Function 'XML_ParserCreateNS' argument 2 names different: declaration 'namespaceSeparator' definition 'nsSep'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:566:56: style:inconclusive: Function 'XML_SetEncoding' argument 2 names different: declaration 'encoding' definition 'encodingName'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse/xmlparse.h:368:52: note: Function 'XML_SetEncoding' argument 2 names different: declaration 'encoding' definition 'encodingName'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:566:56: note: Function 'XML_SetEncoding' argument 2 names different: declaration 'encoding' definition 'encodingName'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:578:54: style:inconclusive: Function 'XML_ExternalEntityParserCreate' argument 1 names different: declaration 'parser' definition 'oldParser'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse/xmlparse.h:430:43: note: Function 'XML_ExternalEntityParserCreate' argument 1 names different: declaration 'parser' definition 'oldParser'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:578:54: note: Function 'XML_ExternalEntityParserCreate' argument 1 names different: declaration 'parser' definition 'oldParser'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:580:24: style:inconclusive: Function 'XML_ExternalEntityParserCreate' argument 3 names different: declaration 'encoding' definition 'encodingName'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse/xmlparse.h:432:27: note: Function 'XML_ExternalEntityParserCreate' argument 3 names different: declaration 'encoding' definition 'encodingName'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:580:24: note: Function 'XML_ExternalEntityParserCreate' argument 3 names different: declaration 'encoding' definition 'encodingName'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:716:47: style:inconclusive: Function 'XML_SetUserData' argument 2 names different: declaration 'userData' definition 'p'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse/xmlparse.h:358:42: note: Function 'XML_SetUserData' argument 2 names different: declaration 'userData' definition 'p'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:716:47: note: Function 'XML_SetUserData' argument 2 names different: declaration 'userData' definition 'p'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:724:52: style:inconclusive: Function 'XML_SetBase' argument 2 names different: declaration 'base' definition 'p'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse/xmlparse.h:385:48: note: Function 'XML_SetBase' argument 2 names different: declaration 'base' definition 'p'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:724:52: note: Function 'XML_SetBase' argument 2 names different: declaration 'base' definition 'p'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:862:14: style:inconclusive: Function 'XML_SetUnknownEncodingHandler' argument 3 names different: declaration 'encodingHandlerData' definition 'data'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse/xmlparse.h:349:16: note: Function 'XML_SetUnknownEncodingHandler' argument 3 names different: declaration 'encodingHandlerData' definition 'data'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:862:14: note: Function 'XML_SetUnknownEncodingHandler' argument 3 names different: declaration 'encodingHandlerData' definition 'data'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:1178:16: style:inconclusive: Function 'doContent' argument 4 names different: declaration 'start' definition 's'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:214:16: note: Function 'doContent' argument 4 names different: declaration 'start' definition 's'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:1178:16: note: Function 'doContent' argument 4 names different: declaration 'start' definition 's'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:1180:17: style:inconclusive: Function 'doContent' argument 6 names different: declaration 'endPtr' definition 'nextPtr'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:214:53: note: Function 'doContent' argument 6 names different: declaration 'endPtr' definition 'nextPtr'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:1180:17: note: Function 'doContent' argument 6 names different: declaration 'endPtr' definition 'nextPtr'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:1610:17: style:inconclusive: Function 'storeAtts' argument 3 names different: declaration 's' definition 'attStr'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:221:82: note: Function 'storeAtts' argument 3 names different: declaration 's' definition 'attStr'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:1610:17: note: Function 'storeAtts' argument 3 names different: declaration 's' definition 'attStr'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2194:19: style:inconclusive: Function 'prologInitProcessor' argument 2 names different: declaration 'start' definition 's'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:184:18: note: Function 'prologInitProcessor' argument 2 names different: declaration 'start' definition 's'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2194:19: note: Function 'prologInitProcessor' argument 2 names different: declaration 'start' definition 's'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2196:20: style:inconclusive: Function 'prologInitProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:184:18: note: Function 'prologInitProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2196:20: note: Function 'prologInitProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2207:15: style:inconclusive: Function 'prologProcessor' argument 2 names different: declaration 'start' definition 's'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:183:18: note: Function 'prologProcessor' argument 2 names different: declaration 'start' definition 's'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2207:15: note: Function 'prologProcessor' argument 2 names different: declaration 'start' definition 's'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2209:16: style:inconclusive: Function 'prologProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:183:18: note: Function 'prologProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2209:16: note: Function 'prologProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2735:23: style:inconclusive: Function 'epilogProcessor' argument 2 names different: declaration 'start' definition 's'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:190:18: note: Function 'epilogProcessor' argument 2 names different: declaration 'start' definition 's'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2735:23: note: Function 'epilogProcessor' argument 2 names different: declaration 'start' definition 's'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2737:24: style:inconclusive: Function 'epilogProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:190:18: note: Function 'epilogProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2737:24: note: Function 'epilogProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2818:22: style:inconclusive: Function 'errorProcessor' argument 2 names different: declaration 'start' definition 's'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:191:18: note: Function 'errorProcessor' argument 2 names different: declaration 'start' definition 's'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2818:22: note: Function 'errorProcessor' argument 2 names different: declaration 'start' definition 's'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2820:23: style:inconclusive: Function 'errorProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:191:18: note: Function 'errorProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2820:23: note: Function 'errorProcessor' argument 4 names different: declaration 'endPtr' definition 'nextPtr'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2963:17: style:inconclusive: Function 'storeEntityValue' argument 3 names different: declaration 'start' definition 'entityTextPtr'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:237:70: note: Function 'storeEntityValue' argument 3 names different: declaration 'start' definition 'entityTextPtr'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2963:17: note: Function 'storeEntityValue' argument 3 names different: declaration 'start' definition 'entityTextPtr'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2964:17: style:inconclusive: Function 'storeEntityValue' argument 4 names different: declaration 'end' definition 'entityTextEnd'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:237:89: note: Function 'storeEntityValue' argument 4 names different: declaration 'end' definition 'entityTextEnd'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2964:17: note: Function 'storeEntityValue' argument 4 names different: declaration 'end' definition 'entityTextEnd'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:3139:67: style:inconclusive: Function 'reportDefault' argument 3 names different: declaration 'start' definition 's'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:243:67: note: Function 'reportDefault' argument 3 names different: declaration 'start' definition 's'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:3139:67: note: Function 'reportDefault' argument 3 names different: declaration 'start' definition 's'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:3166:97: style:inconclusive: Function 'defineAttribute' argument 5 names different: declaration 'dfltValue' definition 'value'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:226:92: note: Function 'defineAttribute' argument 5 names different: declaration 'dfltValue' definition 'value'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:3166:97: note: Function 'defineAttribute' argument 5 names different: declaration 'dfltValue' definition 'value'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:3413:34: style:inconclusive: Function 'normalizePublicId' argument 1 names different: declaration 's' definition 'publicId'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:247:41: note: Function 'normalizePublicId' argument 1 names different: declaration 's' definition 'publicId'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:3413:34: note: Function 'normalizePublicId' argument 1 names different: declaration 's' definition 'publicId'. swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2137:23: style: Local variable 's' shadows outer argument [shadowArgument] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2100:21: note: Shadowed declaration swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2137:23: note: Shadow variable swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:583:8: style: Variable 'oldDtd' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:602:9: style: Variable 'oldHandlerArg' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:3337:13: style: Variable 'e' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/expat/xmlparse/xmlparse.c:2113:14: error: Uninitialized variable: &version [uninitvar] swish-e-2.4.7/src/expat/xmlrole.c:91:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:126:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:155:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:175:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:193:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:223:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:240:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:257:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:277:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:294:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:393:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:413:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:430:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:457:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:475:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:492:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:515:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:532:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:559:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:576:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:593:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:610:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:634:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:651:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:668:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:688:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:706:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:727:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:768:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:787:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:807:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:825:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:842:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:863:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:903:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:920:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:938:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:966:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:1006:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:1027:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:1045:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:1065:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:1095:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:1198:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:1233:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:1244:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ROLE_ERROR [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmlrole.c:1227:25: style: Parameter 'state' can be declared as pointer to const. However it seems that 'error' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] swish-e-2.4.7/src/expat/xmlrole.c:1243:20: note: You might need to cast the function pointer here swish-e-2.4.7/src/expat/xmlrole.c:1227:25: note: Parameter 'state' can be declared as pointer to const swish-e-2.4.7/src/expat/xmltok.c:82:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable namingBitmap [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok.c:88:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable namingBitmap [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok.c:96:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable namingBitmap [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok.c:102:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable namingBitmap [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok.c:461:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BT_LEAD4 [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok.c:861:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASCII_a [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok.c:940:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASCII_EQUALS [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok.c:1059:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASCII_a [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok.c:1107:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BT_NONXML [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok.c:1191:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable namingBitmap [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok.c:1201:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable namingBitmap [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok.c:1217:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_UTF8_ENCODE_MAX [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok.c:1258:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BT_LEAD2 [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok.c:1284:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BT_MALFORM [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok.c:1423:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok.c:1268:15: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/expat/xmltok.c:1317:11: warning: Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 1315. [shiftTooManyBitsSigned] swish-e-2.4.7/src/expat/xmltok.c:1315:13: note: Assuming that condition 'c>0xFFFF' is not redundant swish-e-2.4.7/src/expat/xmltok.c:1317:11: note: Shift swish-e-2.4.7/src/expat/xmltok/dllmain.c:13:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmlrole.c:1227:25: style: Parameter 'state' can be declared as pointer to const. However it seems that 'error' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] swish-e-2.4.7/src/expat/xmltok/xmlrole.c:1243:20: note: You might need to cast the function pointer here swish-e-2.4.7/src/expat/xmltok/xmlrole.c:1227:25: note: Parameter 'state' can be declared as pointer to const swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:101:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:134:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:227:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:316:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:385:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:432:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:466:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:497:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:529:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:690:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:795:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:885:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:914:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:941:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:983:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:1204:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:1262:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:1367:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:1429:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:1609:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:1687:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:1713:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:1732:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok.c:1118:23: style:inconclusive: Function 'XmlUtf8Encode' argument 1 names different: declaration 'charNumber' definition 'c'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmltok/xmltok.h:270:33: note: Function 'XmlUtf8Encode' argument 1 names different: declaration 'charNumber' definition 'c'. swish-e-2.4.7/src/expat/xmltok/xmltok.c:1118:23: note: Function 'XmlUtf8Encode' argument 1 names different: declaration 'charNumber' definition 'c'. swish-e-2.4.7/src/expat/xmltok/xmltok.c:1154:24: style:inconclusive: Function 'XmlUtf16Encode' argument 1 names different: declaration 'charNumber' definition 'charNum'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmltok/xmltok.h:271:34: note: Function 'XmlUtf16Encode' argument 1 names different: declaration 'charNumber' definition 'charNum'. swish-e-2.4.7/src/expat/xmltok/xmltok.c:1154:24: note: Function 'XmlUtf16Encode' argument 1 names different: declaration 'charNumber' definition 'charNum'. swish-e-2.4.7/src/expat/xmltok/xmltok_ns.c:82:17: style:inconclusive: Function 'XmlParseXmlDecl' argument 7 names different: declaration 'encodingNamePtr' definition 'encodingName'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmltok/xmltok.h:263:23: note: Function 'XmlParseXmlDecl' argument 7 names different: declaration 'encodingNamePtr' definition 'encodingName'. swish-e-2.4.7/src/expat/xmltok/xmltok_ns.c:82:17: note: Function 'XmlParseXmlDecl' argument 7 names different: declaration 'encodingNamePtr' definition 'encodingName'. swish-e-2.4.7/src/expat/xmltok/xmltok_ns.c:83:21: style:inconclusive: Function 'XmlParseXmlDecl' argument 8 names different: declaration 'namedEncodingPtr' definition 'encoding'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmltok/xmltok.h:264:27: note: Function 'XmlParseXmlDecl' argument 8 names different: declaration 'namedEncodingPtr' definition 'encoding'. swish-e-2.4.7/src/expat/xmltok/xmltok_ns.c:83:21: note: Function 'XmlParseXmlDecl' argument 8 names different: declaration 'namedEncodingPtr' definition 'encoding'. swish-e-2.4.7/src/expat/xmltok/xmltok_ns.c:84:9: style:inconclusive: Function 'XmlParseXmlDecl' argument 9 names different: declaration 'standalonePtr' definition 'standalone'. [funcArgNamesDifferent] swish-e-2.4.7/src/expat/xmltok/xmltok.h:265:15: note: Function 'XmlParseXmlDecl' argument 9 names different: declaration 'standalonePtr' definition 'standalone'. swish-e-2.4.7/src/expat/xmltok/xmltok_ns.c:84:9: note: Function 'XmlParseXmlDecl' argument 9 names different: declaration 'standalonePtr' definition 'standalone'. swish-e-2.4.7/src/expat/xmltok/xmltok.c:1268:15: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/expat/xmltok/xmltok.c:1317:11: warning: Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 1315. [shiftTooManyBitsSigned] swish-e-2.4.7/src/expat/xmltok/xmltok.c:1315:13: note: Assuming that condition 'c>0xFFFF' is not redundant swish-e-2.4.7/src/expat/xmltok/xmltok.c:1317:11: note: Shift swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:95:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASCII_MINUS [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:133:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_PARTIAL [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:179:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_PI [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:226:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_PARTIAL [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:290:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_PARTIAL [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:306:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:384:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_PARTIAL [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:438:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_INVALID [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:464:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASCII_x [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:496:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_PARTIAL [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:530:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_INVALID [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:689:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_PARTIAL [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:785:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:884:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_PARTIAL [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:913:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_PARTIAL [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:943:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_PARTIAL_CHAR [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:973:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:1201:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:1259:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TOK_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:1391:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASCII_TAB [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:1440:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:1518:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASCII_x [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:1557:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASCII_t [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_impl.c:1747:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BT_LF [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/expat/xmltok/xmltok_ns.c:1:17: error: There is an unknown macro here somewhere. Configuration is required. If NS is a macro then please configure it. [unknownMacro] swish-e-2.4.7/src/extprog.c:127:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/extprog.c:482:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/extprog.c:361:32: warning: Either the condition '!x' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] swish-e-2.4.7/src/extprog.c:359:21: note: Assuming that condition '!x' is not redundant swish-e-2.4.7/src/extprog.c:361:32: note: Null pointer addition swish-e-2.4.7/src/extprog.c:370:32: warning: Either the condition '!x' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] swish-e-2.4.7/src/extprog.c:368:21: note: Assuming that condition '!x' is not redundant swish-e-2.4.7/src/extprog.c:370:32: note: Null pointer addition swish-e-2.4.7/src/extprog.c:391:33: warning: Either the condition '!x' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] swish-e-2.4.7/src/extprog.c:388:21: note: Assuming that condition '!x' is not redundant swish-e-2.4.7/src/extprog.c:391:33: note: Null pointer addition swish-e-2.4.7/src/extprog.c:406:33: warning: Either the condition '!x' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] swish-e-2.4.7/src/extprog.c:403:21: note: Assuming that condition '!x' is not redundant swish-e-2.4.7/src/extprog.c:406:33: note: Null pointer addition swish-e-2.4.7/src/extprog.c:437:33: warning: Either the condition '!x' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] swish-e-2.4.7/src/extprog.c:434:21: note: Assuming that condition '!x' is not redundant swish-e-2.4.7/src/extprog.c:437:33: note: Null pointer addition swish-e-2.4.7/src/extprog.c:192:13: style: Variable 'rd_buffer' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/extprog.c:358:23: style: Variable 'x' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/extprog.c:367:23: style: Variable 'x' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/extprog.c:493:46: style: Parameter 'sw' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/extprog.c:493:62: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/extprog.c:610:11: style: Variable 'path' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/fhash.c:161:38: style: Parameter 'key1' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/fhash.c:161:73: style: Parameter 'key2' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/fhash.c:186:76: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/fhash.c:262:76: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/file.c:610:30: warning: Either the condition 'temp_fd==-1' is redundant or fdopen() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] swish-e-2.4.7/src/file.c:607:17: note: Assuming that condition 'temp_fd==-1' is not redundant swish-e-2.4.7/src/file.c:610:30: note: Invalid argument swish-e-2.4.7/src/file.c:468:50: style:inconclusive: Function 'file_properties' argument 2 names different: declaration 'work_path' definition 'work_file'. [funcArgNamesDifferent] swish-e-2.4.7/src/file.h:56:51: note: Function 'file_properties' argument 2 names different: declaration 'work_path' definition 'work_file'. swish-e-2.4.7/src/file.c:468:50: note: Function 'file_properties' argument 2 names different: declaration 'work_path' definition 'work_file'. swish-e-2.4.7/src/file.c:556:46: style:inconclusive: Function 'create_tempfile' argument 2 names different: declaration 'mode' definition 'f_mode'. [funcArgNamesDifferent] swish-e-2.4.7/src/file.h:68:46: note: Function 'create_tempfile' argument 2 names different: declaration 'mode' definition 'f_mode'. swish-e-2.4.7/src/file.c:556:46: note: Function 'create_tempfile' argument 2 names different: declaration 'mode' definition 'f_mode'. swish-e-2.4.7/src/file.c:206:22: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/file.c:556:60: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/file.c:564:18: style: Variable 'tmpdir' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/file.c:383:18: style: Variable 'read' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/filter.c:203:52: style:inconclusive: Function 'addfilter' argument 2 names different: declaration 'FilterSuffix' definition 'suffix'. [funcArgNamesDifferent] swish-e-2.4.7/src/filter.c:60:52: note: Function 'addfilter' argument 2 names different: declaration 'FilterSuffix' definition 'suffix'. swish-e-2.4.7/src/filter.c:203:52: note: Function 'addfilter' argument 2 names different: declaration 'FilterSuffix' definition 'suffix'. swish-e-2.4.7/src/filter.c:203:66: style:inconclusive: Function 'addfilter' argument 3 names different: declaration 'FilterProg' definition 'prog'. [funcArgNamesDifferent] swish-e-2.4.7/src/filter.c:60:72: note: Function 'addfilter' argument 3 names different: declaration 'FilterProg' definition 'prog'. swish-e-2.4.7/src/filter.c:203:66: note: Function 'addfilter' argument 3 names different: declaration 'FilterProg' definition 'prog'. swish-e-2.4.7/src/filter.c:203:93: style:inconclusive: Function 'addfilter' argument 5 names different: declaration 'FilterDir' definition 'filterdir'. [funcArgNamesDifferent] swish-e-2.4.7/src/filter.c:60:105: note: Function 'addfilter' argument 5 names different: declaration 'FilterDir' definition 'filterdir'. swish-e-2.4.7/src/filter.c:203:93: note: Function 'addfilter' argument 5 names different: declaration 'FilterDir' definition 'filterdir'. swish-e-2.4.7/src/filter.c:270:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/filter.c:271:13: style: Variable 'fe' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/filter.c:599:14: style: Variable 'quote_char' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/filter.c:602:15: style: Variable 'str' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/fs.c:615:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/fs.c:363:22: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] swish-e-2.4.7/src/fs.c:398:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] swish-e-2.4.7/src/fs.c:156:29: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/fs.c:158:13: style: Variable 'w1' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/fs.c:598:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/fs.c:633:11: style: Variable 'r1' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/fs.c:634:11: style: Variable 'r2' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/headers.c:154:10: warning: Either the condition '!sw' is redundant or there is possible null pointer dereference: sw. [nullPointerRedundantCheck] swish-e-2.4.7/src/headers.c:150:10: note: Assuming that condition '!sw' is not redundant swish-e-2.4.7/src/headers.c:154:10: note: Null pointer dereference swish-e-2.4.7/src/headers.c:184:10: warning: Either the condition '!sw' is redundant or there is possible null pointer dereference: sw. [nullPointerRedundantCheck] swish-e-2.4.7/src/headers.c:180:10: note: Assuming that condition '!sw' is not redundant swish-e-2.4.7/src/headers.c:184:10: note: Null pointer dereference swish-e-2.4.7/src/headers.c:507:25: warning: Either the condition '!sw' is redundant or there is possible null pointer dereference: sw. [nullPointerRedundantCheck] swish-e-2.4.7/src/headers.c:229:10: note: Assuming that condition '!sw' is not redundant swish-e-2.4.7/src/headers.c:232:30: note: Calling function 'indexf_by_name', 1st argument 'sw' value is 0 swish-e-2.4.7/src/headers.c:507:25: note: Null pointer dereference swish-e-2.4.7/src/headers.c:521:30: warning: Either the condition '!results' is redundant or there is possible null pointer dereference: results. [nullPointerRedundantCheck] swish-e-2.4.7/src/headers.c:404:10: note: Assuming that condition '!results' is not redundant swish-e-2.4.7/src/headers.c:409:38: note: Calling function 'db_results_by_name', 1st argument 'results' value is 0 swish-e-2.4.7/src/headers.c:521:30: note: Null pointer dereference swish-e-2.4.7/src/html.c:94:13: style: Condition '*temp' is always true [knownConditionTrueFalse] swish-e-2.4.7/src/html.c:143:5: warning: Either the condition 'word' is redundant or there is possible null pointer dereference: word. [nullPointerRedundantCheck] swish-e-2.4.7/src/html.c:153:56: note: Assuming that condition 'word' is not redundant swish-e-2.4.7/src/html.c:143:5: note: Null pointer dereference swish-e-2.4.7/src/html.c:624:89: style: Argument '(lencontent=2000)+1' to function Mem_ZoneAlloc is always 2001. It does not matter what value 'lencontent' has. [knownArgument] swish-e-2.4.7/src/html.c:646:92: style: Argument '(tagbuflen=2000)+1' to function Mem_ZoneAlloc is always 2001. It does not matter what value 'tagbuflen' has. [knownArgument] swish-e-2.4.7/src/html.c:786:78: style: Argument '(metaIDlen=16)*sizeof(int)' to function Mem_ZoneAlloc is always 64. It does not matter what value 'metaIDlen' has. [knownArgument] swish-e-2.4.7/src/html.c:68:76: style: Parameter 'sw' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/html.c:383:13: style: Variable 'q' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/html.c:388:13: style: Variable 'beginsum' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/html.c:389:13: style: Variable 'endsum' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/html.c:392:13: style: Variable 'tmp3' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/html.c:587:42: style: Parameter 'parsetag' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/html.c:592:13: style: Variable 'r' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/html.c:770:23: style: Variable 'idx' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/html.c:409:15: style: Variable 'q' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/html.c:412:15: style: Variable 'q' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/http.c:668:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/http.c:643:48: style: Argument '(lentitle=2000)+1' to function emalloc is always 2001. It does not matter what value 'lentitle' has. [knownArgument] swish-e-2.4.7/src/http.c:648:60: style: Argument '(lencontenttype=2000)+1' to function emalloc is always 2001. It does not matter what value 'lencontenttype' has. [knownArgument] swish-e-2.4.7/src/http.c:134:13: style: Variable 'w0' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/http.c:226:22: style: Variable 'http' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/http.c:325:13: style: Variable 'end' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/http.c:340:13: style: Variable 'serverend' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/http.c:413:125: style: Parameter 'url' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/http.c:417:22: style: Variable 'http' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/http.c:446:17: style: Variable 'commandline' can be declared as const array [constVariable] swish-e-2.4.7/src/http.c:513:47: style: Parameter 'fmt' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/http.c:513:58: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/http.c:617:13: style: Variable 'tmptitle' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/http.c:678:25: style: Variable 'filter_list' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/httpserver.c:98:55: style: Argument '(lenbuffer=2000)+1' to function emalloc is always 2001. It does not matter what value 'lenbuffer' has. [knownArgument] swish-e-2.4.7/src/httpserver.c:99:70: style: Argument '(lencontenttype=2000)+1' to function emalloc is always 2001. It does not matter what value 'lencontenttype' has. [knownArgument] swish-e-2.4.7/src/httpserver.c:82:11: style: Variable 'method' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/httpserver.c:84:11: style: Variable 'serverport' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/httpserver.c:218:11: style: Variable 'uri' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/httpserver.c:244:50: style: Parameter 'last_char' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/httpserver.c:283:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/httpserver.c:376:45: style: Parameter 'keyword' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/httpserver.c:399:7: style: Variable 'method' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/httpserver.c:401:7: style: Variable 'serverport' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/httpserver.c:403:7: style: Variable 'basemethod' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/httpserver.c:405:7: style: Variable 'baseserverport' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/httpserver.c:443:11: style: Variable 'method' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/httpserver.c:445:11: style: Variable 'serverport' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/httpserver.c:447:11: style: Variable 'listmethod' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/httpserver.c:449:11: style: Variable 'listserverport' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/index.c:1159:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/index.c:1656:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/index.c:1979:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/index.c:2119:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/index.c:2743:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable word [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/index.c:3052:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/index.c:1012:10: style: Condition '!check_for_replace(sw,fprop)' is always false [knownConditionTrueFalse] swish-e-2.4.7/src/index.c:1012:28: note: Calling function 'check_for_replace' returns 1 swish-e-2.4.7/src/index.c:1012:10: note: Condition '!check_for_replace(sw,fprop)' is always false swish-e-2.4.7/src/index.c:1453:17: style: Local variable 'metaID' shadows outer variable [shadowVariable] swish-e-2.4.7/src/index.c:1437:21: note: Shadowed declaration swish-e-2.4.7/src/index.c:1453:17: note: Shadow variable swish-e-2.4.7/src/index.c:1495:21: style: Local variable 'metaID' shadows outer variable [shadowVariable] swish-e-2.4.7/src/index.c:1437:21: note: Shadowed declaration swish-e-2.4.7/src/index.c:1495:21: note: Shadow variable swish-e-2.4.7/src/index.c:197:62: style: Argument '(idx->lenword=1000)+1' to function emalloc is always 1001. It does not matter what value 'idx->lenword' has. [knownArgument] swish-e-2.4.7/src/index.c:198:72: style: Argument '(idx->lenswishword=1000)+1' to function emalloc is always 1001. It does not matter what value 'idx->lenswishword' has. [knownArgument] swish-e-2.4.7/src/index.c:824:38: style: Parameter 'sw' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/index.c:824:53: style: Parameter 'fprop' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/index.c:1302:27: style: Variable 'm' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/index.c:2396:97: style: Parameter 'metaID' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/index.c:3091:24: warning: Size of pointer 'buf' used instead of size of its data. [pointerSize] swish-e-2.4.7/src/index.c:577:15: style: Variable 'avail' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/keychar_out.c:72:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/libtest.c:179:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/libtest.c:468:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/libtest.c:137:15: style: Variable 'stemmed' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/list.c:101:5: warning: Possible null pointer dereference: tmp [nullPointer] swish-e-2.4.7/src/list.c:87:20: note: Assignment 'tmp=NULL', assigned value is 0 swish-e-2.4.7/src/list.c:90:11: note: Assuming condition is false swish-e-2.4.7/src/list.c:101:5: note: Null pointer dereference swish-e-2.4.7/src/list.c:132:32: style:inconclusive: Function 'freeswline' argument 1 names different: declaration 'ptr' definition 'tmplist'. [funcArgNamesDifferent] swish-e-2.4.7/src/list.h:41:33: note: Function 'freeswline' argument 1 names different: declaration 'ptr' definition 'tmplist'. swish-e-2.4.7/src/list.c:132:32: note: Function 'freeswline' argument 1 names different: declaration 'ptr' definition 'tmplist'. swish-e-2.4.7/src/list.c:46:34: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/list.c:57:32: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/mem.c:120:24: style: Parameter 'title' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/merge.c:200:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/merge.c:1012:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/merge.c:641:14: warning: Either the condition '!path_meta' is redundant or there is possible null pointer dereference: cur_index->path_meta. [nullPointerRedundantCheck] swish-e-2.4.7/src/merge.c:633:10: note: Assuming that condition '!path_meta' is not redundant swish-e-2.4.7/src/merge.c:638:28: note: Assignment 'cur_index->path_meta=path_meta', assigned value is 0 swish-e-2.4.7/src/merge.c:641:14: note: Null pointer dereference swish-e-2.4.7/src/merge.c:742:21: style: Redundant initialization for 'cur_index'. The initialized value is overwritten before it is read. [redundantInitialization] swish-e-2.4.7/src/merge.c:735:28: note: cur_index is initialized swish-e-2.4.7/src/merge.c:742:21: note: cur_index is overwritten swish-e-2.4.7/src/merge.c:84:18: style: Local variable 'hash' shadows outer function [shadowFunction] swish-e-2.4.7/src/hash.h:34:10: note: Shadowed declaration swish-e-2.4.7/src/merge.c:84:18: note: Shadow variable swish-e-2.4.7/src/merge.c:1043:40: style: Parameter 'indexf' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/merge.c:1043:71: style: Parameter 'file_num_map' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/merge.c:460:142: warning: Division by result of sizeof(). memcmp() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] swish-e-2.4.7/src/merge.c:89:25: style: Variable 'metaID' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/metanames.c:139:9: style: Condition '!tmpEntry' is always true [knownConditionTrueFalse] swish-e-2.4.7/src/metanames.c:122:34: note: Assignment 'tmpEntry=NULL', assigned value is 0 swish-e-2.4.7/src/metanames.c:139:9: note: Condition '!tmpEntry' is always true swish-e-2.4.7/src/metanames.c:330:76: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/metanames.c:347:69: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/metanames.c:380:76: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/metanames.c:397:69: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/metanames.c:434:38: style: Parameter 'meta_entry' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/metanames.c:434:56: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/metanames.c:520:46: style: Parameter 'm1' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/metanames.c:520:68: style: Parameter 'm2' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/metanames.c:644:47: style: Parameter 'meta' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/metanames.c:655:39: style: Parameter 'meta' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/metanames.c:665:37: style: Parameter 'meta' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/parse_conffile.c:1398:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/parse_conffile.c:1281:19: warning: Either the condition '!string' is redundant or there is possible null pointer dereference: string. [nullPointerRedundantCheck] swish-e-2.4.7/src/parse_conffile.c:1278:10: note: Assuming that condition '!string' is not redundant swish-e-2.4.7/src/parse_conffile.c:1281:19: note: Null pointer dereference swish-e-2.4.7/src/parse_conffile.c:1594:35: warning: Either the condition '(fp=fopen(stopw_file,"r"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] swish-e-2.4.7/src/parse_conffile.c:1588:47: note: Assuming that condition '(fp=fopen(stopw_file,"r"))==NULL' is not redundant swish-e-2.4.7/src/parse_conffile.c:1594:35: note: Null pointer dereference swish-e-2.4.7/src/parse_conffile.c:1315:53: style:inconclusive: Function 'getYesNoOrAbort' argument 3 names different: declaration 'islast' definition 'lastparam'. [funcArgNamesDifferent] swish-e-2.4.7/src/parse_conffile.h:36:49: note: Function 'getYesNoOrAbort' argument 3 names different: declaration 'islast' definition 'lastparam'. swish-e-2.4.7/src/parse_conffile.c:1315:53: note: Function 'getYesNoOrAbort' argument 3 names different: declaration 'islast' definition 'lastparam'. swish-e-2.4.7/src/parse_conffile.c:1397:11: style: Local variable 'replace' shadows outer function [shadowFunction] swish-e-2.4.7/src/swstring.h:43:7: note: Shadowed declaration swish-e-2.4.7/src/parse_conffile.c:1397:11: note: Shadow variable swish-e-2.4.7/src/parse_conffile.c:561:31: style: Variable 'meta_entry' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/parse_conffile.c:889:31: style: Variable 'meta_entry' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/parse_conffile.c:1463:26: style: Parameter 's' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/parse_conffile.c:1623:62: style: Parameter 'sl' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/parser.c:473:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmlSAXHandler [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/parser.c:323:25: style: Variable 'sw' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/parser.c:470:68: style: Parameter 'sw' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/parser.c:1387:52: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/parser.c:1414:11: style: Variable 'content' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/parser.c:1731:49: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/parser.c:1789:11: style: Variable 'alt_text' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/parser.c:1882:39: style: Parameter 'parse_data' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/parser.c:1985:79: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/parser.c:2076:35: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/parser.c:2076:81: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/parser.c:2087:67: style: Parameter 'txt' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/parser.c:111:13: style: struct member 'CHAR_BUFFER::defaultID' is never used. [unusedStructMember] swish-e-2.4.7/src/parser.c:949:23: style: Variable 'start_buf' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/parser.c:2093:14: style: Variable 'col' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/pre_sort.c:474:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/pre_sort.c:153:20: style: Variable 'w1' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/pre_sort.c:154:13: style: Variable 'w2' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/pre_sort.c:161:23: style: Variable 'm' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/pre_sort.c:275:45: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/pre_sort.c:655:66: style: Parameter 'iTranslationTable' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/pre_sort.c:668:62: style: Parameter 'iTranslationTable' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/pre_sort.c:176:25: style: Variable 'm' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/proplimit.c:746:15: style: Variable 'curp' is reassigned a value before the old one has been used. [redundantAssignment] swish-e-2.4.7/src/proplimit.c:743:10: note: curp is assigned swish-e-2.4.7/src/proplimit.c:746:15: note: curp is overwritten swish-e-2.4.7/src/proplimit.c:69:88: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/proplimit.c:314:102: style: Parameter 'sort_array' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/proplimit.c:556:19: style: Variable 'a' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/proplimit.c:557:19: style: Variable 'b' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/proplimit.c:564:19: style: Variable 'a' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/proplimit.c:565:19: style: Variable 'b' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/ramdisk.c:108:17: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/rank.c:308:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/rank.c:423:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/rank.c:590:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/rank.c:298:18: style: Variable 'sw' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/rank.c:360:26: style: Variable 'posdata' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/rank.c:527:26: style: Variable 'posdata' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/rank.c:424:25: error: Uninitialized variable: struct_tally[(int)((unsigned int)(posdata[i])&(unsigned int)0xff)] [legacyUninitvar] swish-e-2.4.7/src/rank.c:723:25: error: Uninitialized variable: struct_tally[(int)((unsigned int)(posdata[i])&(unsigned int)0xff)] [legacyUninitvar] swish-e-2.4.7/src/replace/mkstemp.c:114:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/replace/vsnprintf.c:77:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_NONE [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/replace/vsnprintf.c:102:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/replace/vsnprintf.c:115:8: style: Parameter 'fmt' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/result_output.c:345:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/result_output.c:431:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/result_output.c:884:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/result_output.c:753:55: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] swish-e-2.4.7/src/result_output.c:677:9: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] swish-e-2.4.7/src/result_output.c:424:52: style:inconclusive: Function 'printExtResultEntry' argument 2 names different: declaration 'f' definition 'f_out'. [funcArgNamesDifferent] swish-e-2.4.7/src/result_output.c:98:52: note: Function 'printExtResultEntry' argument 2 names different: declaration 'f' definition 'f_out'. swish-e-2.4.7/src/result_output.c:424:52: note: Function 'printExtResultEntry' argument 2 names different: declaration 'f' definition 'f_out'. swish-e-2.4.7/src/result_output.c:874:60: style:inconclusive: Function 'resultHeaderOut' argument 3 names different: declaration 'prtfmt' definition 'printfmt'. [funcArgNamesDifferent] swish-e-2.4.7/src/result_output.h:93:56: note: Function 'resultHeaderOut' argument 3 names different: declaration 'prtfmt' definition 'printfmt'. swish-e-2.4.7/src/result_output.c:874:60: note: Function 'resultHeaderOut' argument 3 names different: declaration 'prtfmt' definition 'printfmt'. swish-e-2.4.7/src/result_output.c:383:15: style: Variable 'delimiter' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/result_output.c:507:13: style: Variable 't' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/result_output.c:578:13: style: Variable 's1' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/result_output.c:661:13: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/result_output.c:833:46: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/result_output.c:874:33: style: Parameter 'sw' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/result_output.c:916:13: style: Variable 'metaIDs' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/result_output.c:997:23: style: Variable 'meta_entry' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/result_sort.c:470:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/result_sort.c:75:16: style: Variable 'presorted' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/search.c:2288:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/search.c:2394:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/search.c:2817:9: style: Condition 'l_r1' is always true [knownConditionTrueFalse] swish-e-2.4.7/src/search.c:812:10: warning: Either the condition '!srch' is redundant or there is possible null pointer dereference: srch. [nullPointerRedundantCheck] swish-e-2.4.7/src/search.c:809:10: note: Assuming that condition '!srch' is not redundant swish-e-2.4.7/src/search.c:812:10: note: Null pointer dereference swish-e-2.4.7/src/search.c:1039:22: warning: Either the condition '!results' is redundant or there is possible null pointer dereference: results. [nullPointerRedundantCheck] swish-e-2.4.7/src/search.c:1044:9: note: Assuming that condition '!results' is not redundant swish-e-2.4.7/src/search.c:1039:22: note: Null pointer dereference swish-e-2.4.7/src/search.c:1045:17: warning: Either the condition '!results' is redundant or there is possible null pointer dereference: results. [nullPointerRedundantCheck] swish-e-2.4.7/src/search.c:1044:9: note: Assuming that condition '!results' is not redundant swish-e-2.4.7/src/search.c:1045:17: note: Null pointer dereference swish-e-2.4.7/src/search.c:1332:22: warning: Either the condition '!m' is redundant or there is possible null pointer dereference: m. [nullPointerRedundantCheck] swish-e-2.4.7/src/search.c:1329:18: note: Assuming that condition '!m' is not redundant swish-e-2.4.7/src/search.c:1332:22: note: Null pointer dereference swish-e-2.4.7/src/search.c:393:47: style:inconclusive: Function 'SwishSetQuery' argument 2 names different: declaration 'query' definition 'words'. [funcArgNamesDifferent] swish-e-2.4.7/src/search.h:214:48: note: Function 'SwishSetQuery' argument 2 names different: declaration 'query' definition 'words'. swish-e-2.4.7/src/search.c:393:47: note: Function 'SwishSetQuery' argument 2 names different: declaration 'query' definition 'words'. swish-e-2.4.7/src/search.c:2705:43: style:inconclusive: Function 'freeresultlist' argument 1 names different: declaration 'db_results' definition 'dbres'. [funcArgNamesDifferent] swish-e-2.4.7/src/search.c:164:40: note: Function 'freeresultlist' argument 1 names different: declaration 'db_results' definition 'dbres'. swish-e-2.4.7/src/search.c:2705:43: note: Function 'freeresultlist' argument 1 names different: declaration 'db_results' definition 'dbres'. swish-e-2.4.7/src/search.c:2759:56: style:inconclusive: Function 'sortresultsbyfilenum' argument 1 names different: declaration 'r' definition 'l_rp'. [funcArgNamesDifferent] swish-e-2.4.7/src/search.c:151:55: note: Function 'sortresultsbyfilenum' argument 1 names different: declaration 'r' definition 'l_rp'. swish-e-2.4.7/src/search.c:2759:56: note: Function 'sortresultsbyfilenum' argument 1 names different: declaration 'r' definition 'l_rp'. swish-e-2.4.7/src/search.c:2881:78: style:inconclusive: Function 'mergeresulthashlist' argument 2 names different: declaration 'r' definition 'l_r'. [funcArgNamesDifferent] swish-e-2.4.7/src/search.c:162:78: note: Function 'mergeresulthashlist' argument 2 names different: declaration 'r' definition 'l_r'. swish-e-2.4.7/src/search.c:2881:78: note: Function 'mergeresulthashlist' argument 2 names different: declaration 'r' definition 'l_r'. swish-e-2.4.7/src/search.c:663:17: style: Local variable 'i' shadows outer variable [shadowVariable] swish-e-2.4.7/src/search.c:627:17: note: Shadowed declaration swish-e-2.4.7/src/search.c:663:17: note: Shadow variable swish-e-2.4.7/src/search.c:593:32: style: Parameter 'results' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/search.c:609:47: style: Parameter 'results' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/search.c:1326:31: style: Variable 'm' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/search.c:1525:25: style: Variable 'l_rp2' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/search.c:1528:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/search.c:1870:36: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/search.c:1881:34: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/search.c:1892:33: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/search.c:2678:41: style: Parameter 'searchWord' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/search.c:2729:17: style: Variable 'db_results' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/search.c:2379:77: warning: Expression 'r1->frequency+r2->frequency-1' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversionCond] swish-e-2.4.7/src/search.c:2404:19: note: Assuming that condition 'r1->frequency' is not redundant swish-e-2.4.7/src/search.c:2379:77: note: Negative value is converted to an unsigned value swish-e-2.4.7/src/search.c:2656:48: warning: Expression 'frequency-1' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] swish-e-2.4.7/src/search.c:2549:59: note: Calling function 'addtoresultlist', 5th argument '0' value is 0 swish-e-2.4.7/src/search.c:2656:48: note: Negative value is converted to an unsigned value swish-e-2.4.7/src/search.c:1984:13: style: Variable 'res' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/search.c:2254:17: style: Variable 'res' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/search.c:2573:17: style: Variable 'res' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/search.c:2738:16: style: Variable 'db_results' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/search.c:2813:17: style: Variable 'res' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/snowball/stem_de.c:155:14: style: Variable 'z->c' is reassigned a value before the old one has been used. [redundantAssignment] swish-e-2.4.7/src/snowball/stem_de.c:152:18: note: z->c is assigned swish-e-2.4.7/src/snowball/stem_de.c:155:14: note: z->c is overwritten swish-e-2.4.7/src/snowball/stem_de.c:488:10: style: Variable 'z->c' is reassigned a value before the old one has been used. [redundantAssignment] swish-e-2.4.7/src/snowball/stem_de.c:486:14: note: z->c is assigned swish-e-2.4.7/src/snowball/stem_de.c:488:10: note: z->c is overwritten swish-e-2.4.7/src/snowball/stem_de.c:284:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/snowball/stem_de.c:289:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/snowball/stem_dk.c:330:10: style: Variable 'z->c' is reassigned a value before the old one has been used. [redundantAssignment] swish-e-2.4.7/src/snowball/stem_dk.c:328:14: note: z->c is assigned swish-e-2.4.7/src/snowball/stem_dk.c:330:10: note: z->c is overwritten swish-e-2.4.7/src/snowball/stem_en1.c:307:22: style: Variable 'z->c' is reassigned a value before the old one has been used. [redundantAssignment] swish-e-2.4.7/src/snowball/stem_en1.c:305:26: note: z->c is assigned swish-e-2.4.7/src/snowball/stem_en1.c:307:22: note: z->c is overwritten swish-e-2.4.7/src/snowball/stem_en1.c:619:14: style: Variable 'z->c' is reassigned a value before the old one has been used. [redundantAssignment] swish-e-2.4.7/src/snowball/stem_en1.c:616:18: note: z->c is assigned swish-e-2.4.7/src/snowball/stem_en1.c:619:14: note: z->c is overwritten swish-e-2.4.7/src/snowball/stem_en1.c:715:10: style: Variable 'z->c' is reassigned a value before the old one has been used. [redundantAssignment] swish-e-2.4.7/src/snowball/stem_en1.c:713:14: note: z->c is assigned swish-e-2.4.7/src/snowball/stem_en1.c:715:10: note: z->c is overwritten swish-e-2.4.7/src/snowball/stem_en1.c:741:14: style: Variable 'z->c' is reassigned a value before the old one has been used. [redundantAssignment] swish-e-2.4.7/src/snowball/stem_en1.c:737:18: note: z->c is assigned swish-e-2.4.7/src/snowball/stem_en1.c:741:14: note: z->c is overwritten swish-e-2.4.7/src/snowball/stem_en1.c:244:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/snowball/stem_en1.c:249:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/snowball/stem_en2.c:1026:25: style: Condition 'ret==0' is always false [knownConditionTrueFalse] swish-e-2.4.7/src/snowball/stem_en2.c:1025:41: note: Calling function 'r_mark_regions' returns 1 swish-e-2.4.7/src/snowball/stem_en2.c:1025:41: note: Assignment 'ret=r_mark_regions(z)', assigned value is 1 swish-e-2.4.7/src/snowball/stem_en2.c:1026:25: note: Condition 'ret==0' is always false swish-e-2.4.7/src/snowball/stem_en2.c:1027:25: style: Condition 'ret<0' is always false [knownConditionTrueFalse] swish-e-2.4.7/src/snowball/stem_en2.c:1025:41: note: Calling function 'r_mark_regions' returns 1 swish-e-2.4.7/src/snowball/stem_en2.c:1025:41: note: Assignment 'ret=r_mark_regions(z)', assigned value is 1 swish-e-2.4.7/src/snowball/stem_en2.c:1027:25: note: Condition 'ret<0' is always false swish-e-2.4.7/src/snowball/stem_en2.c:419:14: style: Variable 'z->c' is reassigned a value before the old one has been used. [redundantAssignment] swish-e-2.4.7/src/snowball/stem_en2.c:416:18: note: z->c is assigned swish-e-2.4.7/src/snowball/stem_en2.c:419:14: note: z->c is overwritten swish-e-2.4.7/src/snowball/stem_en2.c:580:22: style: Variable 'z->c' is reassigned a value before the old one has been used. [redundantAssignment] swish-e-2.4.7/src/snowball/stem_en2.c:578:26: note: z->c is assigned swish-e-2.4.7/src/snowball/stem_en2.c:580:22: note: z->c is overwritten swish-e-2.4.7/src/snowball/stem_en2.c:1100:14: style: Variable 'z->c' is reassigned a value before the old one has been used. [redundantAssignment] swish-e-2.4.7/src/snowball/stem_en2.c:1096:22: note: z->c is assigned swish-e-2.4.7/src/snowball/stem_en2.c:1100:14: note: z->c is overwritten swish-e-2.4.7/src/snowball/stem_en2.c:480:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/snowball/stem_en2.c:485:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/snowball/stem_es.c:1029:21: style: Condition 'ret==0' is always false [knownConditionTrueFalse] swish-e-2.4.7/src/snowball/stem_es.c:1028:37: note: Calling function 'r_mark_regions' returns 1 swish-e-2.4.7/src/snowball/stem_es.c:1028:37: note: Assignment 'ret=r_mark_regions(z)', assigned value is 1 swish-e-2.4.7/src/snowball/stem_es.c:1029:21: note: Condition 'ret==0' is always false swish-e-2.4.7/src/snowball/stem_es.c:1030:21: style: Condition 'ret<0' is always false [knownConditionTrueFalse] swish-e-2.4.7/src/snowball/stem_es.c:1028:37: note: Calling function 'r_mark_regions' returns 1 swish-e-2.4.7/src/snowball/stem_es.c:1028:37: note: Assignment 'ret=r_mark_regions(z)', assigned value is 1 swish-e-2.4.7/src/snowball/stem_es.c:1030:21: note: Condition 'ret<0' is always false swish-e-2.4.7/src/snowball/stem_es.c:1078:10: style: Variable 'z->c' is reassigned a value before the old one has been used. [redundantAssignment] swish-e-2.4.7/src/snowball/stem_es.c:1076:14: note: z->c is assigned swish-e-2.4.7/src/snowball/stem_es.c:1078:10: note: z->c is overwritten swish-e-2.4.7/src/snowball/stem_es.c:642:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/snowball/stem_es.c:647:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/snowball/stem_es.c:652:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/snowball/stem_fi.c:755:10: style: Variable 'z->c' is reassigned a value before the old one has been used. [redundantAssignment] swish-e-2.4.7/src/snowball/stem_fi.c:753:14: note: z->c is assigned swish-e-2.4.7/src/snowball/stem_fi.c:755:10: note: z->c is overwritten swish-e-2.4.7/src/snowball/stem_fi.c:311:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/snowball/stem_fr.c:1148:21: style: Condition 'ret==0' is always false [knownConditionTrueFalse] swish-e-2.4.7/src/snowball/stem_fr.c:1147:37: note: Calling function 'r_mark_regions' returns 1 swish-e-2.4.7/src/snowball/stem_fr.c:1147:37: note: Assignment 'ret=r_mark_regions(z)', assigned value is 1 swish-e-2.4.7/src/snowball/stem_fr.c:1148:21: note: Condition 'ret==0' is always false swish-e-2.4.7/src/snowball/stem_fr.c:1149:21: style: Condition 'ret<0' is always false [knownConditionTrueFalse] swish-e-2.4.7/src/snowball/stem_fr.c:1147:37: note: Calling function 'r_mark_regions' returns 1 swish-e-2.4.7/src/snowball/stem_fr.c:1147:37: note: Assignment 'ret=r_mark_regions(z)', assigned value is 1 swish-e-2.4.7/src/snowball/stem_fr.c:1149:21: note: Condition 'ret<0' is always false swish-e-2.4.7/src/snowball/stem_fr.c:1231:10: style: Variable 'z->c' is reassigned a value before the old one has been used. [redundantAssignment] swish-e-2.4.7/src/snowball/stem_fr.c:1229:14: note: z->c is assigned swish-e-2.4.7/src/snowball/stem_fr.c:1231:10: note: z->c is overwritten swish-e-2.4.7/src/snowball/stem_fr.c:589:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/snowball/stem_fr.c:594:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/snowball/stem_fr.c:599:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/snowball/stem_hu.c:1223:10: style: Variable 'z->c' is reassigned a value before the old one has been used. [redundantAssignment] swish-e-2.4.7/src/snowball/stem_hu.c:1221:14: note: z->c is assigned swish-e-2.4.7/src/snowball/stem_hu.c:1223:10: note: z->c is overwritten swish-e-2.4.7/src/snowball/stem_hu.c:533:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/snowball/stem_it.c:1008:21: style: Condition 'ret==0' is always false [knownConditionTrueFalse] swish-e-2.4.7/src/snowball/stem_it.c:1007:37: note: Calling function 'r_mark_regions' returns 1 swish-e-2.4.7/src/snowball/stem_it.c:1007:37: note: Assignment 'ret=r_mark_regions(z)', assigned value is 1 swish-e-2.4.7/src/snowball/stem_it.c:1008:21: note: Condition 'ret==0' is always false swish-e-2.4.7/src/snowball/stem_it.c:1009:21: style: Condition 'ret<0' is always false [knownConditionTrueFalse] swish-e-2.4.7/src/snowball/stem_it.c:1007:37: note: Calling function 'r_mark_regions' returns 1 swish-e-2.4.7/src/snowball/stem_it.c:1007:37: note: Assignment 'ret=r_mark_regions(z)', assigned value is 1 swish-e-2.4.7/src/snowball/stem_it.c:1009:21: note: Condition 'ret<0' is always false swish-e-2.4.7/src/snowball/stem_it.c:547:14: style: Variable 'z->c' is reassigned a value before the old one has been used. [redundantAssignment] swish-e-2.4.7/src/snowball/stem_it.c:544:18: note: z->c is assigned swish-e-2.4.7/src/snowball/stem_it.c:547:14: note: z->c is overwritten swish-e-2.4.7/src/snowball/stem_it.c:1050:10: style: Variable 'z->c' is reassigned a value before the old one has been used. [redundantAssignment] swish-e-2.4.7/src/snowball/stem_it.c:1048:14: note: z->c is assigned swish-e-2.4.7/src/snowball/stem_it.c:1050:10: note: z->c is overwritten swish-e-2.4.7/src/snowball/stem_it.c:702:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/snowball/stem_it.c:707:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/snowball/stem_it.c:712:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/snowball/stem_nl.c:202:14: style: Variable 'z->c' is reassigned a value before the old one has been used. [redundantAssignment] swish-e-2.4.7/src/snowball/stem_nl.c:199:18: note: z->c is assigned swish-e-2.4.7/src/snowball/stem_nl.c:202:14: note: z->c is overwritten swish-e-2.4.7/src/snowball/stem_nl.c:609:10: style: Variable 'z->c' is reassigned a value before the old one has been used. [redundantAssignment] swish-e-2.4.7/src/snowball/stem_nl.c:607:14: note: z->c is assigned swish-e-2.4.7/src/snowball/stem_nl.c:609:10: note: z->c is overwritten swish-e-2.4.7/src/snowball/stem_nl.c:318:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/snowball/stem_nl.c:323:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/snowball/stem_no.c:290:10: style: Variable 'z->c' is reassigned a value before the old one has been used. [redundantAssignment] swish-e-2.4.7/src/snowball/stem_no.c:288:14: note: z->c is assigned swish-e-2.4.7/src/snowball/stem_no.c:290:10: note: z->c is overwritten swish-e-2.4.7/src/snowball/stem_pt.c:937:21: style: Condition 'ret==0' is always false [knownConditionTrueFalse] swish-e-2.4.7/src/snowball/stem_pt.c:936:37: note: Calling function 'r_mark_regions' returns 1 swish-e-2.4.7/src/snowball/stem_pt.c:936:37: note: Assignment 'ret=r_mark_regions(z)', assigned value is 1 swish-e-2.4.7/src/snowball/stem_pt.c:937:21: note: Condition 'ret==0' is always false swish-e-2.4.7/src/snowball/stem_pt.c:938:21: style: Condition 'ret<0' is always false [knownConditionTrueFalse] swish-e-2.4.7/src/snowball/stem_pt.c:936:37: note: Calling function 'r_mark_regions' returns 1 swish-e-2.4.7/src/snowball/stem_pt.c:936:37: note: Assignment 'ret=r_mark_regions(z)', assigned value is 1 swish-e-2.4.7/src/snowball/stem_pt.c:938:21: note: Condition 'ret<0' is always false swish-e-2.4.7/src/snowball/stem_pt.c:1002:10: style: Variable 'z->c' is reassigned a value before the old one has been used. [redundantAssignment] swish-e-2.4.7/src/snowball/stem_pt.c:1000:14: note: z->c is assigned swish-e-2.4.7/src/snowball/stem_pt.c:1002:10: note: z->c is overwritten swish-e-2.4.7/src/snowball/stem_pt.c:631:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/snowball/stem_pt.c:636:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/snowball/stem_pt.c:641:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/snowball/stem_ro.c:936:21: style: Condition 'ret==0' is always false [knownConditionTrueFalse] swish-e-2.4.7/src/snowball/stem_ro.c:935:37: note: Calling function 'r_mark_regions' returns 1 swish-e-2.4.7/src/snowball/stem_ro.c:935:37: note: Assignment 'ret=r_mark_regions(z)', assigned value is 1 swish-e-2.4.7/src/snowball/stem_ro.c:936:21: note: Condition 'ret==0' is always false swish-e-2.4.7/src/snowball/stem_ro.c:937:21: style: Condition 'ret<0' is always false [knownConditionTrueFalse] swish-e-2.4.7/src/snowball/stem_ro.c:935:37: note: Calling function 'r_mark_regions' returns 1 swish-e-2.4.7/src/snowball/stem_ro.c:935:37: note: Assignment 'ret=r_mark_regions(z)', assigned value is 1 swish-e-2.4.7/src/snowball/stem_ro.c:937:21: note: Condition 'ret<0' is always false swish-e-2.4.7/src/snowball/stem_ro.c:983:10: style: Variable 'z->c' is reassigned a value before the old one has been used. [redundantAssignment] swish-e-2.4.7/src/snowball/stem_ro.c:981:14: note: z->c is assigned swish-e-2.4.7/src/snowball/stem_ro.c:983:10: note: z->c is overwritten swish-e-2.4.7/src/snowball/stem_ro.c:697:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/snowball/stem_ro.c:702:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/snowball/stem_ro.c:707:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/snowball/stem_ru.c:607:21: style: Condition 'ret==0' is always false [knownConditionTrueFalse] swish-e-2.4.7/src/snowball/stem_ru.c:606:37: note: Calling function 'r_mark_regions' returns 1 swish-e-2.4.7/src/snowball/stem_ru.c:606:37: note: Assignment 'ret=r_mark_regions(z)', assigned value is 1 swish-e-2.4.7/src/snowball/stem_ru.c:607:21: note: Condition 'ret==0' is always false swish-e-2.4.7/src/snowball/stem_ru.c:608:21: style: Condition 'ret<0' is always false [knownConditionTrueFalse] swish-e-2.4.7/src/snowball/stem_ru.c:606:37: note: Calling function 'r_mark_regions' returns 1 swish-e-2.4.7/src/snowball/stem_ru.c:606:37: note: Assignment 'ret=r_mark_regions(z)', assigned value is 1 swish-e-2.4.7/src/snowball/stem_ru.c:608:21: note: Condition 'ret<0' is always false swish-e-2.4.7/src/snowball/stem_ru.c:693:10: style: Variable 'z->c' is reassigned a value before the old one has been used. [redundantAssignment] swish-e-2.4.7/src/snowball/stem_ru.c:689:18: note: z->c is assigned swish-e-2.4.7/src/snowball/stem_ru.c:693:10: note: z->c is overwritten swish-e-2.4.7/src/snowball/stem_ru.c:386:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/snowball/stem_se.c:300:10: style: Variable 'z->c' is reassigned a value before the old one has been used. [redundantAssignment] swish-e-2.4.7/src/snowball/stem_se.c:298:14: note: z->c is assigned swish-e-2.4.7/src/snowball/stem_se.c:300:10: note: z->c is overwritten swish-e-2.4.7/src/snowball/utilities.c:19:5: error: Memory leak: mem [memleak] swish-e-2.4.7/src/snowball/utilities.c:340:5: error: Memory leak: mem [memleak] swish-e-2.4.7/src/snowball/utilities.c:348:99: style:inconclusive: Function 'replace_s' argument 6 names different: declaration 'adjustment' definition 'adjptr'. [funcArgNamesDifferent] swish-e-2.4.7/src/snowball/header.h:46:99: note: Function 'replace_s' argument 6 names different: declaration 'adjustment' definition 'adjptr'. swish-e-2.4.7/src/snowball/utilities.c:348:99: note: Function 'replace_s' argument 6 names different: declaration 'adjustment' definition 'adjptr'. swish-e-2.4.7/src/snowball/utilities.c:218:14: style: Variable 'q' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/snowball/utilities.c:278:14: style: Variable 'q' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/snowball/utilities.c:380:40: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/soundex.c:85:14: style: Variable 'soundTable' can be declared as const array [constVariable] swish-e-2.4.7/src/stemmer.c:282:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/stemmer.c:161:12: warning:inconclusive: Either the condition '!fi' is redundant or there is possible null pointer dereference: fi. [nullPointerRedundantCheck] swish-e-2.4.7/src/stemmer.c:158:10: note: Assuming that condition '!fi' is not redundant swish-e-2.4.7/src/stemmer.c:161:12: note: Null pointer dereference swish-e-2.4.7/src/stemmer.c:180:10: warning: Either the condition '!fw' is redundant or there is possible null pointer dereference: fw. [nullPointerRedundantCheck] swish-e-2.4.7/src/stemmer.c:177:10: note: Assuming that condition '!fw' is not redundant swish-e-2.4.7/src/stemmer.c:180:10: note: Null pointer dereference swish-e-2.4.7/src/stemmer.c:175:35: style:inconclusive: Function 'fuzzy_free_word' argument 1 names different: declaration 'fd' definition 'fw'. [funcArgNamesDifferent] swish-e-2.4.7/src/stemmer.h:128:35: note: Function 'fuzzy_free_word' argument 1 names different: declaration 'fd' definition 'fw'. swish-e-2.4.7/src/stemmer.c:175:35: note: Function 'fuzzy_free_word' argument 1 names different: declaration 'fd' definition 'fw'. swish-e-2.4.7/src/stemmer.c:273:54: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/stemmer.c:370:52: style: Parameter 'fi' can be declared as pointer to const. However it seems that 'double_metaphone' is a callback function, if 'fi' is declared with const you might also need to cast function pointer(s). [constParameterCallback] swish-e-2.4.7/src/stemmer.c:122:53: note: You might need to cast the function pointer here swish-e-2.4.7/src/stemmer.c:370:52: note: Parameter 'fi' can be declared as pointer to const swish-e-2.4.7/src/stemmer.c:423:39: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/stemmer.c:456:46: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/stemmer.c:486:38: style: Parameter 'fw' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/stemmer.c:497:38: style: Parameter 'fw' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/stemmer.c:526:68: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/stemmer.c:280:37: warning: String literal compared with variable 'fuzzy_opts[i].name'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] swish-e-2.4.7/src/swish.c:186:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/swish.c:361:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/swish.c:803:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/swish.c:1398:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/swish.c:1678:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/swish.c:1754:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/swish.c:591:19: warning: Either the condition '!string' is redundant or there is possible null pointer dereference: string. [nullPointerRedundantCheck] swish-e-2.4.7/src/swish.c:588:10: note: Assuming that condition '!string' is not redundant swish-e-2.4.7/src/swish.c:591:19: note: Null pointer dereference swish-e-2.4.7/src/swish.c:1427:31: style:inconclusive: Function 'cmd_merge' argument 1 names different: declaration 'sw' definition 'sw_input'. [funcArgNamesDifferent] swish-e-2.4.7/src/swish.c:162:31: note: Function 'cmd_merge' argument 1 names different: declaration 'sw' definition 'sw_input'. swish-e-2.4.7/src/swish.c:1427:31: note: Function 'cmd_merge' argument 1 names different: declaration 'sw' definition 'sw_input'. swish-e-2.4.7/src/swish.c:459:39: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/swish.c:1284:13: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/swish.c:1301:45: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/swish.c:1487:49: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/swish.c:1034:56: error: Undefined behavior: Variable 'params->query' is used as parameter and destination in sprintf(). [sprintfOverlappingData] swish-e-2.4.7/src/swish.c:1610:19: style: Variable 'stopwords' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/swish2.c:249:21: warning: Either the condition 'sl' is redundant or there is possible null pointer dereference: sl. [nullPointerRedundantCheck] swish-e-2.4.7/src/swish2.c:252:9: note: Assuming that condition 'sl' is not redundant swish-e-2.4.7/src/swish2.c:249:21: note: Null pointer dereference swish-e-2.4.7/src/swish2.c:345:30: style: Parameter 'sw' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/swish_words.c:620:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nextoperator [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/swish_words.c:99:64: style: Argument '(self->lenword=1000)+1' to function emalloc is always 1001. It does not matter what value 'self->lenword' has. [knownArgument] swish-e-2.4.7/src/swish_words.c:66:33: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/swish_words.c:66:53: style: Parameter 'word_list' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/swish_words.c:466:44: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/swish_words.c:489:40: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/swish_words.c:511:11: style: Variable 'operator' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/swish_words.c:783:29: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/swish_words.c:791:32: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/swish_words.c:811:21: style: Variable 'indexf' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/swish_words.c:1093:13: style: Variable 'prev' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/swish_words.c:1238:48: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/swish_words.c:1261:48: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/swregex.c:84:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/swregex.c:154:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/swregex.c:302:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rm_so [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/swregex.c:153:14: style: Local variable 'replace' shadows outer function [shadowFunction] swish-e-2.4.7/src/swstring.h:43:7: note: Shadowed declaration swish-e-2.4.7/src/swregex.c:153:14: note: Shadow variable swish-e-2.4.7/src/swregex.c:206:29: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/swregex.c:206:59: style: Parameter 'comment' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/swregex.c:327:21: style: Variable 'end' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/swstring.c:986:22: error: Returning pointer to local variable 'p' that will be invalid when returning. [returnDanglingLifetime] swish-e-2.4.7/src/swstring.c:986:23: note: Passed to 'strcpy'. swish-e-2.4.7/src/swstring.c:980:13: note: Variable created here. swish-e-2.4.7/src/swstring.c:986:22: note: Returning pointer to local variable 'p' that will be invalid when returning. swish-e-2.4.7/src/swstring.c:440:12: style: Condition '&line' is always true [knownConditionTrueFalse] swish-e-2.4.7/src/swstring.c:440:24: style: Variable 'p' is reassigned a value before the old one has been used. [redundantAssignment] swish-e-2.4.7/src/swstring.c:438:7: note: p is assigned swish-e-2.4.7/src/swstring.c:440:24: note: p is overwritten swish-e-2.4.7/src/swstring.c:707:26: style:inconclusive: Function 'strtolower' argument 1 names different: declaration 'str' definition 's'. [funcArgNamesDifferent] swish-e-2.4.7/src/swstring.h:79:25: note: Function 'strtolower' argument 1 names different: declaration 'str' definition 's'. swish-e-2.4.7/src/swstring.c:707:26: note: Function 'strtolower' argument 1 names different: declaration 'str' definition 's'. swish-e-2.4.7/src/swstring.c:992:24: style:inconclusive: Function 'estrndup' argument 1 names different: declaration 'str' definition 's'. [funcArgNamesDifferent] swish-e-2.4.7/src/swstring.h:102:23: note: Function 'estrndup' argument 1 names different: declaration 'str' definition 's'. swish-e-2.4.7/src/swstring.c:992:24: note: Function 'estrndup' argument 1 names different: declaration 'str' definition 's'. swish-e-2.4.7/src/swstring.c:200:63: style: Argument '(lentmpvalue=2000)+1' to function emalloc is always 2001. It does not matter what value 'lentmpvalue' has. [knownArgument] swish-e-2.4.7/src/swstring.c:436:48: style: Argument '(maxsize=2)*sizeof(char*)' to function emalloc is always 16. It does not matter what value 'maxsize' has. [knownArgument] swish-e-2.4.7/src/swstring.c:822:31: style: Argument '(len_s=256)+1' to function emalloc is always 257. It does not matter what value 'len_s' has. [knownArgument] swish-e-2.4.7/src/swstring.c:69:32: style: Parameter 't' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/swstring.c:229:14: style: Parameter 'oldpiece' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/swstring.c:230:14: style: Parameter 'newpiece' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/swstring.c:294:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/swstring.c:295:13: style: Variable 'fe' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/swstring.c:330:14: style: Parameter 'orig' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/swstring.c:373:28: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/swstring.c:373:38: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/swstring.c:484:21: style: Parameter 'orig' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/swstring.c:562:42: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/swstring.c:814:48: style: Parameter 'sl' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/swstring.c:855:35: style: Parameter 'trlookup' can be declared as const array [constParameter] swish-e-2.4.7/src/swstring.c:878:60: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/swstring.c:878:81: style: Parameter 'to' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/swstring.c:948:28: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/swstring.c:950:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/swstring.c:978:23: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/swstring.c:992:24: style: Parameter 's' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/vms/regex.c:4598:26: debug: Function::addArguments found argument 's2' with varid 0. [varid0] swish-e-2.4.7/src/vms/regex.c:4473:24: debug: Function::addArguments found argument 'end' with varid 0. [varid0] swish-e-2.4.7/src/vms/regex.c:4510:25: debug: Function::addArguments found argument 'end' with varid 0. [varid0] swish-e-2.4.7/src/vms/regex.c:4364:25: debug: Function::addArguments found argument 'end' with varid 0. [varid0] swish-e-2.4.7/src/vms/regex.c:4371:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable end [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/vms/regex.c:4479:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable end [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/vms/regex.c:4539:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable end [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/vms/regex.c:4602:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s2 [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/vms/regex.c:3294:11: warning: Return value of function alloca() is not used. [ignoredReturnValue] swish-e-2.4.7/src/vms/regex.c:3312:7: warning: Return value of function alloca() is not used. [ignoredReturnValue] swish-e-2.4.7/src/vms/regex.c:3506:11: warning: Return value of function alloca() is not used. [ignoredReturnValue] swish-e-2.4.7/src/vms/regex.c:4344:3: warning: Return value of function alloca() is not used. [ignoredReturnValue] swish-e-2.4.7/src/vms/regex.c:108:4: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] swish-e-2.4.7/src/vms/regex.c:1381:13: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] swish-e-2.4.7/src/vms/regex.c:2567:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] swish-e-2.4.7/src/vms/regex.c:2748:20: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] swish-e-2.4.7/src/vms/regex.c:2748:20: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] swish-e-2.4.7/src/vms/regex.c:3294:11: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] swish-e-2.4.7/src/vms/regex.c:3312:7: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] swish-e-2.4.7/src/vms/regex.c:3506:11: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] swish-e-2.4.7/src/vms/regex.c:3777:19: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] swish-e-2.4.7/src/vms/regex.c:3777:19: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] swish-e-2.4.7/src/vms/regex.c:3842:23: style: Obsolescent function 'bcmp' called. It is recommended to use 'memcmp' instead. [prohibitedbcmpCalled] swish-e-2.4.7/src/vms/regex.c:3924:11: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] swish-e-2.4.7/src/vms/regex.c:3924:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] swish-e-2.4.7/src/vms/regex.c:3977:11: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] swish-e-2.4.7/src/vms/regex.c:3977:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] swish-e-2.4.7/src/vms/regex.c:4116:11: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] swish-e-2.4.7/src/vms/regex.c:4116:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] swish-e-2.4.7/src/vms/regex.c:4129:11: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] swish-e-2.4.7/src/vms/regex.c:4129:11: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] swish-e-2.4.7/src/vms/regex.c:4344:3: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] swish-e-2.4.7/src/vms/regex.c:1173:26: error: Memory leak: compile_stack.stack [memleak] swish-e-2.4.7/src/vms/regex.c:4846:9: error: Memory leak: regs.start [memleak] swish-e-2.4.7/src/vms/regex.c:4846:9: error: Memory leak: regs.end [memleak] swish-e-2.4.7/src/vms/regex.c:4083:13: style: Variable 'reg_dummy[this_reg]' is reassigned a value before the old one has been used. [redundantAssignment] swish-e-2.4.7/src/vms/regex.c:4083:13: note: reg_dummy[this_reg] is assigned swish-e-2.4.7/src/vms/regex.c:4083:13: note: reg_dummy[this_reg] is overwritten swish-e-2.4.7/src/vms/regex.c:2166:34: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] swish-e-2.4.7/src/vms/regex.c:2169:32: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] swish-e-2.4.7/src/vms/regex.c:2236:40: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] swish-e-2.4.7/src/vms/regex.c:1195:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:1210:16: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:1303:17: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:1328:13: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:1342:17: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:1352:11: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:1364:6: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:1370:13: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:1378:13: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:1614:19: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:1644:19: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:1688:21: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:1704:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:1732:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:1819:22: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:1838:22: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:1932:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:1938:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:1943:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:1947:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:1951:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:1955:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:1959:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:1963:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:1981:15: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:2029:8: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:2033:4: style: Variable 'old_buffer' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:2893:18: style: Variable 'fastmap' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:2894:18: style: Variable 'translate' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:4079:28: style: Variable 'pdummy' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:4600:12: style: Parameter 'translate' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/vms/regex.c:4602:27: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:4602:37: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/vms/regex.c:4083:13: style: Variable 'sdummy' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/vms/regex.c:4083:13: style: Variable 'pdummy' is assigned a value that is never used. [unreadVariable] swish-e-2.4.7/src/win32/dirent.c:66:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SW_MAXPATHNAME [valueFlowBailoutIncompleteVar] swish-e-2.4.7/src/win32/dirent.c:83:7: style: Condition 'unc' is always false [knownConditionTrueFalse] swish-e-2.4.7/src/win32/dirent.c:81:9: note: Assignment 'unc=0', assigned value is 0 swish-e-2.4.7/src/win32/dirent.c:83:7: note: Condition 'unc' is always false swish-e-2.4.7/src/win32/dirent.c:63:26: style: Local variable 'dp' shadows outer variable [shadowVariable] swish-e-2.4.7/src/win32/dirent.c:55:22: note: Shadowed declaration swish-e-2.4.7/src/win32/dirent.c:63:26: note: Shadow variable swish-e-2.4.7/src/win32/dirent.c:210:23: style: Local variable 'dp' shadows outer variable [shadowVariable] swish-e-2.4.7/src/win32/dirent.c:55:22: note: Shadowed declaration swish-e-2.4.7/src/win32/dirent.c:210:23: note: Shadow variable swish-e-2.4.7/src/win32/dirent.c:57:33: style: Parameter 'pattern' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/win32/dirent.c:62:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] swish-e-2.4.7/src/win32/dirent.c:222:20: style: Parameter 'dirp' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/win32/dirent.c:269:16: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/worddata.c:116:55: style: Parameter 'pg' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/worddata.c:372:52: style: Parameter 'pg' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/worddata.c:415:72: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/xml.c:120:68: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/xml.c:483:49: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] swish-e-2.4.7/src/xml.c:60:13: style: struct member 'CHAR_BUFFER::defaultID' is never used. [unusedStructMember] swish-e-2.4.7/src/array.c:105:12: error: Null pointer dereference: pg [ctunullpointer] swish-e-2.4.7/src/array.c:340:31: note: Assignment 'tmp=NULL', assigned value is 0 swish-e-2.4.7/src/array.c:352:18: note: Assuming condition is false swish-e-2.4.7/src/array.c:379:20: note: Calling function ARRAY_WritePage, 2nd argument is null swish-e-2.4.7/src/array.c:105:12: note: Dereferencing argument pg that is null swish-e-2.4.7/src/array.c:258:12: error: Null pointer dereference: pg [ctunullpointer] swish-e-2.4.7/src/array.c:340:31: note: Assignment 'tmp=NULL', assigned value is 0 swish-e-2.4.7/src/array.c:352:18: note: Assuming condition is false swish-e-2.4.7/src/array.c:380:19: note: Calling function ARRAY_FreePage, 2nd argument is null swish-e-2.4.7/src/array.c:258:12: note: Dereferencing argument pg that is null swish-e-2.4.7/src/headers.c:507:25: warning: Null pointer dereference: sw [ctunullpointer] swish-e-2.4.7/src/headers.c:229:10: note: Assuming that condition '!sw' is not redundant swish-e-2.4.7/src/headers.c:232:28: note: Calling function indexf_by_name, 1st argument is null swish-e-2.4.7/src/headers.c:507:25: note: Dereferencing argument sw that is null swish-e-2.4.7/src/headers.c:521:30: warning: Null pointer dereference: results [ctunullpointer] swish-e-2.4.7/src/headers.c:386:10: note: Assuming that condition '!results' is not redundant swish-e-2.4.7/src/headers.c:391:36: note: Calling function db_results_by_name, 1st argument is null swish-e-2.4.7/src/headers.c:521:30: note: Dereferencing argument results that is null swish-e-2.4.7/src/result_sort.c:231:10: warning: Null pointer dereference: m [ctunullpointer] swish-e-2.4.7/src/merge.c:633:10: note: Assuming that condition '!path_meta' is not redundant swish-e-2.4.7/src/merge.c:660:26: note: Calling function LoadSortedProps, 2nd argument is null swish-e-2.4.7/src/result_sort.c:231:10: note: Dereferencing argument m that is null diff: DONE