2025-07-12 05:28 ftp://ftp.de.debian.org/debian/pool/main/w/whitedb/whitedb_0.8.0~alpha.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openssl --library=python --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-63-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: 8244dfa (2025-07-11 19:55:56 +0200) count: 810 807 elapsed-time: 25.0 25.0 head-timing-info: old-timing-info: head results: whitedb-0.8.0alpha/Db/dballoc.c:107:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION_REV [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dballoc.c:419:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRHASH_SIZE [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dballoc.c:801:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable listcell_area_header [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dballoc.c:813:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shortstr_area_header [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dballoc.c:824:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable word_area_header [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dballoc.c:837:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable doubleword_area_header [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dballoc.c:848:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tnode_area_header [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dballoc.c:1480:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dballoc.c:1494:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dballoc.c:134:7: style: Condition 'tmp' is always false [knownConditionTrueFalse] whitedb-0.8.0alpha/Db/dballoc.c:131:7: note: Assuming that condition 'tmp' is not redundant whitedb-0.8.0alpha/Db/dballoc.c:134:7: note: Condition 'tmp' is always false whitedb-0.8.0alpha/Db/dballoc.c:136:7: style: Condition 'tmp' is always false [knownConditionTrueFalse] whitedb-0.8.0alpha/Db/dballoc.c:131:7: note: Assuming that condition 'tmp' is not redundant whitedb-0.8.0alpha/Db/dballoc.c:136:7: note: Condition 'tmp' is always false whitedb-0.8.0alpha/Db/dballoc.c:142:7: style: Condition 'tmp' is always false [knownConditionTrueFalse] whitedb-0.8.0alpha/Db/dballoc.c:139:7: note: Assuming that condition 'tmp' is not redundant whitedb-0.8.0alpha/Db/dballoc.c:142:7: note: Condition 'tmp' is always false whitedb-0.8.0alpha/Db/dballoc.c:144:7: style: Condition 'tmp' is always false [knownConditionTrueFalse] whitedb-0.8.0alpha/Db/dballoc.c:139:7: note: Assuming that condition 'tmp' is not redundant whitedb-0.8.0alpha/Db/dballoc.c:144:7: note: Condition 'tmp' is always false whitedb-0.8.0alpha/Db/dballoc.c:151:7: style: Condition 'tmp' is always false [knownConditionTrueFalse] whitedb-0.8.0alpha/Db/dballoc.c:147:7: note: Assuming that condition 'tmp' is not redundant whitedb-0.8.0alpha/Db/dballoc.c:151:7: note: Condition 'tmp' is always false whitedb-0.8.0alpha/Db/dballoc.c:158:7: style: Condition 'tmp' is always false [knownConditionTrueFalse] whitedb-0.8.0alpha/Db/dballoc.c:154:7: note: Assuming that condition 'tmp' is not redundant whitedb-0.8.0alpha/Db/dballoc.c:158:7: note: Condition 'tmp' is always false whitedb-0.8.0alpha/Db/dballoc.c:165:7: style: Condition 'tmp' is always false [knownConditionTrueFalse] whitedb-0.8.0alpha/Db/dballoc.c:161:7: note: Assuming that condition 'tmp' is not redundant whitedb-0.8.0alpha/Db/dballoc.c:165:7: note: Condition 'tmp' is always false whitedb-0.8.0alpha/Db/dballoc.c:172:7: style: Condition 'tmp' is always false [knownConditionTrueFalse] whitedb-0.8.0alpha/Db/dballoc.c:168:7: note: Assuming that condition 'tmp' is not redundant whitedb-0.8.0alpha/Db/dballoc.c:172:7: note: Condition 'tmp' is always false whitedb-0.8.0alpha/Db/dballoc.c:187:7: style: Condition 'tmp' is always false [knownConditionTrueFalse] whitedb-0.8.0alpha/Db/dballoc.c:183:7: note: Assuming that condition 'tmp' is not redundant whitedb-0.8.0alpha/Db/dballoc.c:187:7: note: Condition 'tmp' is always false whitedb-0.8.0alpha/Db/dballoc.c:194:7: style: Condition 'tmp' is always false [knownConditionTrueFalse] whitedb-0.8.0alpha/Db/dballoc.c:190:7: note: Assuming that condition 'tmp' is not redundant whitedb-0.8.0alpha/Db/dballoc.c:194:7: note: Condition 'tmp' is always false whitedb-0.8.0alpha/Db/dballoc.c:209:7: style: Condition 'tmp' is always false [knownConditionTrueFalse] whitedb-0.8.0alpha/Db/dballoc.c:206:7: note: Assuming that condition 'tmp' is not redundant whitedb-0.8.0alpha/Db/dballoc.c:209:7: note: Condition 'tmp' is always false whitedb-0.8.0alpha/Db/dballoc.c:211:7: style: Condition 'tmp' is always false [knownConditionTrueFalse] whitedb-0.8.0alpha/Db/dballoc.c:206:7: note: Assuming that condition 'tmp' is not redundant whitedb-0.8.0alpha/Db/dballoc.c:211:7: note: Condition 'tmp' is always false whitedb-0.8.0alpha/Db/dballoc.c:226:7: style: Condition 'tmp' is always false [knownConditionTrueFalse] whitedb-0.8.0alpha/Db/dballoc.c:222:7: note: Assuming that condition 'tmp' is not redundant whitedb-0.8.0alpha/Db/dballoc.c:226:7: note: Condition 'tmp' is always false whitedb-0.8.0alpha/Db/dballoc.c:230:7: style: Condition 'tmp' is always false [knownConditionTrueFalse] whitedb-0.8.0alpha/Db/dballoc.c:222:7: note: Assuming that condition 'tmp' is not redundant whitedb-0.8.0alpha/Db/dballoc.c:230:7: note: Condition 'tmp' is always false whitedb-0.8.0alpha/Db/dballoc.c:234:7: style: Condition 'tmp' is always false [knownConditionTrueFalse] whitedb-0.8.0alpha/Db/dballoc.c:222:7: note: Assuming that condition 'tmp' is not redundant whitedb-0.8.0alpha/Db/dballoc.c:234:7: note: Condition 'tmp' is always false whitedb-0.8.0alpha/Db/dballoc.c:788:7: style: Condition 'tmp' is always false [knownConditionTrueFalse] whitedb-0.8.0alpha/Db/dballoc.c:787:28: note: Calling function 'make_subarea_freelist' returns 0 whitedb-0.8.0alpha/Db/dballoc.c:787:28: note: Assignment 'tmp=make_subarea_freelist(db,areah,i+1)', assigned value is 0 whitedb-0.8.0alpha/Db/dballoc.c:788:7: note: Condition 'tmp' is always false whitedb-0.8.0alpha/Db/dballoc.c:1054:7: style: Condition 'tmp' is always false [knownConditionTrueFalse] whitedb-0.8.0alpha/Db/dballoc.c:1053:29: note: Calling function 'init_subarea_freespace' returns 0 whitedb-0.8.0alpha/Db/dballoc.c:1053:29: note: Assignment 'tmp=init_subarea_freespace(db,areah,i+1)', assigned value is 0 whitedb-0.8.0alpha/Db/dballoc.c:1054:7: note: Condition 'tmp' is always false whitedb-0.8.0alpha/Db/dballoc.c:416:25: style: Variable 'dbh' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dballoc.c:1154:33: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dballoc.c:1455:25: style: Variable 'dbh' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dballoc.c:1464:25: style: Variable 'dbh' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dballoc.c:1477:48: style: Parameter 'errmsg' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dballoc.c:1491:51: style: Parameter 'errmsg' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbcompare.c:188:13: style: Variable 'deca' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbcompare.c:188:20: style: Variable 'decb' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbcompare.c:188:27: style: Variable 'exa' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbcompare.c:188:38: style: Variable 'exb' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbdata.c:165:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable datarec_area_header [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbdata.c:236:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbdata.c:328:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable datarec_area_header [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbdata.c:349:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbdata.c:1289:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable longstr_area_header [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbdata.c:1485:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable word_area_header [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbdata.c:1570:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable doubleword_area_header [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbdata.c:1863:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbdata.c:2522:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shortstr_area_header [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbdata.c:2623:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable longstr_area_header [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbdata.c:3176:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbdata.c:3185:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbdata.c:3194:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbdata.c:3203:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbdata.c:1569:3: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] whitedb-0.8.0alpha/Db/dbdata.c:2576:3: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] whitedb-0.8.0alpha/Db/dbdata.c:2601:3: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] whitedb-0.8.0alpha/Db/dbdata.c:1742:3: style: Obsolescent function 'ftime' called. It is recommended to use 'time', 'gettimeofday' or 'clock_gettime' instead. [prohibitedftimeCalled] whitedb-0.8.0alpha/Db/dbdata.c:1757:3: style: Obsolescent function 'ftime' called. It is recommended to use 'time', 'gettimeofday' or 'clock_gettime' instead. [prohibitedftimeCalled] whitedb-0.8.0alpha/Db/dbdata.c:1779:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] whitedb-0.8.0alpha/Db/dbdata.c:1779:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] whitedb-0.8.0alpha/Db/dbdata.c:1779:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] whitedb-0.8.0alpha/Db/dbdata.c:1779:5: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] whitedb-0.8.0alpha/Db/dbdata.c:1779:5: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] whitedb-0.8.0alpha/Db/dbdata.c:1779:5: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] whitedb-0.8.0alpha/Db/dbdata.c:1779:5: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] whitedb-0.8.0alpha/Db/dbdata.c:1783:44: style:inconclusive: Function 'wg_strp_iso_date' argument 2 names different: declaration 'buf' definition 'inbuf'. [funcArgNamesDifferent] whitedb-0.8.0alpha/Db/dbdata.h:171:44: note: Function 'wg_strp_iso_date' argument 2 names different: declaration 'buf' definition 'inbuf'. whitedb-0.8.0alpha/Db/dbdata.c:1783:44: note: Function 'wg_strp_iso_date' argument 2 names different: declaration 'buf' definition 'inbuf'. whitedb-0.8.0alpha/Db/dbdata.c:2122:71: style:inconclusive: Function 'wg_decode_xmlliteral_xsdtype_copy' argument 3 names different: declaration 'strbuf' definition 'langbuf'. [funcArgNamesDifferent] whitedb-0.8.0alpha/Db/dbdata.h:208:71: note: Function 'wg_decode_xmlliteral_xsdtype_copy' argument 3 names different: declaration 'strbuf' definition 'langbuf'. whitedb-0.8.0alpha/Db/dbdata.c:2122:71: note: Function 'wg_decode_xmlliteral_xsdtype_copy' argument 3 names different: declaration 'strbuf' definition 'langbuf'. whitedb-0.8.0alpha/Db/dbdata.c:2249:63: style:inconclusive: Function 'wg_decode_uri_prefix_copy' argument 3 names different: declaration 'strbuf' definition 'langbuf'. [funcArgNamesDifferent] whitedb-0.8.0alpha/Db/dbdata.h:222:63: note: Function 'wg_decode_uri_prefix_copy' argument 3 names different: declaration 'strbuf' definition 'langbuf'. whitedb-0.8.0alpha/Db/dbdata.c:2249:63: note: Function 'wg_decode_uri_prefix_copy' argument 3 names different: declaration 'strbuf' definition 'langbuf'. whitedb-0.8.0alpha/Db/dbdata.c:2868:60: style:inconclusive: Function 'wg_decode_unistr_lang_copy' argument 3 names different: declaration 'langbuf' definition 'strbuf'. [funcArgNamesDifferent] whitedb-0.8.0alpha/Db/dbdata.h:659:62: note: Function 'wg_decode_unistr_lang_copy' argument 3 names different: declaration 'langbuf' definition 'strbuf'. whitedb-0.8.0alpha/Db/dbdata.c:2868:60: note: Function 'wg_decode_unistr_lang_copy' argument 3 names different: declaration 'langbuf' definition 'strbuf'. whitedb-0.8.0alpha/Db/dbdata.c:207:9: style: Variable 'dendptr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbdata.c:417:33: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbdata.c:417:43: style: Parameter 'record' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbdata.c:438:32: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbdata.c:438:42: style: Parameter 'record' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbdata.c:438:56: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbdata.c:582:32: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbdata.c:593:39: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbdata.c:621:25: style: Variable 'dbh' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbdata.c:828:25: style: Variable 'dbh' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbdata.c:954:71: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbdata.c:1010:25: style: Variable 'dbh' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbdata.c:1056:9: style: Variable 'fieldadr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbdata.c:1108:9: style: Variable 'fieldadr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbdata.c:1149:27: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbdata.c:1408:30: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbdata.c:1429:29: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbdata.c:1451:28: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbdata.c:1521:29: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbdata.c:1540:27: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbdata.c:1605:33: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbdata.c:1642:29: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbdata.c:1678:29: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbdata.c:1810:26: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbdata.c:1816:26: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbdata.c:1890:55: style: Parameter 'lang' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbdata.c:2437:28: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbdata.c:2460:28: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbdata.c:2492:9: style: Variable 'dendptr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbdata.c:2707:9: style: Variable 'fldptr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbdata.c:2738:9: style: Variable 'dataptr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbdata.c:2739:9: style: Variable 'objptr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbdata.c:2848:9: style: Variable 'langptr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbdata.c:2869:9: style: Variable 'langptr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbdump.c:143:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbdump.c:364:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbdump.c:372:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbdump.c:116:8: style: Condition '!lock_id' is always false [knownConditionTrueFalse] whitedb-0.8.0alpha/Db/dbdump.c:115:15: note: Assignment 'lock_id=1', assigned value is 1 whitedb-0.8.0alpha/Db/dbdump.c:116:8: note: Condition '!lock_id' is always false whitedb-0.8.0alpha/Db/dbdump.c:334:10: style: Variable 'dbh->size' is assigned an expression that holds the same value. [redundantAssignment] whitedb-0.8.0alpha/Db/dbdump.c:327:13: note: newsize is assigned 'dbh->size' here. whitedb-0.8.0alpha/Db/dbdump.c:334:10: note: Variable 'dbh->size' is assigned an expression that holds the same value. whitedb-0.8.0alpha/Db/crc1.h:88:51: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] whitedb-0.8.0alpha/Db/dbdump.c:200:53: style:inconclusive: Function 'wg_check_dump' argument 3 names different: declaration 'mixsize' definition 'minsize'. [funcArgNamesDifferent] whitedb-0.8.0alpha/Db/dbdump.h:45:9: note: Function 'wg_check_dump' argument 3 names different: declaration 'mixsize' definition 'minsize'. whitedb-0.8.0alpha/Db/dbdump.c:200:53: note: Function 'wg_check_dump' argument 3 names different: declaration 'mixsize' definition 'minsize'. whitedb-0.8.0alpha/Db/dbdump.c:85:39: style: Parameter 'fileName' can be declared as const array [constParameter] whitedb-0.8.0alpha/Db/dbdump.c:279:36: style: Parameter 'fileName' can be declared as const array [constParameter] whitedb-0.8.0alpha/Db/dbdump.c:361:45: style: Parameter 'errmsg' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbdump.c:369:49: style: Parameter 'errmsg' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbdump.c:369:63: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/crc1.h:83:34: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbdump.c:93:16: style: Variable 'lock_id' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Db/dbhash.c:158:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable strhash_area_header [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbhash.c:537:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable indexhash_area_header [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbhash.c:969:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbhash.c:995:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbhash.c:1003:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbhash.c:322:18: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] whitedb-0.8.0alpha/Db/dbhash.c:327:18: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] whitedb-0.8.0alpha/Db/dbhash.c:188:9: style: Variable 'str' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbhash.c:189:9: style: Variable 'extrastr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbhash.c:216:9: style: Variable 'extrastrptr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbhash.c:217:9: style: Variable 'extrastr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbhash.c:218:9: style: Variable 'data' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbhash.c:229:9: style: Variable 'typeptr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbhash.c:299:9: style: Variable 'bytedata' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbhash.c:300:9: style: Variable 'exdata' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbhash.c:390:33: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbhash.c:391:9: style: Variable 'endp' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbhash.c:408:49: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbhash.c:416:13: style: Variable 'bucket_data' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbhash.c:434:54: style: Parameter 'ha' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbhash.c:502:55: style: Parameter 'ha' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbhash.c:549:53: style: Parameter 'ha' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbhash.c:848:10: style: Variable 'primes' can be declared as const array [constVariable] whitedb-0.8.0alpha/Db/dbhash.c:949:9: style: Variable 'b' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbhash.c:966:55: style: Parameter 'errmsg' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbhash.c:992:45: style: Parameter 'errmsg' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbhash.c:1000:49: style: Parameter 'errmsg' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbindex.c:211:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbindex.c:485:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbindex.c:782:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbindex.c:1083:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbindex.c:1240:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbindex.c:1306:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbindex.c:1420:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbindex.c:1549:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbindex.c:1649:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbindex.c:1744:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbindex.c:2996:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbindex.c:3010:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbindex.c:2343:26: style: Condition 'drop_ttree_index(db,index_id)' is always false [knownConditionTrueFalse] whitedb-0.8.0alpha/Db/dbindex.c:2343:26: note: Calling function 'drop_ttree_index' returns 0 whitedb-0.8.0alpha/Db/dbindex.c:2343:26: note: Condition 'drop_ttree_index(db,index_id)' is always false whitedb-0.8.0alpha/Db/dbindex.c:2348:25: style: Condition 'drop_hash_index(db,index_id)' is always true [knownConditionTrueFalse] whitedb-0.8.0alpha/Db/dbindex.c:2348:25: note: Calling function 'drop_hash_index' returns -1 whitedb-0.8.0alpha/Db/dbindex.c:2348:25: note: Condition 'drop_hash_index(db,index_id)' is always true whitedb-0.8.0alpha/Db/dbindex.c:1420:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] whitedb-0.8.0alpha/Db/dbindex.c:1663:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] whitedb-0.8.0alpha/Db/dbindex.c:2199:7: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] whitedb-0.8.0alpha/Db/dbindex.c:2202:9: note: Found duplicate branches for 'if' and 'else'. whitedb-0.8.0alpha/Db/dbindex.c:2199:7: note: Found duplicate branches for 'if' and 'else'. whitedb-0.8.0alpha/Db/dbindex.c:1433:45: style:inconclusive: Function 'drop_ttree_index' argument 2 names different: declaration 'column' definition 'index_id'. [funcArgNamesDifferent] whitedb-0.8.0alpha/Db/dbindex.c:79:45: note: Function 'drop_ttree_index' argument 2 names different: declaration 'column' definition 'index_id'. whitedb-0.8.0alpha/Db/dbindex.c:1433:45: note: Function 'drop_ttree_index' argument 2 names different: declaration 'column' definition 'index_id'. whitedb-0.8.0alpha/Db/dbindex.c:944:11: style: Local variable 'i' shadows outer variable [shadowVariable] whitedb-0.8.0alpha/Db/dbindex.c:764:7: note: Shadowed declaration whitedb-0.8.0alpha/Db/dbindex.c:944:11: note: Shadow variable whitedb-0.8.0alpha/Db/dbindex.c:154:21: style: Variable 'node' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbindex.c:196:73: style: Parameter 'root' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbindex.c:197:20: style: Variable 'child' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbindex.c:1109:21: style: Variable 'node' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbindex.c:1121:21: style: Variable 'node' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbindex.c:1136:20: style: Variable 'node' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbindex.c:1136:27: style: Variable 'parent' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbindex.c:1157:20: style: Variable 'node' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbindex.c:1157:27: style: Variable 'parent' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbindex.c:1434:20: style: Variable 'node' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbindex.c:1435:20: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbindex.c:1566:70: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbindex.c:2002:51: style: Parameter 'columns' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbindex.c:2403:9: style: Variable 'ilist' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbindex.c:2461:24: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbindex.c:2492:20: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbindex.c:2493:9: style: Variable 'ilist' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbindex.c:2525:36: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbindex.c:2525:61: style: Parameter 'reclen' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbindex.c:2581:9: style: Variable 'ilist' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbindex.c:2678:9: style: Variable 'ilist' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbindex.c:2701:24: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbindex.c:2756:11: style: Variable 'ilist' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbindex.c:2764:26: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbindex.c:2841:9: style: Variable 'ilist' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbindex.c:2865:24: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbindex.c:2918:11: style: Variable 'ilist' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbindex.c:2926:26: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbindex.c:2993:46: style: Parameter 'errmsg' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbindex.c:3007:49: style: Parameter 'errmsg' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbindex.c:717:14: style: Variable 'left' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Db/dbindex.c:1437:7: style: Variable 'hdr' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Db/dbindex.c:2401:8: style: Variable 'template_offset' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Db/dbjson.c:199:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbjson.c:745:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbjson.c:872:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbjson.c:880:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbjson.c:888:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbjson.c:386:19: style: Parameter 'cb' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbjson.c:553:47: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbjson.c:573:16: style: Variable 'e' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dblock.c:1434:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dblock.c:473:28: style:inconclusive: Function 'wg_start_write' argument 1 names different: declaration 'dbase' definition 'db'. [funcArgNamesDifferent] whitedb-0.8.0alpha/Db/dblock.h:73:28: note: Function 'wg_start_write' argument 1 names different: declaration 'dbase' definition 'db'. whitedb-0.8.0alpha/Db/dblock.c:473:28: note: Function 'wg_start_write' argument 1 names different: declaration 'dbase' definition 'db'. whitedb-0.8.0alpha/Db/dblock.c:481:26: style:inconclusive: Function 'wg_end_write' argument 1 names different: declaration 'dbase' definition 'db'. [funcArgNamesDifferent] whitedb-0.8.0alpha/Db/dblock.h:74:26: note: Function 'wg_end_write' argument 1 names different: declaration 'dbase' definition 'db'. whitedb-0.8.0alpha/Db/dblock.c:481:26: note: Function 'wg_end_write' argument 1 names different: declaration 'dbase' definition 'db'. whitedb-0.8.0alpha/Db/dblock.c:489:27: style:inconclusive: Function 'wg_start_read' argument 1 names different: declaration 'dbase' definition 'db'. [funcArgNamesDifferent] whitedb-0.8.0alpha/Db/dblock.h:75:27: note: Function 'wg_start_read' argument 1 names different: declaration 'dbase' definition 'db'. whitedb-0.8.0alpha/Db/dblock.c:489:27: note: Function 'wg_start_read' argument 1 names different: declaration 'dbase' definition 'db'. whitedb-0.8.0alpha/Db/dblock.c:497:25: style:inconclusive: Function 'wg_end_read' argument 1 names different: declaration 'dbase' definition 'db'. [funcArgNamesDifferent] whitedb-0.8.0alpha/Db/dblock.h:76:25: note: Function 'wg_end_read' argument 1 names different: declaration 'dbase' definition 'db'. whitedb-0.8.0alpha/Db/dblock.c:497:25: note: Function 'wg_end_read' argument 1 names different: declaration 'dbase' definition 'db'. whitedb-0.8.0alpha/Db/dblock.c:473:28: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dblock.c:481:26: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dblock.c:489:27: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dblock.c:497:25: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dblock.c:1431:45: style: Parameter 'errmsg' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dblog.c:1182:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dblog.c:705:35: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dblog.c:722:38: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dblog.c:748:24: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dblog.c:1179:44: style: Parameter 'errmsg' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbmem.c:276:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EACCES [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbmem.c:492:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION_REV [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbmem.c:594:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shmid_ds [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbmem.c:698:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbmem.c:766:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_CREAT [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbmem.c:809:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbmem.c:876:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbmem.c:484:24: warning: Either the condition 'dbh!=NULL' is redundant or there is possible null pointer dereference: header_bytes. [nullPointerRedundantCheck] whitedb-0.8.0alpha/Db/dbmem.c:479:7: note: Assuming that condition 'dbh!=NULL' is not redundant whitedb-0.8.0alpha/Db/dbmem.c:482:24: note: header_bytes is assigned '(char*)dbh' here. whitedb-0.8.0alpha/Db/dbmem.c:484:24: note: Null pointer dereference whitedb-0.8.0alpha/Db/dbmem.c:481:11: style: Variable 'magic_bytes' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbmem.c:482:11: style: Variable 'header_bytes' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbmem.c:503:9: style: Variable 'i_bytes' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbmem.c:526:9: style: Variable 'magic_bytes' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbmem.c:527:9: style: Variable 'header_bytes' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbmem.c:536:11: style: Variable 'f1' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbmem.c:538:11: style: Variable 'f2' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbmem.c:584:25: style: Variable 'dbh' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbmem.c:849:39: style: Parameter 'shmptr' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbmem.c:873:37: style: Parameter 'errmsg' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbmpool.c:493:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbmpool.c:507:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbmpool.c:185:20: style: Variable 'mpoolh->freeptr' is reassigned a value before the old one has been used. [redundantAssignment] whitedb-0.8.0alpha/Db/dbmpool.c:177:20: note: mpoolh->freeptr is assigned whitedb-0.8.0alpha/Db/dbmpool.c:185:20: note: mpoolh->freeptr is overwritten whitedb-0.8.0alpha/Db/dbmpool.c:220:9: style: Variable 'curend' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbmpool.c:301:21: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbmpool.c:318:22: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbmpool.c:322:21: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbmpool.c:336:21: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbmpool.c:341:56: style: Parameter 'str1' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbmpool.c:341:68: style: Parameter 'str2' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbmpool.c:374:23: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbmpool.c:380:25: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbmpool.c:386:25: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbmpool.c:402:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbmpool.c:490:45: style: Parameter 'errmsg' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbmpool.c:504:48: style: Parameter 'errmsg' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbmpool.c:369:11: style: Variable 'curptr' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Db/dbquery.c:488:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbquery.c:849:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbquery.c:1007:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbquery.c:1173:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbquery.c:1186:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbquery.c:1235:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbquery.c:1675:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbquery.c:1708:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbquery.c:1903:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbquery.c:2115:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbquery.c:2290:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbquery.c:465:8: style: Redundant initialization for 'co'. The initialized value is overwritten before it is read. [redundantInitialization] whitedb-0.8.0alpha/Db/dbquery.c:450:11: note: co is initialized whitedb-0.8.0alpha/Db/dbquery.c:465:8: note: co is overwritten whitedb-0.8.0alpha/Db/dbquery.c:535:8: style: Redundant initialization for 'eo'. The initialized value is overwritten before it is read. [redundantInitialization] whitedb-0.8.0alpha/Db/dbquery.c:452:11: note: eo is initialized whitedb-0.8.0alpha/Db/dbquery.c:535:8: note: eo is overwritten whitedb-0.8.0alpha/Db/dbquery.c:203:13: style: Variable 'ilist' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbquery.c:207:28: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbquery.c:285:62: style: Parameter 'arglist' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbquery.c:454:20: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbquery.c:1654:22: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbquery.c:1693:22: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbquery.c:1899:15: style: Variable 'nextoffset' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbquery.c:2059:11: style: Variable 'prev' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbquery.c:2287:46: style: Parameter 'errmsg' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbquery.c:723:21: error: Uninitialized variable: col [legacyUninitvar] whitedb-0.8.0alpha/Db/dbschema.c:262:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbschema.c:259:47: style: Parameter 'errmsg' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Db/dbutil.c:353:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbutil.c:615:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbutil.c:1304:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbutil.c:1312:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Db/dbutil.c:232:9: style: Variable 'strdata' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbutil.c:232:19: style: Variable 'exdata' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Db/dbutil.c:310:45: style: Parameter 'iptr' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Examples/demo.c:70:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Examples/demo.c:100:8: style: Variable 'strbuf' can be declared as const array [constVariable] whitedb-0.8.0alpha/Examples/demo.c:300:48: error: Uninitialized variable: strbuf [uninitvar] whitedb-0.8.0alpha/Examples/dserve.c:437:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable column [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Examples/dserve.c:615:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WG_RECORDTYPE [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Examples/dserve.c:658:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WG_COND_EQUAL [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Examples/dserve.c:671:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WG_NULLTYPE [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Examples/dserve.c:686:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WG_NULLTYPE [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Examples/dserve.c:612:15: style: Array index 'j' is used before limits check. [arrayIndexThenCheck] whitedb-0.8.0alpha/Examples/dserve.c:539:26: style: Redundant condition: The condition 'atoi(cids+j)' is redundant since 'atoi(cids+j) > 0' is sufficient. [redundantCondition] whitedb-0.8.0alpha/Examples/dserve.c:658:29: style: Condition 'incomp=='\0'' is always false [knownConditionTrueFalse] whitedb-0.8.0alpha/Examples/dserve.c:670:29: style: Condition 'intype=='\0'' is always false [knownConditionTrueFalse] whitedb-0.8.0alpha/Examples/dserve.c:254:5: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] whitedb-0.8.0alpha/Examples/dserve.c:999:43: warning: Either the condition 'exdata!=NULL' is redundant or there is possible null pointer dereference: exdata. [nullPointerRedundantCheck] whitedb-0.8.0alpha/Examples/dserve.c:995:17: note: Assuming that condition 'exdata!=NULL' is not redundant whitedb-0.8.0alpha/Examples/dserve.c:999:43: note: Null pointer dereference whitedb-0.8.0alpha/Examples/dserve.c:1118:5: style: Variable 'sptr' is assigned an expression that holds the same value. [redundantAssignment] whitedb-0.8.0alpha/Examples/dserve.c:1066:7: note: sptr is assigned 'strdata' here. whitedb-0.8.0alpha/Examples/dserve.c:1068:11: note: Assuming condition is false whitedb-0.8.0alpha/Examples/dserve.c:1118:5: note: Variable 'sptr' is assigned an expression that holds the same value. whitedb-0.8.0alpha/Examples/dserve.c:269:70: style:inconclusive: Function 'search' argument 4 names different: declaration 'count' definition 'incount'. [funcArgNamesDifferent] whitedb-0.8.0alpha/Examples/dserve.c:121:70: note: Function 'search' argument 4 names different: declaration 'count' definition 'incount'. whitedb-0.8.0alpha/Examples/dserve.c:269:70: note: Function 'search' argument 4 names different: declaration 'count' definition 'incount'. whitedb-0.8.0alpha/Examples/dserve.c:1192:26: style:inconclusive: Function 'sprint_append' argument 1 names different: declaration 'buf' definition 'bptr'. [funcArgNamesDifferent] whitedb-0.8.0alpha/Examples/dserve.c:138:26: note: Function 'sprint_append' argument 1 names different: declaration 'buf' definition 'bptr'. whitedb-0.8.0alpha/Examples/dserve.c:1192:26: note: Function 'sprint_append' argument 1 names different: declaration 'buf' definition 'bptr'. whitedb-0.8.0alpha/Examples/dserve.c:1259:30: style:inconclusive: Function 'termination_handler' argument 1 names different: declaration 'signal' definition 'xsignal'. [funcArgNamesDifferent] whitedb-0.8.0alpha/Examples/dserve.c:117:30: note: Function 'termination_handler' argument 1 names different: declaration 'signal' definition 'xsignal'. whitedb-0.8.0alpha/Examples/dserve.c:1259:30: note: Function 'termination_handler' argument 1 names different: declaration 'signal' definition 'xsignal'. whitedb-0.8.0alpha/Examples/dserve.c:163:9: style: Variable 'inquery' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Examples/dserve.c:252:24: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Examples/dserve.c:269:36: style: Parameter 'inparams' can be declared as const array [constParameter] whitedb-0.8.0alpha/Examples/dserve.c:281:9: style: Variable 'res' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Examples/dserve.c:507:36: style: Parameter 'inparams' can be declared as const array [constParameter] whitedb-0.8.0alpha/Examples/dserve.c:509:9: style: Variable 'cids' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Examples/dserve.c:514:9: style: Variable 'res' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Examples/dserve.c:657:45: style: Parameter 'incomp' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Examples/dserve.c:669:45: style: Parameter 'intype' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Examples/dserve.c:747:9: style: Variable 'endptr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Examples/dserve.c:778:24: style: Parameter 's' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Examples/dserve.c:791:24: style: Parameter 's' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Examples/dserve.c:921:19: style: Variable 'exdata' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Examples/dserve.c:1063:9: style: Variable 'sptr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Examples/dserve.c:1064:9: style: Variable 'hex_chars' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Examples/dserve.c:1162:9: style: Variable 'sptr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Examples/dserve.c:1163:9: style: Variable 'hex_chars' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Examples/dserve.c:1192:38: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Examples/dserve.c:1287:20: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Examples/dserve.c:658:29: warning: Char literal compared with pointer 'incomp'. Did you intend to dereference it? [charLiteralWithCharPtrCompare] whitedb-0.8.0alpha/Examples/dserve.c:670:29: warning: Char literal compared with pointer 'intype'. Did you intend to dereference it? [charLiteralWithCharPtrCompare] whitedb-0.8.0alpha/Examples/dserve.c:271:14: style: Variable 'type' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Examples/dserve.c:1276:6: style: Variable 'r' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Examples/query.c:64:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Examples/query.c:91:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Examples/raptortry.c:57:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Examples/raptortry.c:81:9: style: The if condition is the same as the previous if condition [duplicateCondition] whitedb-0.8.0alpha/Examples/raptortry.c:80:9: note: First condition whitedb-0.8.0alpha/Examples/raptortry.c:81:9: note: Second condition whitedb-0.8.0alpha/Examples/raptortry.c:82:9: style: The if condition is the same as the previous if condition [duplicateCondition] whitedb-0.8.0alpha/Examples/raptortry.c:81:9: note: First condition whitedb-0.8.0alpha/Examples/raptortry.c:82:9: note: Second condition whitedb-0.8.0alpha/Examples/raptortry.c:68:6: style: Variable 'tmp' is reassigned a value before the old one has been used. [redundantAssignment] whitedb-0.8.0alpha/Examples/raptortry.c:66:6: note: tmp is assigned whitedb-0.8.0alpha/Examples/raptortry.c:68:6: note: tmp is overwritten whitedb-0.8.0alpha/Examples/raptortry.c:104:9: style: Variable 'shmname' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Examples/raptortry.c:68:6: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Examples/raptortry.c:74:8: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Examples/raptortry.c:78:8: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Examples/raptortry.c:85:10: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Examples/raptortry.c:88:10: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Examples/speed/speed10.c:25:9: style: Unused variable: j [unusedVariable] whitedb-0.8.0alpha/Examples/speed/speed12.c:17:14: style: Unused variable: rec [unusedVariable] whitedb-0.8.0alpha/Examples/speed/speed13.c:37:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable column [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Examples/speed/speed13.c:26:14: style: Variable 'rec' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Examples/speed/speed2.c:22:14: style: Variable 'rec' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Examples/speed/speed21.c:116:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_CREATE_JOINABLE [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Examples/speed/speed21.c:144:18: style: Variable 'lptr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Examples/speed/speed21.c:101:8: style: Variable 'first' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Examples/speed/speed21.c:105:9: style: Variable 'last' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Examples/speed/speed21.c:127:7: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Examples/speed/speed21.c:86:21: style: Unused variable: rec [unusedVariable] whitedb-0.8.0alpha/Examples/speed/speed21.c:88:7: style: Unused variable: i [unusedVariable] whitedb-0.8.0alpha/Examples/speed/speed21.c:89:10: style: Unused variable: encptr [unusedVariable] whitedb-0.8.0alpha/Examples/speed/speed3.c:15:14: style: Variable 'rec' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Examples/tut1.c:4:9: style: Variable 'db' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Examples/tut1.c:5:6: style: Variable 'db' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Examples/tut3.c:22:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WG_COND_EQUAL [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Examples/tut4.c:26:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable column [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Examples/tut5.c:27:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WG_ILLEGAL [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Examples/tut5.c:41:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Examples/tut6.c:41:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Main/gendata.c:118:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Main/gendata.c:78:18: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Main/gendata.c:95:9: style: Variable 'shmname' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Main/gendata.c:147:5: style: Variable 'wlock' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Main/indextool.c:103:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Main/indextool.c:170:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Main/indextool.c:170:11: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assuming allocation function fails whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assignment 'filee=fopen(file,"w")', assigned value is 0 whitedb-0.8.0alpha/Main/indextool.c:218:17: note: Calling function 'print_tree', 2nd argument 'filee' value is 0 whitedb-0.8.0alpha/Main/indextool.c:170:11: note: Null pointer dereference whitedb-0.8.0alpha/Main/indextool.c:171:11: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assuming allocation function fails whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assignment 'filee=fopen(file,"w")', assigned value is 0 whitedb-0.8.0alpha/Main/indextool.c:218:17: note: Calling function 'print_tree', 2nd argument 'filee' value is 0 whitedb-0.8.0alpha/Main/indextool.c:171:11: note: Null pointer dereference whitedb-0.8.0alpha/Main/indextool.c:172:11: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assuming allocation function fails whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assignment 'filee=fopen(file,"w")', assigned value is 0 whitedb-0.8.0alpha/Main/indextool.c:218:17: note: Calling function 'print_tree', 2nd argument 'filee' value is 0 whitedb-0.8.0alpha/Main/indextool.c:172:11: note: Null pointer dereference whitedb-0.8.0alpha/Main/indextool.c:173:11: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assuming allocation function fails whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assignment 'filee=fopen(file,"w")', assigned value is 0 whitedb-0.8.0alpha/Main/indextool.c:218:17: note: Calling function 'print_tree', 2nd argument 'filee' value is 0 whitedb-0.8.0alpha/Main/indextool.c:173:11: note: Null pointer dereference whitedb-0.8.0alpha/Main/indextool.c:174:11: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assuming allocation function fails whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assignment 'filee=fopen(file,"w")', assigned value is 0 whitedb-0.8.0alpha/Main/indextool.c:218:17: note: Calling function 'print_tree', 2nd argument 'filee' value is 0 whitedb-0.8.0alpha/Main/indextool.c:174:11: note: Null pointer dereference whitedb-0.8.0alpha/Main/indextool.c:175:11: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assuming allocation function fails whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assignment 'filee=fopen(file,"w")', assigned value is 0 whitedb-0.8.0alpha/Main/indextool.c:218:17: note: Calling function 'print_tree', 2nd argument 'filee' value is 0 whitedb-0.8.0alpha/Main/indextool.c:175:11: note: Null pointer dereference whitedb-0.8.0alpha/Main/indextool.c:176:11: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assuming allocation function fails whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assignment 'filee=fopen(file,"w")', assigned value is 0 whitedb-0.8.0alpha/Main/indextool.c:218:17: note: Calling function 'print_tree', 2nd argument 'filee' value is 0 whitedb-0.8.0alpha/Main/indextool.c:176:11: note: Null pointer dereference whitedb-0.8.0alpha/Main/indextool.c:182:11: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assuming allocation function fails whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assignment 'filee=fopen(file,"w")', assigned value is 0 whitedb-0.8.0alpha/Main/indextool.c:218:17: note: Calling function 'print_tree', 2nd argument 'filee' value is 0 whitedb-0.8.0alpha/Main/indextool.c:182:11: note: Null pointer dereference whitedb-0.8.0alpha/Main/indextool.c:184:11: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assuming allocation function fails whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assignment 'filee=fopen(file,"w")', assigned value is 0 whitedb-0.8.0alpha/Main/indextool.c:218:17: note: Calling function 'print_tree', 2nd argument 'filee' value is 0 whitedb-0.8.0alpha/Main/indextool.c:184:11: note: Null pointer dereference whitedb-0.8.0alpha/Main/indextool.c:185:11: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assuming allocation function fails whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assignment 'filee=fopen(file,"w")', assigned value is 0 whitedb-0.8.0alpha/Main/indextool.c:218:17: note: Calling function 'print_tree', 2nd argument 'filee' value is 0 whitedb-0.8.0alpha/Main/indextool.c:185:11: note: Null pointer dereference whitedb-0.8.0alpha/Main/indextool.c:190:13: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assuming allocation function fails whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assignment 'filee=fopen(file,"w")', assigned value is 0 whitedb-0.8.0alpha/Main/indextool.c:218:17: note: Calling function 'print_tree', 2nd argument 'filee' value is 0 whitedb-0.8.0alpha/Main/indextool.c:190:13: note: Null pointer dereference whitedb-0.8.0alpha/Main/indextool.c:193:11: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assuming allocation function fails whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assignment 'filee=fopen(file,"w")', assigned value is 0 whitedb-0.8.0alpha/Main/indextool.c:218:17: note: Calling function 'print_tree', 2nd argument 'filee' value is 0 whitedb-0.8.0alpha/Main/indextool.c:193:11: note: Null pointer dereference whitedb-0.8.0alpha/Main/indextool.c:194:11: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assuming allocation function fails whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assignment 'filee=fopen(file,"w")', assigned value is 0 whitedb-0.8.0alpha/Main/indextool.c:218:17: note: Calling function 'print_tree', 2nd argument 'filee' value is 0 whitedb-0.8.0alpha/Main/indextool.c:194:11: note: Null pointer dereference whitedb-0.8.0alpha/Main/indextool.c:200:11: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assuming allocation function fails whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assignment 'filee=fopen(file,"w")', assigned value is 0 whitedb-0.8.0alpha/Main/indextool.c:218:17: note: Calling function 'print_tree', 2nd argument 'filee' value is 0 whitedb-0.8.0alpha/Main/indextool.c:200:11: note: Null pointer dereference whitedb-0.8.0alpha/Main/indextool.c:201:11: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assuming allocation function fails whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assignment 'filee=fopen(file,"w")', assigned value is 0 whitedb-0.8.0alpha/Main/indextool.c:218:17: note: Calling function 'print_tree', 2nd argument 'filee' value is 0 whitedb-0.8.0alpha/Main/indextool.c:201:11: note: Null pointer dereference whitedb-0.8.0alpha/Main/indextool.c:207:11: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assuming allocation function fails whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assignment 'filee=fopen(file,"w")', assigned value is 0 whitedb-0.8.0alpha/Main/indextool.c:218:17: note: Calling function 'print_tree', 2nd argument 'filee' value is 0 whitedb-0.8.0alpha/Main/indextool.c:207:11: note: Null pointer dereference whitedb-0.8.0alpha/Main/indextool.c:208:11: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assuming allocation function fails whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assignment 'filee=fopen(file,"w")', assigned value is 0 whitedb-0.8.0alpha/Main/indextool.c:218:17: note: Calling function 'print_tree', 2nd argument 'filee' value is 0 whitedb-0.8.0alpha/Main/indextool.c:208:11: note: Null pointer dereference whitedb-0.8.0alpha/Main/indextool.c:220:10: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: filee [nullPointerOutOfResources] whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assuming allocation function fails whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assignment 'filee=fopen(file,"w")', assigned value is 0 whitedb-0.8.0alpha/Main/indextool.c:220:10: note: Null pointer dereference whitedb-0.8.0alpha/Main/indextool.c:77:9: style: Variable 'shmname' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Main/indextool.c:211:30: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Main/indextool.c:224:59: style: Parameter 'ha' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Main/indextool.c:237:24: style: Variable 'dptr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Main/indextool.c:262:18: style: Variable 'rec_cell' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Main/indextool.c:288:9: style: Variable 'ilist' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Main/selftest.c:93:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Main/selftest.c:68:18: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Main/selftest.c:86:23: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Main/stresstest.c:365:1: error: Unmatched '}'. Configuration: '__GNUC__=1'. [syntaxError] whitedb-0.8.0alpha/Main/wgdb.c:205:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Main/wgdb.c:250:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Main/wgdb.c:262:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Main/wgdb.c:322:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Main/wgdb.c:791:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Main/wgdb.c:849:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Main/wgdb.c:888:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Main/wgdb.c:955:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Main/wgdb.c:984:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Main/wgdb.c:1063:9: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] whitedb-0.8.0alpha/Main/wgdb.c:1067:9: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] whitedb-0.8.0alpha/Main/wgdb.c:639:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] whitedb-0.8.0alpha/Main/wgdb.c:140:18: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Main/wgdb.c:201:26: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Main/wgdb.c:241:23: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Main/wgdb.c:259:25: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Main/wgdb.c:276:9: style: Variable 'shmname' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Main/wgdb.c:974:54: style: Parameter 'json' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Main/wgdb.c:1051:18: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Main/wgdb.c:1052:17: style: Variable 'grp' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Main/wgdb.c:1099:9: style: Variable 'ilist' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Main/wgdb.c:1115:26: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Main/wgdb.c:752:5: style: Variable 'rlock' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Main/wgdb.c:753:5: style: Variable 'wlock' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Parser/dbparse.c:115:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Parser/dbparse.c:199:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Parser/dbparse.c:615:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Parser/dbparse.c:735:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Parser/dbparse.c:409:33: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] whitedb-0.8.0alpha/Parser/dbparse.c:157:28: error: Resource leak: fp [resourceLeak] whitedb-0.8.0alpha/Parser/dbparse.c:158:8: error: Resource leak: fp [resourceLeak] whitedb-0.8.0alpha/Parser/dbparse.c:211:3: error: Resource leak: fp [resourceLeak] whitedb-0.8.0alpha/Parser/dbparse.c:588:50: style:inconclusive: Function 'wr_parse_primitive' argument 3 names different: declaration 'term' definition 'atomptr'. [funcArgNamesDifferent] whitedb-0.8.0alpha/Parser/dbparse.h:47:50: note: Function 'wr_parse_primitive' argument 3 names different: declaration 'term' definition 'atomptr'. whitedb-0.8.0alpha/Parser/dbparse.c:588:50: note: Function 'wr_parse_primitive' argument 3 names different: declaration 'term' definition 'atomptr'. whitedb-0.8.0alpha/Parser/dbparse.c:105:9: style: Variable 'fp' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Parser/dbparse.c:108:9: style: Variable 'pres2' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Parser/dbparse.c:194:9: style: Variable 'fp' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Parser/dbparse.c:810:50: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Parser/dbparse.c:813:27: style: Variable 'next' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Parser/dbparse.c:115:7: style: Variable 'fp' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Parser/dbparse.c:199:5: style: Variable 'fp' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Printer/dbotterprint.c:160:17: style: Condition 'i 0' is sufficient. [redundantCondition] whitedb-0.8.0alpha/Server/dserve.c:613:14: style: Condition 'res!=NULL' is always false [knownConditionTrueFalse] whitedb-0.8.0alpha/Server/dserve.c:611:27: note: Calling function 'handle_fld_param' returns 0 whitedb-0.8.0alpha/Server/dserve.c:611:27: note: Assignment 'res=handle_fld_param(tdata,inparams[i],invalues[i],&sfields[sfcount],&svalues[sfcount],&stypes[sfcount],sfcount,errbuf)', assigned value is 0 whitedb-0.8.0alpha/Server/dserve.c:613:14: note: Condition 'res!=NULL' is always false whitedb-0.8.0alpha/Server/dserve.c:699:15: style: Condition '!itmp' is always true [knownConditionTrueFalse] whitedb-0.8.0alpha/Server/dserve.c:698:32: note: Calling function 'op_update_record' returns 0 whitedb-0.8.0alpha/Server/dserve.c:698:32: note: Assignment 'itmp=op_update_record(tdata,db,rec,0,0)', assigned value is 0 whitedb-0.8.0alpha/Server/dserve.c:699:15: note: Condition '!itmp' is always true whitedb-0.8.0alpha/Server/dserve.c:731:15: style: Condition '!itmp' is always true [knownConditionTrueFalse] whitedb-0.8.0alpha/Server/dserve.c:730:32: note: Calling function 'op_update_record' returns 0 whitedb-0.8.0alpha/Server/dserve.c:730:32: note: Assignment 'itmp=op_update_record(tdata,db,rec,0,0)', assigned value is 0 whitedb-0.8.0alpha/Server/dserve.c:731:15: note: Condition '!itmp' is always true whitedb-0.8.0alpha/Server/dserve.c:783:15: style: Condition '!itmp' is always true [knownConditionTrueFalse] whitedb-0.8.0alpha/Server/dserve.c:782:32: note: Calling function 'op_update_record' returns 0 whitedb-0.8.0alpha/Server/dserve.c:782:32: note: Assignment 'itmp=op_update_record(tdata,db,rec,0,0)', assigned value is 0 whitedb-0.8.0alpha/Server/dserve.c:783:15: note: Condition '!itmp' is always true whitedb-0.8.0alpha/Server/dserve.c:537:7: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] whitedb-0.8.0alpha/Server/dserve.c:979:14: style: A pointer can not be negative so it is either pointless or an error to check if it is. [pointerLessThanZero] whitedb-0.8.0alpha/Server/dserve.c:556:18: style:inconclusive: Function 'search' argument 4 names different: declaration 'count' definition 'incount'. [funcArgNamesDifferent] whitedb-0.8.0alpha/Server/dserve.c:100:7: note: Function 'search' argument 4 names different: declaration 'count' definition 'incount'. whitedb-0.8.0alpha/Server/dserve.c:556:18: note: Function 'search' argument 4 names different: declaration 'count' definition 'incount'. whitedb-0.8.0alpha/Server/dserve.c:333:55: style: Parameter 'inmethod' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Server/dserve.c:334:24: style: Variable 'inlen' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Server/dserve.c:534:24: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Server/dserve.c:565:9: style: Variable 'cids' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Server/dserve.c:824:9: style: Variable 'json' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Server/dserve.c:966:9: style: Variable 'tmps' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Server/dserve.c:1142:61: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Server/dserve.c:1193:57: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Server/dserve.c:1193:67: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Server/dserve.c:1265:9: style: Variable 'sizestr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Server/dserve.c:612:37: error: Uninitialized variable: sfcount [uninitvar] whitedb-0.8.0alpha/Server/dserve.c:335:10: style: Variable 'len' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Server/dserve.c:822:9: style: Unused variable: tmp [unusedVariable] whitedb-0.8.0alpha/Server/dserve.c:965:16: style: Variable 'max_size' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Server/dserve.c:1037:14: style: Variable 'lock_id' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Server/dserve_net.c:103:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Server/dserve_net.c:360:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Server/dserve_net.c:713:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Server/dserve_net.c:756:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Server/dserve_net.c:778:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Server/dserve_net.c:257:27: style: Condition 'common->shutdown==1' is always false [knownConditionTrueFalse] whitedb-0.8.0alpha/Server/dserve_net.c:233:22: note: Assignment 'common->shutdown=0', assigned value is 0 whitedb-0.8.0alpha/Server/dserve_net.c:250:11: note: Assuming condition is false whitedb-0.8.0alpha/Server/dserve_net.c:257:27: note: Condition 'common->shutdown==1' is always false whitedb-0.8.0alpha/Server/dserve_net.c:710:80: error: Resource leak: sd [resourceLeak] whitedb-0.8.0alpha/Server/dserve_net.c:716:62: error: Resource leak: sd [resourceLeak] whitedb-0.8.0alpha/Server/dserve_net.c:718:34: error: Resource leak: sd [resourceLeak] whitedb-0.8.0alpha/Server/dserve_net.c:745:53: style:inconclusive: Function 'readn' argument 4 names different: declaration 'sslp' definition 'ssl'. [funcArgNamesDifferent] whitedb-0.8.0alpha/Server/dserve_net.c:47:53: note: Function 'readn' argument 4 names different: declaration 'sslp' definition 'ssl'. whitedb-0.8.0alpha/Server/dserve_net.c:745:53: note: Function 'readn' argument 4 names different: declaration 'sslp' definition 'ssl'. whitedb-0.8.0alpha/Server/dserve_net.c:767:54: style:inconclusive: Function 'writen' argument 4 names different: declaration 'sslp' definition 'ssl'. [funcArgNamesDifferent] whitedb-0.8.0alpha/Server/dserve_net.c:48:54: note: Function 'writen' argument 4 names different: declaration 'sslp' definition 'ssl'. whitedb-0.8.0alpha/Server/dserve_net.c:767:54: note: Function 'writen' argument 4 names different: declaration 'sslp' definition 'ssl'. whitedb-0.8.0alpha/Server/dserve_net.c:350:9: style: Variable 'method' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Server/dserve_net.c:350:34: style: Variable 'version' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Server/dserve_net.c:358:23: style: Variable 's4' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Server/dserve_net.c:359:24: style: Variable 's6' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Server/dserve_net.c:687:9: style: Variable 'h1' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Server/dserve_net.c:693:30: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Server/dserve_net.c:520:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Server/dserve_net.c:522:10: style: Variable 'i' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Server/dserve_util.c:46:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WG_COND_EQUAL [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Server/dserve_util.c:58:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WG_NULLTYPE [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Server/dserve_util.c:69:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WG_ILLEGAL [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Server/dserve_util.c:255:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WG_ILLEGAL [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Server/dserve_util.c:955:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Server/dserve_util.c:963:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Server/dserve_util.c:971:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Server/dserve_util.c:668:11: style: The if condition is the same as the previous if condition [duplicateCondition] whitedb-0.8.0alpha/Server/dserve_util.c:663:11: note: First condition whitedb-0.8.0alpha/Server/dserve_util.c:668:11: note: Second condition whitedb-0.8.0alpha/Server/dserve_util.c:46:29: style: Condition 'incomp=='\0'' is always false [knownConditionTrueFalse] whitedb-0.8.0alpha/Server/dserve_util.c:57:29: style: Condition 'intype=='\0'' is always false [knownConditionTrueFalse] whitedb-0.8.0alpha/Server/dserve_util.c:972:8: warning: fprintf format string requires 0 parameters but 1 is given. [wrongPrintfScanfArgNum] whitedb-0.8.0alpha/Server/dserve_util.c:992:7: warning: Either the condition 'tdata==NULL' is redundant or there is possible null pointer dereference: tdata. [nullPointerRedundantCheck] whitedb-0.8.0alpha/Server/dserve_util.c:988:12: note: Assuming that condition 'tdata==NULL' is not redundant whitedb-0.8.0alpha/Server/dserve_util.c:992:7: note: Null pointer dereference whitedb-0.8.0alpha/Server/dserve_util.c:1117:50: warning: Either the condition 'globalptr==NULL' is redundant or there is possible null pointer dereference: globalptr. [nullPointerRedundantCheck] whitedb-0.8.0alpha/Server/dserve_util.c:1118:16: note: Assuming that condition 'globalptr==NULL' is not redundant whitedb-0.8.0alpha/Server/dserve_util.c:1117:50: note: Null pointer dereference whitedb-0.8.0alpha/Server/dserve_util.c:509:5: style: Variable 'sptr' is assigned an expression that holds the same value. [redundantAssignment] whitedb-0.8.0alpha/Server/dserve_util.c:457:7: note: sptr is assigned 'strdata' here. whitedb-0.8.0alpha/Server/dserve_util.c:459:11: note: Assuming condition is false whitedb-0.8.0alpha/Server/dserve_util.c:509:5: note: Variable 'sptr' is assigned an expression that holds the same value. whitedb-0.8.0alpha/Server/dserve_util.c:583:26: style:inconclusive: Function 'sprint_append' argument 1 names different: declaration 'buf' definition 'bptr'. [funcArgNamesDifferent] whitedb-0.8.0alpha/Server/dserve.h:481:26: note: Function 'sprint_append' argument 1 names different: declaration 'buf' definition 'bptr'. whitedb-0.8.0alpha/Server/dserve_util.c:583:26: note: Function 'sprint_append' argument 1 names different: declaration 'buf' definition 'bptr'. whitedb-0.8.0alpha/Server/dserve_util.c:45:28: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Server/dserve_util.c:45:38: style: Parameter 'incomp' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Server/dserve_util.c:56:28: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Server/dserve_util.c:56:38: style: Parameter 'intype' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Server/dserve_util.c:131:9: style: Variable 'endptr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Server/dserve_util.c:163:17: style: Parameter 's' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Server/dserve_util.c:176:17: style: Parameter 's' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Server/dserve_util.c:310:19: style: Variable 'exdata' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Server/dserve_util.c:454:9: style: Variable 'sptr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Server/dserve_util.c:455:9: style: Variable 'hex_chars' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Server/dserve_util.c:553:9: style: Variable 'sptr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Server/dserve_util.c:554:9: style: Variable 'hex_chars' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Server/dserve_util.c:583:38: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Server/dserve_util.c:659:32: style: Variable 'bend' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Server/dserve_util.c:751:28: style: Parameter 's' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Server/dserve_util.c:819:44: style: Parameter 'lst' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Server/dserve_util.c:819:55: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Server/dserve_util.c:866:32: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Server/dserve_util.c:952:22: style: Parameter 'fmt' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Server/dserve_util.c:952:33: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Server/dserve_util.c:960:22: style: Parameter 'fmt' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Server/dserve_util.c:960:33: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Server/dserve_util.c:968:21: style: Parameter 'fmt' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Server/dserve_util.c:968:32: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Server/dserve_util.c:1058:30: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Server/dserve_util.c:46:29: warning: Char literal compared with pointer 'incomp'. Did you intend to dereference it? [charLiteralWithCharPtrCompare] whitedb-0.8.0alpha/Server/dserve_util.c:57:29: warning: Char literal compared with pointer 'intype'. Did you intend to dereference it? [charLiteralWithCharPtrCompare] whitedb-0.8.0alpha/Server/dserve_util.c:833:9: style: Variable 'ok' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Server/dserve_util.c:1119:6: style: Variable 'i' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Server/nsmeasure.c:130:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_CREATE_JOINABLE [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Server/nsmeasure.c:231:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Server/nsmeasure.c:392:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RDWR [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Server/nsmeasure.c:406:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Server/nsmeasure.c:288:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] whitedb-0.8.0alpha/Server/nsmeasure.c:104:7: warning:inconclusive: Width 999 given in format string (no. 3) is smaller than destination buffer 'urlpart[2000]'. [invalidScanfFormatWidth_smaller] whitedb-0.8.0alpha/Server/nsmeasure.c:420:20: style:inconclusive: Function 'errhalt' argument 1 names different: declaration 'msg' definition 'str'. [funcArgNamesDifferent] whitedb-0.8.0alpha/Server/nsmeasure.c:69:20: note: Function 'errhalt' argument 1 names different: declaration 'msg' definition 'str'. whitedb-0.8.0alpha/Server/nsmeasure.c:420:20: note: Function 'errhalt' argument 1 names different: declaration 'msg' definition 'str'. whitedb-0.8.0alpha/Server/nsmeasure.c:204:25: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Server/nsmeasure.c:205:14: style: Variable 'clenheader' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Server/nsmeasure.c:420:20: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Server/nsmeasure.c:373:14: warning: Uninitialized variable: i [uninitvar] whitedb-0.8.0alpha/Server/nsmeasure.c:224:19: note: Assuming condition is false whitedb-0.8.0alpha/Server/nsmeasure.c:373:14: note: Uninitialized variable: i whitedb-0.8.0alpha/Server/nsmeasure.c:159:9: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Server/nsmeasure.c:85:7: style: Unused variable: i [unusedVariable] whitedb-0.8.0alpha/Server/nsmeasure.c:223:17: style: Variable 'clenheader_len' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Server/nsmeasure.c:262:8: style: Variable 'len' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/Server/nsmeasure.c:202:15: style: Unused variable: bytes_read [unusedVariable] whitedb-0.8.0alpha/Test/dbtest.c:2349:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRHASH_SIZE [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Test/dbtest.c:2467:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Test/dbtest.c:2880:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Test/dbtest.c:3051:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Test/dbtest.c:3198:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Test/dbtest.c:3335:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parent_offset [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Test/dbtest.c:2318:3: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] whitedb-0.8.0alpha/Test/dbtest.c:2231:8: style: The if condition is the same as the previous if condition [duplicateCondition] whitedb-0.8.0alpha/Test/dbtest.c:2228:8: note: First condition whitedb-0.8.0alpha/Test/dbtest.c:2231:8: note: Second condition whitedb-0.8.0alpha/Test/dbtest.c:2232:8: style: The if condition is the same as the previous if condition [duplicateCondition] whitedb-0.8.0alpha/Test/dbtest.c:2231:8: note: First condition whitedb-0.8.0alpha/Test/dbtest.c:2232:8: note: Second condition whitedb-0.8.0alpha/Test/dbtest.c:2234:8: style: The if condition is the same as the previous if condition [duplicateCondition] whitedb-0.8.0alpha/Test/dbtest.c:2232:8: note: First condition whitedb-0.8.0alpha/Test/dbtest.c:2234:8: note: Second condition whitedb-0.8.0alpha/Test/dbtest.c:2264:8: style: The if condition is the same as the previous if condition [duplicateCondition] whitedb-0.8.0alpha/Test/dbtest.c:2263:8: note: First condition whitedb-0.8.0alpha/Test/dbtest.c:2264:8: note: Second condition whitedb-0.8.0alpha/Test/dbtest.c:2266:8: style: The if condition is the same as the previous if condition [duplicateCondition] whitedb-0.8.0alpha/Test/dbtest.c:2264:8: note: First condition whitedb-0.8.0alpha/Test/dbtest.c:2266:8: note: Second condition whitedb-0.8.0alpha/Test/dbtest.c:2303:8: style: The if condition is the same as the previous if condition [duplicateCondition] whitedb-0.8.0alpha/Test/dbtest.c:2302:8: note: First condition whitedb-0.8.0alpha/Test/dbtest.c:2303:8: note: Second condition whitedb-0.8.0alpha/Test/dbtest.c:2305:8: style: The if condition is the same as the previous if condition [duplicateCondition] whitedb-0.8.0alpha/Test/dbtest.c:2303:8: note: First condition whitedb-0.8.0alpha/Test/dbtest.c:2305:8: note: Second condition whitedb-0.8.0alpha/Test/dbtest.c:1137:22: warning: Either the condition 'a!=NULL' is redundant or there is possible null pointer dereference: a. [nullPointerRedundantCheck] whitedb-0.8.0alpha/Test/dbtest.c:1136:8: note: Assuming that condition 'a!=NULL' is not redundant whitedb-0.8.0alpha/Test/dbtest.c:1137:22: note: Null pointer dereference whitedb-0.8.0alpha/Test/dbtest.c:2441:7: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] whitedb-0.8.0alpha/Test/dbtest.c:2445:9: note: Found duplicate branches for 'if' and 'else'. whitedb-0.8.0alpha/Test/dbtest.c:2441:7: note: Found duplicate branches for 'if' and 'else'. whitedb-0.8.0alpha/Test/dbtest.c:297:19: style: Variable 'areah' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Test/dbtest.c:399:9: style: Variable 'nulldec' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Test/dbtest.c:451:7: style: Variable 'datevecdata' can be declared as const array [constVariable] whitedb-0.8.0alpha/Test/dbtest.c:456:7: style: Variable 'datevecbad' can be declared as const array [constVariable] whitedb-0.8.0alpha/Test/dbtest.c:461:7: style: Variable 'timevecdata' can be declared as const array [constVariable] whitedb-0.8.0alpha/Test/dbtest.c:466:7: style: Variable 'timevecbad' can be declared as const array [constVariable] whitedb-0.8.0alpha/Test/dbtest.c:1119:33: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Test/dbtest.c:1124:33: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Test/dbtest.c:1124:42: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Test/dbtest.c:1131:36: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Test/dbtest.c:1131:45: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Test/dbtest.c:1143:40: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Test/dbtest.c:1793:11: style: Variable 'val' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Test/dbtest.c:1834:11: style: Variable 'val' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Test/dbtest.c:1877:13: style: Variable 'val' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Test/dbtest.c:1979:11: style: Variable 'val' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Test/dbtest.c:2080:11: style: Variable 'val' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Test/dbtest.c:2311:45: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Test/dbtest.c:2311:57: style: Parameter 'extrastr' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Test/dbtest.c:2634:46: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Test/dbtest.c:3312:20: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Test/dbtest.c:3407:9: style: Parameter 'columns' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Test/dbtest.c:3408:20: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Test/dbtest.c:3437:15: style: Variable 'nextoffset' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Test/dbtest.c:3539:36: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Test/dbtest.c:3783:9: style: Variable 'gptr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Test/dbtest.c:4020:9: style: Variable 'json1' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Test/dbtest.c:4021:9: style: Variable 'json2' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Test/dbtest.c:4023:9: style: Variable 'json3' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Test/dbtest.c:4024:9: style: Variable 'json4' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Test/dbtest.c:4315:11: style: Variable 'nextoffset' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Test/dbtest.c:4940:32: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Test/dbtest.c:5290:9: style: Variable 'strdata' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Test/dbtest.c:5290:19: style: Variable 'exdata' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Test/dbtest.c:5397:31: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] whitedb-0.8.0alpha/Test/dbtest.c:3782:29: style: Unused variable: trec [unusedVariable] whitedb-0.8.0alpha/Test/rtest.c:321:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/Test/rtest.c:93:7: style: Condition 'localflag' is always true [knownConditionTrueFalse] whitedb-0.8.0alpha/Test/rtest.c:90:17: note: Assignment 'localflag=1', assigned value is 1 whitedb-0.8.0alpha/Test/rtest.c:93:7: note: Condition 'localflag' is always true whitedb-0.8.0alpha/Test/rtest.c:95:9: style: Condition 'p' is always true [knownConditionTrueFalse] whitedb-0.8.0alpha/Test/rtest.c:89:9: note: Assignment 'p=2', assigned value is 2 whitedb-0.8.0alpha/Test/rtest.c:95:9: note: Condition 'p' is always true whitedb-0.8.0alpha/Test/rtest.c:100:9: style: Condition 'p' is always true [knownConditionTrueFalse] whitedb-0.8.0alpha/Test/rtest.c:89:9: note: Assignment 'p=2', assigned value is 2 whitedb-0.8.0alpha/Test/rtest.c:94:9: note: Assuming condition is false whitedb-0.8.0alpha/Test/rtest.c:100:9: note: Condition 'p' is always true whitedb-0.8.0alpha/Test/rtest.c:103:10: style: The comparison 'tmp == 0' is always true. [knownConditionTrueFalse] whitedb-0.8.0alpha/Test/rtest.c:88:11: note: 'tmp' is assigned value '0' here. whitedb-0.8.0alpha/Test/rtest.c:103:10: note: The comparison 'tmp == 0' is always true. whitedb-0.8.0alpha/Test/rtest.c:130:9: style: Variable 'otterstr' can be declared as pointer to const [constVariablePointer] whitedb-0.8.0alpha/Test/rtest.c:135:13: style: Variable 'ottestrlen' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/java/jni/src/native/whitedbDriver.c:358:14: style: Variable 'argc' is assigned a value that is never used. [unreadVariable] whitedb-0.8.0alpha/json/yajl_all.c:284:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctx [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/json/yajl_all.c:342:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctx [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/json/yajl_all.c:626:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctx [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/json/yajl_all.c:1551:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/json/yajl_all.c:1598:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctx [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/json/yajl_all.c:1811:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] whitedb-0.8.0alpha/json/yajl_all.c:198:35: style:inconclusive: Function 'yajl_status_to_string' argument 1 names different: declaration 'code' definition 'stat'. [funcArgNamesDifferent] whitedb-0.8.0alpha/json/yajl_api.h:73:57: note: Function 'yajl_status_to_string' argument 1 names different: declaration 'code' definition 'stat'. whitedb-0.8.0alpha/json/yajl_all.c:198:35: note: Function 'yajl_status_to_string' argument 1 names different: declaration 'code' definition 'stat'. whitedb-0.8.0alpha/json/yajl_all.c:289:19: style:inconclusive: Function 'yajl_parse' argument 3 names different: declaration 'jsonTextLength' definition 'jsonTextLen'. [funcArgNamesDifferent] whitedb-0.8.0alpha/json/yajl_api.h:207:40: note: Function 'yajl_parse' argument 3 names different: declaration 'jsonTextLength' definition 'jsonTextLen'. whitedb-0.8.0alpha/json/yajl_all.c:289:19: note: Function 'yajl_parse' argument 3 names different: declaration 'jsonTextLength' definition 'jsonTextLen'. whitedb-0.8.0alpha/json/yajl_all.c:325:55: style:inconclusive: Function 'yajl_get_error' argument 4 names different: declaration 'jsonTextLength' definition 'jsonTextLen'. [funcArgNamesDifferent] whitedb-0.8.0alpha/json/yajl_api.h:232:48: note: Function 'yajl_get_error' argument 4 names different: declaration 'jsonTextLength' definition 'jsonTextLen'. whitedb-0.8.0alpha/json/yajl_all.c:325:55: note: Function 'yajl_get_error' argument 4 names different: declaration 'jsonTextLength' definition 'jsonTextLen'. whitedb-0.8.0alpha/json/yajl_all.c:357:27: style:inconclusive: Function 'yajl_string_encode' argument 4 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] whitedb-0.8.0alpha/json/yajl_all.h:119:32: note: Function 'yajl_string_encode' argument 4 names different: declaration 'length' definition 'len'. whitedb-0.8.0alpha/json/yajl_all.c:357:27: note: Function 'yajl_string_encode' argument 4 names different: declaration 'length' definition 'len'. whitedb-0.8.0alpha/json/yajl_all.c:439:32: style:inconclusive: Function 'yajl_string_decode' argument 3 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] whitedb-0.8.0alpha/json/yajl_all.h:123:32: note: Function 'yajl_string_decode' argument 3 names different: declaration 'length' definition 'len'. whitedb-0.8.0alpha/json/yajl_all.c:439:32: note: Function 'yajl_string_decode' argument 3 names different: declaration 'length' definition 'len'. whitedb-0.8.0alpha/json/yajl_all.c:592:41: style:inconclusive: Function 'yajl_gen_alloc' argument 1 names different: declaration 'allocFuncs' definition 'afs'. [funcArgNamesDifferent] whitedb-0.8.0alpha/json/yajl_api.h:342:59: note: Function 'yajl_gen_alloc' argument 1 names different: declaration 'allocFuncs' definition 'afs'. whitedb-0.8.0alpha/json/yajl_all.c:592:41: note: Function 'yajl_gen_alloc' argument 1 names different: declaration 'allocFuncs' definition 'afs'. whitedb-0.8.0alpha/json/yajl_all.c:623:24: style:inconclusive: Function 'yajl_gen_free' argument 1 names different: declaration 'handle' definition 'g'. [funcArgNamesDifferent] whitedb-0.8.0alpha/json/yajl_api.h:345:38: note: Function 'yajl_gen_free' argument 1 names different: declaration 'handle' definition 'g'. whitedb-0.8.0alpha/json/yajl_all.c:623:24: note: Function 'yajl_gen_free' argument 1 names different: declaration 'handle' definition 'g'. whitedb-0.8.0alpha/json/yajl_all.c:696:27: style:inconclusive: Function 'yajl_gen_integer' argument 1 names different: declaration 'hand' definition 'g'. [funcArgNamesDifferent] whitedb-0.8.0alpha/json/yajl_api.h:347:52: note: Function 'yajl_gen_integer' argument 1 names different: declaration 'hand' definition 'g'. whitedb-0.8.0alpha/json/yajl_all.c:696:27: note: Function 'yajl_gen_integer' argument 1 names different: declaration 'hand' definition 'g'. whitedb-0.8.0alpha/json/yajl_all.c:714:26: style:inconclusive: Function 'yajl_gen_double' argument 1 names different: declaration 'hand' definition 'g'. [funcArgNamesDifferent] whitedb-0.8.0alpha/json/yajl_api.h:351:51: note: Function 'yajl_gen_double' argument 1 names different: declaration 'hand' definition 'g'. whitedb-0.8.0alpha/json/yajl_all.c:714:26: note: Function 'yajl_gen_double' argument 1 names different: declaration 'hand' definition 'g'. whitedb-0.8.0alpha/json/yajl_all.c:735:26: style:inconclusive: Function 'yajl_gen_number' argument 1 names different: declaration 'hand' definition 'g'. [funcArgNamesDifferent] whitedb-0.8.0alpha/json/yajl_api.h:352:51: note: Function 'yajl_gen_number' argument 1 names different: declaration 'hand' definition 'g'. whitedb-0.8.0alpha/json/yajl_all.c:735:26: note: Function 'yajl_gen_number' argument 1 names different: declaration 'hand' definition 'g'. whitedb-0.8.0alpha/json/yajl_all.c:735:42: style:inconclusive: Function 'yajl_gen_number' argument 2 names different: declaration 'num' definition 's'. [funcArgNamesDifferent] whitedb-0.8.0alpha/json/yajl_api.h:353:55: note: Function 'yajl_gen_number' argument 2 names different: declaration 'num' definition 's'. whitedb-0.8.0alpha/json/yajl_all.c:735:42: note: Function 'yajl_gen_number' argument 2 names different: declaration 'num' definition 's'. whitedb-0.8.0alpha/json/yajl_all.c:735:52: style:inconclusive: Function 'yajl_gen_number' argument 3 names different: declaration 'len' definition 'l'. [funcArgNamesDifferent] whitedb-0.8.0alpha/json/yajl_api.h:354:49: note: Function 'yajl_gen_number' argument 3 names different: declaration 'len' definition 'l'. whitedb-0.8.0alpha/json/yajl_all.c:735:52: note: Function 'yajl_gen_number' argument 3 names different: declaration 'len' definition 'l'. whitedb-0.8.0alpha/json/yajl_all.c:745:26: style:inconclusive: Function 'yajl_gen_string' argument 1 names different: declaration 'hand' definition 'g'. [funcArgNamesDifferent] whitedb-0.8.0alpha/json/yajl_api.h:355:51: note: Function 'yajl_gen_string' argument 1 names different: declaration 'hand' definition 'g'. whitedb-0.8.0alpha/json/yajl_all.c:745:26: note: Function 'yajl_gen_string' argument 1 names different: declaration 'hand' definition 'g'. whitedb-0.8.0alpha/json/yajl_all.c:766:24: style:inconclusive: Function 'yajl_gen_null' argument 1 names different: declaration 'hand' definition 'g'. [funcArgNamesDifferent] whitedb-0.8.0alpha/json/yajl_api.h:358:49: note: Function 'yajl_gen_null' argument 1 names different: declaration 'hand' definition 'g'. whitedb-0.8.0alpha/json/yajl_all.c:766:24: note: Function 'yajl_gen_null' argument 1 names different: declaration 'hand' definition 'g'. whitedb-0.8.0alpha/json/yajl_all.c:776:24: style:inconclusive: Function 'yajl_gen_bool' argument 1 names different: declaration 'hand' definition 'g'. [funcArgNamesDifferent] whitedb-0.8.0alpha/json/yajl_api.h:359:49: note: Function 'yajl_gen_bool' argument 1 names different: declaration 'hand' definition 'g'. whitedb-0.8.0alpha/json/yajl_all.c:776:24: note: Function 'yajl_gen_bool' argument 1 names different: declaration 'hand' definition 'g'. whitedb-0.8.0alpha/json/yajl_all.c:788:28: style:inconclusive: Function 'yajl_gen_map_open' argument 1 names different: declaration 'hand' definition 'g'. [funcArgNamesDifferent] whitedb-0.8.0alpha/json/yajl_api.h:360:53: note: Function 'yajl_gen_map_open' argument 1 names different: declaration 'hand' definition 'g'. whitedb-0.8.0alpha/json/yajl_all.c:788:28: note: Function 'yajl_gen_map_open' argument 1 names different: declaration 'hand' definition 'g'. whitedb-0.8.0alpha/json/yajl_all.c:801:29: style:inconclusive: Function 'yajl_gen_map_close' argument 1 names different: declaration 'hand' definition 'g'. [funcArgNamesDifferent] whitedb-0.8.0alpha/json/yajl_api.h:361:54: note: Function 'yajl_gen_map_close' argument 1 names different: declaration 'hand' definition 'g'. whitedb-0.8.0alpha/json/yajl_all.c:801:29: note: Function 'yajl_gen_map_close' argument 1 names different: declaration 'hand' definition 'g'. whitedb-0.8.0alpha/json/yajl_all.c:815:30: style:inconclusive: Function 'yajl_gen_array_open' argument 1 names different: declaration 'hand' definition 'g'. [funcArgNamesDifferent] whitedb-0.8.0alpha/json/yajl_api.h:362:55: note: Function 'yajl_gen_array_open' argument 1 names different: declaration 'hand' definition 'g'. whitedb-0.8.0alpha/json/yajl_all.c:815:30: note: Function 'yajl_gen_array_open' argument 1 names different: declaration 'hand' definition 'g'. whitedb-0.8.0alpha/json/yajl_all.c:827:31: style:inconclusive: Function 'yajl_gen_array_close' argument 1 names different: declaration 'hand' definition 'g'. [funcArgNamesDifferent] whitedb-0.8.0alpha/json/yajl_api.h:363:56: note: Function 'yajl_gen_array_close' argument 1 names different: declaration 'hand' definition 'g'. whitedb-0.8.0alpha/json/yajl_all.c:827:31: note: Function 'yajl_gen_array_close' argument 1 names different: declaration 'hand' definition 'g'. whitedb-0.8.0alpha/json/yajl_all.c:840:27: style:inconclusive: Function 'yajl_gen_get_buf' argument 1 names different: declaration 'hand' definition 'g'. [funcArgNamesDifferent] whitedb-0.8.0alpha/json/yajl_api.h:368:52: note: Function 'yajl_gen_get_buf' argument 1 names different: declaration 'hand' definition 'g'. whitedb-0.8.0alpha/json/yajl_all.c:840:27: note: Function 'yajl_gen_get_buf' argument 1 names different: declaration 'hand' definition 'g'. whitedb-0.8.0alpha/json/yajl_all.c:850:25: style:inconclusive: Function 'yajl_gen_clear' argument 1 names different: declaration 'hand' definition 'g'. [funcArgNamesDifferent] whitedb-0.8.0alpha/json/yajl_api.h:375:39: note: Function 'yajl_gen_clear' argument 1 names different: declaration 'hand' definition 'g'. whitedb-0.8.0alpha/json/yajl_all.c:850:25: note: Function 'yajl_gen_clear' argument 1 names different: declaration 'hand' definition 'g'. whitedb-0.8.0alpha/json/yajl_all.c:919:26: style:inconclusive: Function 'yajl_lex_free' argument 1 names different: declaration 'lexer' definition 'lxr'. [funcArgNamesDifferent] whitedb-0.8.0alpha/json/yajl_all.h:160:38: note: Function 'yajl_lex_free' argument 1 names different: declaration 'lexer' definition 'lxr'. whitedb-0.8.0alpha/json/yajl_all.c:919:26: note: Function 'yajl_lex_free' argument 1 names different: declaration 'lexer' definition 'lxr'. whitedb-0.8.0alpha/json/yajl_all.c:1684:28: style:inconclusive: Function 'yajl_do_finish' argument 1 names different: declaration 'handle' definition 'hand'. [funcArgNamesDifferent] whitedb-0.8.0alpha/json/yajl_all.h:249:28: note: Function 'yajl_do_finish' argument 1 names different: declaration 'handle' definition 'hand'. whitedb-0.8.0alpha/json/yajl_all.c:1684:28: note: Function 'yajl_do_finish' argument 1 names different: declaration 'handle' definition 'hand'. whitedb-0.8.0alpha/json/yajl_all.c:1711:27: style:inconclusive: Function 'yajl_do_parse' argument 1 names different: declaration 'handle' definition 'hand'. [funcArgNamesDifferent] whitedb-0.8.0alpha/json/yajl_all.h:245:27: note: Function 'yajl_do_parse' argument 1 names different: declaration 'handle' definition 'hand'. whitedb-0.8.0alpha/json/yajl_all.c:1711:27: note: Function 'yajl_do_parse' argument 1 names different: declaration 'handle' definition 'hand'. whitedb-0.8.0alpha/json/yajl_all.c:491:55: warning: String literal compared with variable 'NULL'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] whitedb-0.8.0alpha/Main/indextool.c:170:11: warning: If resource allocation fails, then there is a possible null pointer dereference: file [ctunullpointerOutOfResources] whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assuming allocation function fails whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assignment 'filee=fopen(file,"w")', assigned value is 0 whitedb-0.8.0alpha/Main/indextool.c:218:13: note: Calling function print_tree, 2nd argument is null whitedb-0.8.0alpha/Main/indextool.c:170:11: note: Dereferencing argument file that is null diff: head whitedb-0.8.0alpha/Main/indextool.c:170:11: warning: If resource allocation fails, then there is a possible null pointer dereference: file [ctunullpointerOutOfResources] whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assuming allocation function fails whitedb-0.8.0alpha/Main/indextool.c:216:22: note: Assignment 'filee=fopen(file,"w")', assigned value is 0 whitedb-0.8.0alpha/Main/indextool.c:218:13: note: Calling function print_tree, 2nd argument is null whitedb-0.8.0alpha/Main/indextool.c:170:11: note: Dereferencing argument file that is null head whitedb-0.8.0alpha/Reasoner/clstore.c:550:8: style: Variable 'hashposbits' is assigned a value that is never used. [unreadVariable] head whitedb-0.8.0alpha/json/yajl_all.c:357:27: style:inconclusive: Function 'yajl_string_encode' argument 4 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] whitedb-0.8.0alpha/json/yajl_all.h:119:32: note: Function 'yajl_string_encode' argument 4 names different: declaration 'length' definition 'len'. whitedb-0.8.0alpha/json/yajl_all.c:357:27: note: Function 'yajl_string_encode' argument 4 names different: declaration 'length' definition 'len'. DONE