2025-07-09 10:35 ftp://ftp.de.debian.org/debian/pool/main/libd/libdbd-sqlite2-perl/libdbd-sqlite2-perl_0.38.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -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: 8f3d36a (2025-07-08 11:07:56 +0200) count: 301 300 elapsed-time: 22.2 22.9 head-timing-info: old-timing-info: head results: DBD-SQLite2-0.38/attach.c:117:9: style: Local variable 'i' shadows outer variable [shadowVariable] DBD-SQLite2-0.38/attach.c:28:11: note: Shadowed declaration DBD-SQLite2-0.38/attach.c:117:9: note: Shadow variable DBD-SQLite2-0.38/auth.c:76:9: style:inconclusive: Function 'sqlite_set_authorizer' argument 3 names different: declaration 'pUserData' definition 'pArg'. [funcArgNamesDifferent] DBD-SQLite2-0.38/sqlite.h:545:9: note: Function 'sqlite_set_authorizer' argument 3 names different: declaration 'pUserData' definition 'pArg'. DBD-SQLite2-0.38/auth.c:76:9: note: Function 'sqlite_set_authorizer' argument 3 names different: declaration 'pUserData' definition 'pArg'. DBD-SQLite2-0.38/btree.c:711:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u_page_data [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/btree.c:486:16: warning: Assert statement modifies 'cnt'. [assignmentInAssert] DBD-SQLite2-0.38/btree.c:1180:16: warning: Either the condition 'pCur!=0' is redundant or there is possible null pointer dereference: pCur. [nullPointerRedundantCheck] DBD-SQLite2-0.38/btree.c:1181:15: note: Assuming that condition 'pCur!=0' is not redundant DBD-SQLite2-0.38/btree.c:1180:16: note: Null pointer dereference DBD-SQLite2-0.38/btree.c:2694:11: warning: Either the condition 'pCur->pPage==0' is redundant or there is possible null pointer dereference: pPage. [nullPointerRedundantCheck] DBD-SQLite2-0.38/btree.c:2695:18: note: Assuming that condition 'pCur->pPage==0' is not redundant DBD-SQLite2-0.38/btree.c:2688:18: note: pPage is assigned 'pCur->pPage' here. DBD-SQLite2-0.38/btree.c:2694:11: note: Null pointer dereference DBD-SQLite2-0.38/btree.c:682:7: style:inconclusive: Function 'sqliteBtreeOpen' argument 2 names different: declaration 'mode' definition 'omitJournal'. [funcArgNamesDifferent] DBD-SQLite2-0.38/btree.h:97:48: note: Function 'sqliteBtreeOpen' argument 2 names different: declaration 'mode' definition 'omitJournal'. DBD-SQLite2-0.38/btree.c:682:7: note: Function 'sqliteBtreeOpen' argument 2 names different: declaration 'mode' definition 'omitJournal'. DBD-SQLite2-0.38/btree.c:683:7: style:inconclusive: Function 'sqliteBtreeOpen' argument 3 names different: declaration 'nPg' definition 'nCache'. [funcArgNamesDifferent] DBD-SQLite2-0.38/btree.h:97:58: note: Function 'sqliteBtreeOpen' argument 3 names different: declaration 'nPg' definition 'nCache'. DBD-SQLite2-0.38/btree.c:683:7: note: Function 'sqliteBtreeOpen' argument 3 names different: declaration 'nPg' definition 'nCache'. DBD-SQLite2-0.38/btree.c:585:7: style: Local variable 'freeSpace' shadows outer function [shadowFunction] DBD-SQLite2-0.38/btree.c:519:13: note: Shadowed declaration DBD-SQLite2-0.38/btree.c:585:7: note: Shadow variable DBD-SQLite2-0.38/btree.c:524:12: style: Variable 'pNext' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/btree.c:583:12: style: Variable 'pFBlk' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/btree.c:793:14: style: Variable 'pP1' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/btree.c:1127:37: style: Parameter 'pCur' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/btree.c:1177:9: style: Variable 'aPayload' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/btree.c:3152:37: style: Parameter 'pBt' can be declared as pointer to const. However it seems that 'fileBtreePager' is a callback function, if 'pBt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] DBD-SQLite2-0.38/btree.c:3562:5: note: You might need to cast the function pointer here DBD-SQLite2-0.38/btree.c:3152:37: note: Parameter 'pBt' can be declared as pointer to const DBD-SQLite2-0.38/btree.c:3287:9: style: Parameter 'zLowerBound' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/btree.c:3383:14: style: Variable 'pFBlk' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/btree.c:3424:48: style: Parameter 'aRoot' can be declared as pointer to const. However it seems that 'fileBtreeIntegrityCheck' is a callback function, if 'aRoot' is declared with const you might also need to cast function pointer(s). [constParameterCallback] DBD-SQLite2-0.38/btree.c:3559:5: note: You might need to cast the function pointer here DBD-SQLite2-0.38/btree.c:3424:48: note: Parameter 'aRoot' can be declared as pointer to const DBD-SQLite2-0.38/btree.c:1935:8: style: Variable 'pKey' is assigned a value that is never used. [unreadVariable] DBD-SQLite2-0.38/btree_rb.c:577:15: warning: Either the condition '!pX' is redundant or there is possible null pointer dereference: pX. [nullPointerRedundantCheck] DBD-SQLite2-0.38/btree_rb.c:519:33: note: Assuming that condition '!pX' is not redundant DBD-SQLite2-0.38/btree_rb.c:577:15: note: Null pointer dereference DBD-SQLite2-0.38/btree_rb.c:1179:44: warning: Either the condition '!pCur->pNode->pKey' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] DBD-SQLite2-0.38/btree_rb.c:1178:7: note: Assuming that condition '!pCur->pNode->pKey' is not redundant DBD-SQLite2-0.38/btree_rb.c:1179:44: note: Null pointer addition DBD-SQLite2-0.38/btree_rb.c:313:12: style: Variable 'str' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/btree_rb.c:1225:37: style: Parameter 'tree' can be declared as pointer to const. However it seems that 'memRbtreeGetMeta' is a callback function, if 'tree' is declared with const you might also need to cast function pointer(s). [constParameterCallback] DBD-SQLite2-0.38/btree_rb.c:1457:27: note: You might need to cast the function pointer here DBD-SQLite2-0.38/btree_rb.c:1225:37: note: Parameter 'tree' can be declared as pointer to const DBD-SQLite2-0.38/btree_rb.c:1231:51: style: Parameter 'aMeta' can be declared as pointer to const. However it seems that 'memRbtreeUpdateMeta' is a callback function, if 'aMeta' is declared with const you might also need to cast function pointer(s). [constParameterCallback] DBD-SQLite2-0.38/btree_rb.c:1458:27: note: You might need to cast the function pointer here DBD-SQLite2-0.38/btree_rb.c:1231:51: note: Parameter 'aMeta' can be declared as pointer to const DBD-SQLite2-0.38/btree_rb.c:1242:46: style: Parameter 'tree' can be declared as pointer to const. However it seems that 'memRbtreeIntegrityCheck' is a callback function, if 'tree' is declared with const you might also need to cast function pointer(s). [constParameterCallback] DBD-SQLite2-0.38/btree_rb.c:1459:33: note: You might need to cast the function pointer here DBD-SQLite2-0.38/btree_rb.c:1242:46: note: Parameter 'tree' can be declared as pointer to const DBD-SQLite2-0.38/btree_rb.c:1255:42: style: Parameter 'tree' can be declared as pointer to const. However it seems that 'memRbtreeSetCacheSize' is a callback function, if 'tree' is declared with const you might also need to cast function pointer(s). [constParameterCallback] DBD-SQLite2-0.38/btree_rb.c:1444:26: note: You might need to cast the function pointer here DBD-SQLite2-0.38/btree_rb.c:1255:42: note: Parameter 'tree' can be declared as pointer to const DBD-SQLite2-0.38/btree_rb.c:1260:44: style: Parameter 'pBt' can be declared as pointer to const. However it seems that 'memRbtreeSetSafetyLevel' is a callback function, if 'pBt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] DBD-SQLite2-0.38/btree_rb.c:1445:26: note: You might need to cast the function pointer here DBD-SQLite2-0.38/btree_rb.c:1260:44: note: Parameter 'pBt' can be declared as pointer to const DBD-SQLite2-0.38/btree_rb.c:1303:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/btree_rb.c:1423:45: style: Parameter 'tree' can be declared as pointer to const. However it seems that 'memRbtreePager' is a callback function, if 'tree' is declared with const you might also need to cast function pointer(s). [constParameterCallback] DBD-SQLite2-0.38/btree_rb.c:1462:32: note: You might need to cast the function pointer here DBD-SQLite2-0.38/btree_rb.c:1423:45: note: Parameter 'tree' can be declared as pointer to const DBD-SQLite2-0.38/btree_rb.c:1431:49: style: Parameter 'pBt' can be declared as pointer to const. However it seems that 'memRbtreeGetFilename' is a callback function, if 'pBt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] DBD-SQLite2-0.38/btree_rb.c:1460:30: note: You might need to cast the function pointer here DBD-SQLite2-0.38/btree_rb.c:1431:49: note: Parameter 'pBt' can be declared as pointer to const DBD-SQLite2-0.38/btree_rb.c:1438:38: style: Parameter 'pBt' can be declared as pointer to const. However it seems that 'memRbtreeCopyFile' is a callback function, if 'pBt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] DBD-SQLite2-0.38/btree_rb.c:1461:29: note: You might need to cast the function pointer here DBD-SQLite2-0.38/btree_rb.c:1438:38: note: Parameter 'pBt' can be declared as pointer to const DBD-SQLite2-0.38/btree_rb.c:1438:51: style: Parameter 'pBt2' can be declared as pointer to const. However it seems that 'memRbtreeCopyFile' is a callback function, if 'pBt2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] DBD-SQLite2-0.38/btree_rb.c:1461:29: note: You might need to cast the function pointer here DBD-SQLite2-0.38/btree_rb.c:1438:51: note: Parameter 'pBt2' can be declared as pointer to const DBD-SQLite2-0.38/btree_rb.c:996:29: style: Variable 'ppParentSlot' is assigned a value that is never used. [unreadVariable] DBD-SQLite2-0.38/build.c:1145:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/build.c:1395:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sColMap [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/build.c:1736:15: style: The if condition is the same as the previous if condition [duplicateCondition] DBD-SQLite2-0.38/build.c:1713:9: note: First condition DBD-SQLite2-0.38/build.c:1736:15: note: Second condition DBD-SQLite2-0.38/build.c:79:24: style: Condition 'pParse->nErr' is always false [knownConditionTrueFalse] DBD-SQLite2-0.38/build.c:75:24: note: Assuming that condition 'pParse->nErr==0' is not redundant DBD-SQLite2-0.38/build.c:79:24: note: Condition 'pParse->nErr' is always false DBD-SQLite2-0.38/build.c:1684:9: style: Local variable 'i' shadows outer variable [shadowVariable] DBD-SQLite2-0.38/build.c:1484:7: note: Shadowed declaration DBD-SQLite2-0.38/build.c:1684:9: note: Shadow variable DBD-SQLite2-0.38/build.c:362:10: style: Variable 'pOld' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/build.c:389:39: style: Parameter 'pName' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/build.c:425:10: style: Parameter 'pStart' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/build.c:431:10: style: Variable 'pIdx' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/build.c:445:11: style: Variable 'zDb' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/build.c:608:63: style: Parameter 'pLast' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/build.c:682:9: style: Variable 'zType' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/build.c:831:9: style: Variable 'zSep' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/build.c:831:24: style: Variable 'zEnd' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/build.c:883:43: style: Parameter 'pEnd' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/build.c:970:12: style: Variable 'pOld' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/build.c:1310:10: style: Variable 'pTab' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/build.c:1478:10: style: Parameter 'pStart' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/build.c:1479:10: style: Parameter 'pEnd' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/build.c:1538:12: style: Variable 'pISameName' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/build.c:1539:12: style: Variable 'pTSameName' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/build.c:1628:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/build.c:1782:12: style: Variable 'pTab' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/build.c:1987:31: style: Parameter 'pList' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/build.c:2146:11: style: Variable 'db' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/copy.c:32:10: style: Parameter 'pFilename' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/copy.c:33:10: style: Parameter 'pDelimiter' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/date.c:419:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] DBD-SQLite2-0.38/date.c:803:15: style: Local variable 'n' shadows outer variable [shadowVariable] DBD-SQLite2-0.38/date.c:740:7: note: Shadowed declaration DBD-SQLite2-0.38/date.c:803:15: note: Shadow variable DBD-SQLite2-0.38/date.c:397:41: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/date.c:400:14: style: Variable 'pTm' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/date.c:108:19: error: va_list 'ap' was opened but not closed by va_end(). [va_end_missing] DBD-SQLite2-0.38/dbdimp.c:24:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dTHR [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/dbdimp.c:31:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dTHR [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/dbdimp.c:47:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dTHR [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/dbdimp.c:103:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeout [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/dbdimp.c:112:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dTHR [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/dbdimp.c:134:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dTHR [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/dbdimp.c:144:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dTHR [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/dbdimp.c:166:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dTHR [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/dbdimp.c:192:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dTHR [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/dbdimp.c:199:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable D_imp_dbh_from_sth [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/dbdimp.c:255:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dTHR [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/dbdimp.c:306:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PL_na [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/dbdimp.c:361:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dTHR [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/dbdimp.c:458:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQL_DOUBLE [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/dbdimp.c:470:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable D_imp_dbh_from_sth [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/dbdimp.c:534:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/dbdimp.c:562:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dTHR [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/dbdimp.c:610:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dTHR [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/dbdimp.c:628:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PL_na [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/dbdimp.c:635:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PL_na [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/dbdimp.c:715:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I32_MAX [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/dbdimp.c:732:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dSP [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/dbdimp.c:791:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable functions [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/dbdimp.c:812:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dSP [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/dbdimp.c:869:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dSP [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/dbdimp.c:920:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dSP [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/dbdimp.c:989:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aggregates [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/dbdimp.c:73:9: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] DBD-SQLite2-0.38/dbdimp.c:83:9: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] DBD-SQLite2-0.38/dbdimp.c:149:13: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] DBD-SQLite2-0.38/dbdimp.c:176:13: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] DBD-SQLite2-0.38/dbdimp.c:399:13: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] DBD-SQLite2-0.38/dbdimp.c:411:9: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] DBD-SQLite2-0.38/dbdimp.c:571:14: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] DBD-SQLite2-0.38/dbdimp.c:214:34: style: Redundant condition: The condition 'statement[1]' is redundant since 'statement[1] == '\''' is sufficient. [redundantCondition] DBD-SQLite2-0.38/dbdimp.c:321:54: style: Redundant condition: The condition 'input[1]' is redundant since 'input[1] == '0'' is sufficient. [redundantCondition] DBD-SQLite2-0.38/dbdimp.c:327:59: style: Redundant condition: The condition 'input[1]' is redundant since 'input[1] == '\\'' is sufficient. [redundantCondition] DBD-SQLite2-0.38/dbdimp.c:982:71: style:inconclusive: Function 'sqlite2_db_create_aggregate' argument 4 names different: declaration 'aggr' definition 'aggr_pkg'. [funcArgNamesDifferent] DBD-SQLite2-0.38/dbdimp.h:72:76: note: Function 'sqlite2_db_create_aggregate' argument 4 names different: declaration 'aggr' definition 'aggr_pkg'. DBD-SQLite2-0.38/dbdimp.c:982:71: note: Function 'sqlite2_db_create_aggregate' argument 4 names different: declaration 'aggr' definition 'aggr_pkg'. DBD-SQLite2-0.38/dbdimp.c:304:7: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] DBD-SQLite2-0.38/dbdimp.c:323:11: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] DBD-SQLite2-0.38/dbdimp.c:329:11: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] DBD-SQLite2-0.38/dbdimp.c:336:5: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] DBD-SQLite2-0.38/dbdimp.c:190:24: style: Parameter 'drh' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/dbdimp.c:190:40: style: Parameter 'imp_drh' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/dbdimp.c:276:26: style: Parameter 'imp_dbh' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/dbdimp.c:310:27: style: Parameter 'imp_dbh' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/dbdimp.c:444:22: style: Parameter 'sth' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/dbdimp.c:444:38: style: Parameter 'imp_sth' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/dbdimp.c:553:27: style: Parameter 'sth' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/dbdimp.c:553:43: style: Parameter 'imp_sth' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/dbdimp.c:554:55: style: Parameter 'destrv' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/dbdimp.c:628:11: style: Variable 'key' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/dbdimp.c:703:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/dbdimp.c:304:12: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] DBD-SQLite2-0.38/dbdimp.c:323:17: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] DBD-SQLite2-0.38/dbdimp.c:329:17: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] DBD-SQLite2-0.38/dbdimp.c:336:11: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] DBD-SQLite2-0.38/dbdimp.c:628:15: style: Variable 'key' is assigned a value that is never used. [unreadVariable] DBD-SQLite2-0.38/dbdimp.c:628:11: style: Variable 'key' is assigned a value that is never used. [unreadVariable] DBD-SQLite2-0.38/dbdimp.c:922:15: style: Variable 'count' is assigned a value that is never used. [unreadVariable] DBD-SQLite2-0.38/delete.c:172:11: style: Local variable 'addr' shadows outer variable [shadowVariable] DBD-SQLite2-0.38/delete.c:64:12: note: Shadowed declaration DBD-SQLite2-0.38/delete.c:172:11: note: Shadow variable DBD-SQLite2-0.38/delete.c:368:11: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/delete.c:372:9: style: Parameter 'aIdxUsed' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/expr.c:501:11: style: Local variable 'j' shadows outer variable [shadowVariable] DBD-SQLite2-0.38/expr.c:421:10: note: Shadowed declaration DBD-SQLite2-0.38/expr.c:501:11: note: Shadow variable DBD-SQLite2-0.38/expr.c:707:13: style: Local variable 'i' shadows outer variable [shadowVariable] DBD-SQLite2-0.38/expr.c:635:7: note: Shadowed declaration DBD-SQLite2-0.38/expr.c:707:13: note: Shadow variable DBD-SQLite2-0.38/expr.c:767:13: style: Local variable 'i' shadows outer variable [shadowVariable] DBD-SQLite2-0.38/expr.c:635:7: note: Shadowed declaration DBD-SQLite2-0.38/expr.c:767:13: note: Shadow variable DBD-SQLite2-0.38/expr.c:1604:13: style: Local variable 'i' shadows outer variable [shadowVariable] DBD-SQLite2-0.38/expr.c:1551:7: note: Shadowed declaration DBD-SQLite2-0.38/expr.c:1604:13: note: Shadow variable DBD-SQLite2-0.38/expr.c:25:60: style: Parameter 'pToken' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/expr.c:56:41: style: Parameter 'pLeft' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/expr.c:56:55: style: Parameter 'pRight' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/expr.c:74:50: style: Parameter 'pToken' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/expr.c:139:41: style: Parameter 'pFrom' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/expr.c:215:25: style: Variable 'pOldItem' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/expr.c:411:10: style: Parameter 'pDbToken' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/expr.c:412:10: style: Parameter 'pTableToken' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/expr.c:424:11: style: Variable 'db' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/expr.c:457:15: style: Variable 'zTabName' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/expr.c:460:15: style: Variable 'zTabName' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/expr.c:540:13: style: Variable 'zAs' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/expr.c:571:11: style: Variable 'zErr' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/expr.c:1113:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/func.c:630:23: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] DBD-SQLite2-0.38/func.c:643:23: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] DBD-SQLite2-0.38/func.c:426:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/func.c:431:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/func.c:496:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/func.c:444:10: style: struct member 'StdDevCtx::sum' is never used. [unusedStructMember] DBD-SQLite2-0.38/func.c:445:10: style: struct member 'StdDevCtx::sum2' is never used. [unusedStructMember] DBD-SQLite2-0.38/func.c:446:7: style: struct member 'StdDevCtx::cnt' is never used. [unusedStructMember] DBD-SQLite2-0.38/hash.c:172:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _ht [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/hash.c:32:36: style:inconclusive: Function 'sqliteHashInit' argument 2 names different: declaration 'keytype' definition 'keyClass'. [funcArgNamesDifferent] DBD-SQLite2-0.38/hash.h:81:32: note: Function 'sqliteHashInit' argument 2 names different: declaration 'keytype' definition 'keyClass'. DBD-SQLite2-0.38/hash.c:32:36: note: Function 'sqliteHashInit' argument 2 names different: declaration 'keytype' definition 'keyClass'. DBD-SQLite2-0.38/hash.c:290:68: style:inconclusive: Function 'sqliteHashInsert' argument 4 names different: declaration 'pData' definition 'data'. [funcArgNamesDifferent] DBD-SQLite2-0.38/hash.h:82:65: note: Function 'sqliteHashInsert' argument 4 names different: declaration 'pData' definition 'data'. DBD-SQLite2-0.38/hash.c:290:68: note: Function 'sqliteHashInsert' argument 4 names different: declaration 'pData' definition 'data'. DBD-SQLite2-0.38/insert.c:131:11: warning: Either the condition 'pTab==0' is redundant or there is possible null pointer dereference: pTab. [nullPointerRedundantCheck] DBD-SQLite2-0.38/insert.c:150:11: note: Assuming that condition 'pTab==0' is not redundant DBD-SQLite2-0.38/insert.c:131:11: note: Null pointer dereference DBD-SQLite2-0.38/insert.c:132:17: warning: Either the condition 'pTab==0' is redundant or there is possible null pointer dereference: pTab. [nullPointerRedundantCheck] DBD-SQLite2-0.38/insert.c:150:11: note: Assuming that condition 'pTab==0' is not redundant DBD-SQLite2-0.38/insert.c:132:17: note: Null pointer dereference DBD-SQLite2-0.38/insert.c:133:46: warning: Either the condition 'pTab==0' is redundant or there is possible null pointer dereference: pTab. [nullPointerRedundantCheck] DBD-SQLite2-0.38/insert.c:150:11: note: Assuming that condition 'pTab==0' is not redundant DBD-SQLite2-0.38/insert.c:133:46: note: Null pointer dereference DBD-SQLite2-0.38/insert.c:141:49: warning: Either the condition 'pTab==0' is redundant or there is possible null pointer dereference: pTab. [nullPointerRedundantCheck] DBD-SQLite2-0.38/insert.c:150:11: note: Assuming that condition 'pTab==0' is not redundant DBD-SQLite2-0.38/insert.c:141:49: note: Null pointer dereference DBD-SQLite2-0.38/insert.c:143:48: warning: Either the condition 'pTab==0' is redundant or there is possible null pointer dereference: pTab. [nullPointerRedundantCheck] DBD-SQLite2-0.38/insert.c:150:11: note: Assuming that condition 'pTab==0' is not redundant DBD-SQLite2-0.38/insert.c:143:48: note: Null pointer dereference DBD-SQLite2-0.38/insert.c:146:12: warning: Either the condition 'pTab==0' is redundant or there is possible null pointer dereference: pTab. [nullPointerRedundantCheck] DBD-SQLite2-0.38/insert.c:150:11: note: Assuming that condition 'pTab==0' is not redundant DBD-SQLite2-0.38/insert.c:146:12: note: Null pointer dereference DBD-SQLite2-0.38/insert.c:95:9: style: Variable 'zTab' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/insert.c:205:17: style: Variable 'pOp' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/insert.c:624:9: style: Parameter 'aIdxUsed' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/insert.c:808:17: style: Variable 'zCol' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/insert.c:867:9: style: Parameter 'aIdxUsed' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/main.c:148:25: warning: Either the condition 'pTab' is redundant or there is possible null pointer dereference: pTab. [nullPointerRedundantCheck] DBD-SQLite2-0.38/main.c:149:7: note: Assuming that condition 'pTab' is not redundant DBD-SQLite2-0.38/main.c:148:25: note: Null pointer dereference DBD-SQLite2-0.38/main.c:475:33: style:inconclusive: Function 'sqlite_open' argument 1 names different: declaration 'filename' definition 'zFilename'. [funcArgNamesDifferent] DBD-SQLite2-0.38/sqlite.h:78:33: note: Function 'sqlite_open' argument 1 names different: declaration 'filename' definition 'zFilename'. DBD-SQLite2-0.38/main.c:475:33: note: Function 'sqlite_open' argument 1 names different: declaration 'filename' definition 'zFilename'. DBD-SQLite2-0.38/main.c:475:61: style:inconclusive: Function 'sqlite_open' argument 3 names different: declaration 'errmsg' definition 'pzErrMsg'. [funcArgNamesDifferent] DBD-SQLite2-0.38/sqlite.h:78:60: note: Function 'sqlite_open' argument 3 names different: declaration 'errmsg' definition 'pzErrMsg'. DBD-SQLite2-0.38/main.c:475:61: note: Function 'sqlite_open' argument 3 names different: declaration 'errmsg' definition 'pzErrMsg'. DBD-SQLite2-0.38/main.c:625:15: style:inconclusive: Function 'sqlite_exec' argument 2 names different: declaration 'sql' definition 'zSql'. [funcArgNamesDifferent] DBD-SQLite2-0.38/sqlite.h:135:15: note: Function 'sqlite_exec' argument 2 names different: declaration 'sql' definition 'zSql'. DBD-SQLite2-0.38/main.c:625:15: note: Function 'sqlite_exec' argument 2 names different: declaration 'sql' definition 'zSql'. DBD-SQLite2-0.38/main.c:628:10: style:inconclusive: Function 'sqlite_exec' argument 5 names different: declaration 'errmsg' definition 'pzErrMsg'. [funcArgNamesDifferent] DBD-SQLite2-0.38/sqlite.h:138:10: note: Function 'sqlite_exec' argument 5 names different: declaration 'errmsg' definition 'pzErrMsg'. DBD-SQLite2-0.38/main.c:628:10: note: Function 'sqlite_exec' argument 5 names different: declaration 'errmsg' definition 'pzErrMsg'. DBD-SQLite2-0.38/main.c:696:10: style:inconclusive: Function 'sqlite_compile' argument 5 names different: declaration 'pzErrmsg' definition 'pzErrMsg'. [funcArgNamesDifferent] DBD-SQLite2-0.38/sqlite.h:644:10: note: Function 'sqlite_compile' argument 5 names different: declaration 'pzErrmsg' definition 'pzErrMsg'. DBD-SQLite2-0.38/main.c:696:10: note: Function 'sqlite_compile' argument 5 names different: declaration 'pzErrmsg' definition 'pzErrMsg'. DBD-SQLite2-0.38/main.c:1042:61: style:inconclusive: Function 'sqlite_function_type' argument 3 names different: declaration 'datatype' definition 'dataType'. [funcArgNamesDifferent] DBD-SQLite2-0.38/sqlite.h:479:7: note: Function 'sqlite_function_type' argument 3 names different: declaration 'datatype' definition 'dataType'. DBD-SQLite2-0.38/main.c:1042:61: note: Function 'sqlite_function_type' argument 3 names different: declaration 'datatype' definition 'dataType'. DBD-SQLite2-0.38/main.c:1112:7: style:inconclusive: Function 'sqliteBtreeFactory' argument 3 names different: declaration 'mode' definition 'omitJournal'. [funcArgNamesDifferent] DBD-SQLite2-0.38/sqliteInt.h:1261:28: note: Function 'sqliteBtreeFactory' argument 3 names different: declaration 'mode' definition 'omitJournal'. DBD-SQLite2-0.38/main.c:1112:7: note: Function 'sqliteBtreeFactory' argument 3 names different: declaration 'mode' definition 'omitJournal'. DBD-SQLite2-0.38/main.c:1113:7: style:inconclusive: Function 'sqliteBtreeFactory' argument 4 names different: declaration 'nPg' definition 'nCache'. [funcArgNamesDifferent] DBD-SQLite2-0.38/sqliteInt.h:1261:38: note: Function 'sqliteBtreeFactory' argument 4 names different: declaration 'nPg' definition 'nCache'. DBD-SQLite2-0.38/main.c:1113:7: note: Function 'sqliteBtreeFactory' argument 4 names different: declaration 'nPg' definition 'nCache'. DBD-SQLite2-0.38/main.c:544:38: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/main.c:551:28: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/main.c:561:43: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/os.c:465:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/os.c:597:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/os.c:684:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/os.c:772:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/os.c:1330:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/os.c:1441:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/os.c:1556:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_UNLCK [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/os.c:1172:44: style:inconclusive: Function 'sqliteOsTruncate' argument 2 names different: declaration 'size' definition 'nByte'. [funcArgNamesDifferent] DBD-SQLite2-0.38/os.h:177:41: note: Function 'sqliteOsTruncate' argument 2 names different: declaration 'size' definition 'nByte'. DBD-SQLite2-0.38/os.c:1172:44: note: Function 'sqliteOsTruncate' argument 2 names different: declaration 'size' definition 'nByte'. DBD-SQLite2-0.38/os.c:314:22: style: Variable 'pOld' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/os.c:332:21: style: Variable 'pOld' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/os.c:969:26: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/os.c:1020:27: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/os.c:1079:26: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/os.c:1172:30: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/os.c:1201:30: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/pager.c:1931:3: warning: Either the condition 'pPg' is redundant or there is possible null pointer dereference: pPg. [nullPointerRedundantCheck] DBD-SQLite2-0.38/pager.c:1932:7: note: Assuming that condition 'pPg' is not redundant DBD-SQLite2-0.38/pager.c:1931:3: note: Null pointer dereference DBD-SQLite2-0.38/pager.c:806:6: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] DBD-SQLite2-0.38/pager.c:783:6: note: rc is assigned DBD-SQLite2-0.38/pager.c:806:6: note: rc is overwritten DBD-SQLite2-0.38/pager.c:919:7: style:inconclusive: Function 'sqlitepager_open' argument 3 names different: declaration 'nPage' definition 'mxPage'. [funcArgNamesDifferent] DBD-SQLite2-0.38/pager.h:74:26: note: Function 'sqlitepager_open' argument 3 names different: declaration 'nPage' definition 'mxPage'. DBD-SQLite2-0.38/pager.c:919:7: note: Function 'sqlitepager_open' argument 3 names different: declaration 'nPage' definition 'mxPage'. DBD-SQLite2-0.38/pager.c:1337:12: style: Local variable 'rc' shadows outer variable [shadowVariable] DBD-SQLite2-0.38/pager.c:1313:7: note: Shadowed declaration DBD-SQLite2-0.38/pager.c:1337:12: note: Shadow variable DBD-SQLite2-0.38/pager.c:1415:13: style: Local variable 'rc' shadows outer variable [shadowVariable] DBD-SQLite2-0.38/pager.c:1313:7: note: Shadowed declaration DBD-SQLite2-0.38/pager.c:1415:13: note: Shadow variable DBD-SQLite2-0.38/pager.c:1521:11: style: Local variable 'rc' shadows outer variable [shadowVariable] DBD-SQLite2-0.38/pager.c:1313:7: note: Shadowed declaration DBD-SQLite2-0.38/pager.c:1521:11: note: Shadow variable DBD-SQLite2-0.38/pager.c:374:33: style: Parameter 'pPager' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/pager.c:516:31: style: Parameter 'pPager' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/pager.c:1111:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/pager.c:1880:10: style: Variable 'pPg' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/pager.c:1888:59: style: Parameter 'pData' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/pager.c:2082:35: style: Parameter 'pPager' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/pager.c:2089:31: style: Parameter 'pPager' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/pager.c:2192:41: style: Parameter 'pPager' can be declared as pointer to const [constParameterPointer] parse.y:168:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable z [valueFlowBailoutIncompleteVar] parse.c:1394:36: style: Condition 'pParser->yyidx>=0' is always true [knownConditionTrueFalse] parse.c:1392:21: note: Assuming that condition 'pParser->yyidx<0' is not redundant parse.c:1394:36: note: Condition 'pParser->yyidx>=0' is always true parse.c:1509:16: style: Parameter 'yypMinor' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/pragma.c:558:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/pragma.c:45:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/pragma.c:159:41: style: Parameter 'pLeft' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/pragma.c:397:12: style: Variable 'pTab' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/printf.c:830:8: style:inconclusive: Function 'sqlite_get_table_printf' argument 5 names different: declaration 'ncolumn' definition 'ncol'. [funcArgNamesDifferent] DBD-SQLite2-0.38/sqlite.h:408:8: note: Function 'sqlite_get_table_printf' argument 5 names different: declaration 'ncolumn' definition 'ncol'. DBD-SQLite2-0.38/printf.c:830:8: note: Function 'sqlite_get_table_printf' argument 5 names different: declaration 'ncolumn' definition 'ncol'. DBD-SQLite2-0.38/printf.c:545:24: style: Local variable 'c' shadows outer variable [shadowVariable] DBD-SQLite2-0.38/printf.c:198:7: note: Shadowed declaration DBD-SQLite2-0.38/printf.c:545:24: note: Shadow variable DBD-SQLite2-0.38/printf.c:546:17: style: Local variable 'arg' shadows outer argument [shadowArgument] DBD-SQLite2-0.38/printf.c:193:9: note: Shadowed declaration DBD-SQLite2-0.38/printf.c:546:17: note: Shadow variable DBD-SQLite2-0.38/printf.c:364:26: style: Variable 'cset' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/printf.c:546:17: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/select.c:809:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable op [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/select.c:1758:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable z [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/select.c:1425:13: style: Condition 'rc' is always false [knownConditionTrueFalse] DBD-SQLite2-0.38/select.c:1404:11: note: Assuming that condition 'rc' is not redundant DBD-SQLite2-0.38/select.c:1425:13: note: Condition 'rc' is always false DBD-SQLite2-0.38/select.c:1491:11: style: Condition 'rc' is always false [knownConditionTrueFalse] DBD-SQLite2-0.38/select.c:1471:11: note: Assuming that condition 'rc' is not redundant DBD-SQLite2-0.38/select.c:1491:11: note: Condition 'rc' is always false DBD-SQLite2-0.38/select.c:2335:24: style: Condition 'selectInnerLoop(pParse,p,pEList,0,0,pOrderBy,distinct,eDest,iParm,pWInfo->iContinue,pWInfo->iBreak)' is always false [knownConditionTrueFalse] DBD-SQLite2-0.38/select.c:2335:24: note: Calling function 'selectInnerLoop' returns 0 DBD-SQLite2-0.38/select.c:2335:24: note: Condition 'selectInnerLoop(pParse,p,pEList,0,0,pOrderBy,distinct,eDest,iParm,pWInfo->iContinue,pWInfo->iBreak)' is always false DBD-SQLite2-0.38/select.c:2394:24: style: Condition 'selectInnerLoop(pParse,p,pEList,0,0,pOrderBy,distinct,eDest,iParm,startagg,endagg)' is always false [knownConditionTrueFalse] DBD-SQLite2-0.38/select.c:2394:24: note: Calling function 'selectInnerLoop' returns 0 DBD-SQLite2-0.38/select.c:2394:24: note: Condition 'selectInnerLoop(pParse,p,pEList,0,0,pOrderBy,distinct,eDest,iParm,startagg,endagg)' is always false DBD-SQLite2-0.38/select.c:1051:19: warning: Either the condition 'p==0' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] DBD-SQLite2-0.38/select.c:1053:8: note: Assuming that condition 'p==0' is not redundant DBD-SQLite2-0.38/select.c:1051:19: note: Null pointer dereference DBD-SQLite2-0.38/select.c:267:11: style: Local variable 'j' shadows outer variable [shadowVariable] DBD-SQLite2-0.38/select.c:211:10: note: Shadowed declaration DBD-SQLite2-0.38/select.c:267:11: note: Shadow variable DBD-SQLite2-0.38/select.c:969:18: style: Local variable 'pTab' shadows outer variable [shadowVariable] DBD-SQLite2-0.38/select.c:862:10: note: Shadowed declaration DBD-SQLite2-0.38/select.c:969:18: note: Shadow variable DBD-SQLite2-0.38/select.c:83:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/select.c:139:31: style: Parameter 'pTab' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/select.c:223:14: style: Variable 'pTab' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/select.c:372:11: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/select.c:668:11: style: Variable 'zType' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/select.c:706:11: style: Variable 'db' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/select.c:715:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/select.c:720:13: style: Variable 'zName' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/select.c:743:15: style: Variable 'zTab' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/select.c:787:53: style: Parameter 'zTabName' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/select.c:790:13: style: Variable 'pEList' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/select.c:934:11: style: Variable 'pE' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/select.c:1128:15: style: Variable 'zName' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/select.c:1757:11: style: Variable 'pExpr' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/table.c:183:3: error: Address of local auto-variable assigned to a function parameter. [autoVariables] DBD-SQLite2-0.38/table.c:127:15: style:inconclusive: Function 'sqlite_get_table' argument 2 names different: declaration 'sql' definition 'zSql'. [funcArgNamesDifferent] DBD-SQLite2-0.38/sqlite.h:337:15: note: Function 'sqlite_get_table' argument 2 names different: declaration 'sql' definition 'zSql'. DBD-SQLite2-0.38/table.c:127:15: note: Function 'sqlite_get_table' argument 2 names different: declaration 'sql' definition 'zSql'. DBD-SQLite2-0.38/table.c:128:11: style:inconclusive: Function 'sqlite_get_table' argument 3 names different: declaration 'resultp' definition 'pazResult'. [funcArgNamesDifferent] DBD-SQLite2-0.38/sqlite.h:338:11: note: Function 'sqlite_get_table' argument 3 names different: declaration 'resultp' definition 'pazResult'. DBD-SQLite2-0.38/table.c:128:11: note: Function 'sqlite_get_table' argument 3 names different: declaration 'resultp' definition 'pazResult'. DBD-SQLite2-0.38/table.c:129:8: style:inconclusive: Function 'sqlite_get_table' argument 4 names different: declaration 'nrow' definition 'pnRow'. [funcArgNamesDifferent] DBD-SQLite2-0.38/sqlite.h:339:8: note: Function 'sqlite_get_table' argument 4 names different: declaration 'nrow' definition 'pnRow'. DBD-SQLite2-0.38/table.c:129:8: note: Function 'sqlite_get_table' argument 4 names different: declaration 'nrow' definition 'pnRow'. DBD-SQLite2-0.38/table.c:130:8: style:inconclusive: Function 'sqlite_get_table' argument 5 names different: declaration 'ncolumn' definition 'pnColumn'. [funcArgNamesDifferent] DBD-SQLite2-0.38/sqlite.h:340:8: note: Function 'sqlite_get_table' argument 5 names different: declaration 'ncolumn' definition 'pnColumn'. DBD-SQLite2-0.38/table.c:130:8: note: Function 'sqlite_get_table' argument 5 names different: declaration 'ncolumn' definition 'pnColumn'. DBD-SQLite2-0.38/table.c:131:10: style:inconclusive: Function 'sqlite_get_table' argument 6 names different: declaration 'errmsg' definition 'pzErrMsg'. [funcArgNamesDifferent] DBD-SQLite2-0.38/sqlite.h:341:10: note: Function 'sqlite_get_table' argument 6 names different: declaration 'errmsg' definition 'pzErrMsg'. DBD-SQLite2-0.38/table.c:131:10: note: Function 'sqlite_get_table' argument 6 names different: declaration 'errmsg' definition 'pzErrMsg'. DBD-SQLite2-0.38/table.c:193:10: style:inconclusive: Function 'sqlite_free_table' argument 1 names different: declaration 'result' definition 'azResult'. [funcArgNamesDifferent] DBD-SQLite2-0.38/sqlite.h:347:31: note: Function 'sqlite_free_table' argument 1 names different: declaration 'result' definition 'azResult'. DBD-SQLite2-0.38/table.c:193:10: note: Function 'sqlite_free_table' argument 1 names different: declaration 'result' definition 'azResult'. DBD-SQLite2-0.38/tokenize.c:162:9: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] DBD-SQLite2-0.38/tokenize.c:159:7: note: outer condition: needInit DBD-SQLite2-0.38/tokenize.c:162:9: note: identical inner condition: needInit DBD-SQLite2-0.38/tokenize.c:554:33: style:inconclusive: Function 'sqlite_complete' argument 1 names different: declaration 'sql' definition 'zSql'. [funcArgNamesDifferent] DBD-SQLite2-0.38/sqlite.h:256:33: note: Function 'sqlite_complete' argument 1 names different: declaration 'sql' definition 'zSql'. DBD-SQLite2-0.38/tokenize.c:554:33: note: Function 'sqlite_complete' argument 1 names different: declaration 'sql' definition 'zSql'. DBD-SQLite2-0.38/trigger.c:162:10: style: Parameter 'pAll' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/trigger.c:296:10: style: Parameter 'pTableName' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/trigger.c:325:10: style: Parameter 'pTableName' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/trigger.c:348:45: style: Parameter 'pTableName' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/trigger.c:509:58: style: Parameter 'pEList' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/util.c:992:20: style: Variable 'c2' is reassigned a value before the old one has been used. [redundantAssignment] DBD-SQLite2-0.38/util.c:990:14: note: c2 is assigned DBD-SQLite2-0.38/util.c:992:20: note: c2 is overwritten DBD-SQLite2-0.38/util.c:503:27: style: Variable 'a' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/util.c:503:31: style: Variable 'b' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/util.c:510:27: style: Variable 'a' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/util.c:510:31: style: Variable 'b' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/vdbe.c:389:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/vdbe.c:800:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/vdbe.c:2697:14: style: Local variable 'rc' shadows outer variable [shadowVariable] DBD-SQLite2-0.38/vdbe.c:490:7: note: Shadowed declaration DBD-SQLite2-0.38/vdbe.c:2697:14: note: Shadow variable DBD-SQLite2-0.38/vdbe.c:3567:14: style: Local variable 'rc' shadows outer variable [shadowVariable] DBD-SQLite2-0.38/vdbe.c:490:7: note: Shadowed declaration DBD-SQLite2-0.38/vdbe.c:3567:14: note: Shadow variable DBD-SQLite2-0.38/vdbe.c:4194:11: style: Local variable 'c' shadows outer variable [shadowVariable] DBD-SQLite2-0.38/vdbe.c:4163:26: note: Shadowed declaration DBD-SQLite2-0.38/vdbe.c:4194:11: note: Shadow variable DBD-SQLite2-0.38/vdbe.c:4828:16: style: Local variable 'zBuf' shadows outer variable [shadowVariable] DBD-SQLite2-0.38/vdbe.c:493:8: note: Shadowed declaration DBD-SQLite2-0.38/vdbe.c:4828:16: note: Shadow variable DBD-SQLite2-0.38/vdbe.c:156:36: style: Parameter 'zKey' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/vdbe.c:760:8: style: Variable 'pFrom' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/vdbe.c:906:9: style: Variable 'zSep' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/vdbe.c:4164:9: style: Variable 'zDelim' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/vdbe.c:4537:8: style: Variable 'pMem' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/vdbe.c:2836:9: style: Variable 'cnt' is assigned a value that is never used. [unreadVariable] DBD-SQLite2-0.38/vdbeaux.c:519:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/vdbeaux.c:790:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] DBD-SQLite2-0.38/vdbeaux.c:246:11: warning: Either the condition 'p' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] DBD-SQLite2-0.38/vdbeaux.c:247:7: note: Assuming that condition 'p' is not redundant DBD-SQLite2-0.38/vdbeaux.c:246:11: note: Null pointer dereference DBD-SQLite2-0.38/vdbeaux.c:258:11: warning: Either the condition 'p' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] DBD-SQLite2-0.38/vdbeaux.c:259:7: note: Assuming that condition 'p' is not redundant DBD-SQLite2-0.38/vdbeaux.c:258:11: note: Null pointer dereference DBD-SQLite2-0.38/vdbeaux.c:283:11: warning: Either the condition 'p==0' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] DBD-SQLite2-0.38/vdbeaux.c:284:8: note: Assuming that condition 'p==0' is not redundant DBD-SQLite2-0.38/vdbeaux.c:283:11: note: Null pointer dereference DBD-SQLite2-0.38/vdbeaux.c:245:48: style:inconclusive: Function 'sqliteVdbeChangeP1' argument 3 names different: declaration 'P1' definition 'val'. [funcArgNamesDifferent] DBD-SQLite2-0.38/vdbe.h:93:46: note: Function 'sqliteVdbeChangeP1' argument 3 names different: declaration 'P1' definition 'val'. DBD-SQLite2-0.38/vdbeaux.c:245:48: note: Function 'sqliteVdbeChangeP1' argument 3 names different: declaration 'P1' definition 'val'. DBD-SQLite2-0.38/vdbeaux.c:256:48: style:inconclusive: Function 'sqliteVdbeChangeP2' argument 3 names different: declaration 'P2' definition 'val'. [funcArgNamesDifferent] DBD-SQLite2-0.38/vdbe.h:94:46: note: Function 'sqliteVdbeChangeP2' argument 3 names different: declaration 'P2' definition 'val'. DBD-SQLite2-0.38/vdbeaux.c:256:48: note: Function 'sqliteVdbeChangeP2' argument 3 names different: declaration 'P2' definition 'val'. DBD-SQLite2-0.38/vdbeaux.c:281:56: style:inconclusive: Function 'sqliteVdbeChangeP3' argument 3 names different: declaration 'zP1' definition 'zP3'. [funcArgNamesDifferent] DBD-SQLite2-0.38/vdbe.h:95:54: note: Function 'sqliteVdbeChangeP3' argument 3 names different: declaration 'zP1' definition 'zP3'. DBD-SQLite2-0.38/vdbeaux.c:281:56: note: Function 'sqliteVdbeChangeP3' argument 3 names different: declaration 'zP1' definition 'zP3'. DBD-SQLite2-0.38/vdbeaux.c:281:65: style:inconclusive: Function 'sqliteVdbeChangeP3' argument 4 names different: declaration 'N' definition 'n'. [funcArgNamesDifferent] DBD-SQLite2-0.38/vdbe.h:95:63: note: Function 'sqliteVdbeChangeP3' argument 4 names different: declaration 'N' definition 'n'. DBD-SQLite2-0.38/vdbeaux.c:281:65: note: Function 'sqliteVdbeChangeP3' argument 4 names different: declaration 'N' definition 'n'. DBD-SQLite2-0.38/vdbeaux.c:480:52: style:inconclusive: Function 'sqlite_aggregate_context' argument 2 names different: declaration 'nBytes' definition 'nByte'. [funcArgNamesDifferent] DBD-SQLite2-0.38/sqlite.h:525:50: note: Function 'sqlite_aggregate_context' argument 2 names different: declaration 'nBytes' definition 'nByte'. DBD-SQLite2-0.38/vdbeaux.c:480:52: note: Function 'sqlite_aggregate_context' argument 2 names different: declaration 'nBytes' definition 'nByte'. DBD-SQLite2-0.38/vdbeaux.c:948:37: style:inconclusive: Function 'sqlite_bind' argument 2 names different: declaration 'idx' definition 'i'. [funcArgNamesDifferent] DBD-SQLite2-0.38/sqlite.h:756:33: note: Function 'sqlite_bind' argument 2 names different: declaration 'idx' definition 'i'. DBD-SQLite2-0.38/vdbeaux.c:948:37: note: Function 'sqlite_bind' argument 2 names different: declaration 'idx' definition 'i'. DBD-SQLite2-0.38/vdbeaux.c:948:52: style:inconclusive: Function 'sqlite_bind' argument 3 names different: declaration 'value' definition 'zVal'. [funcArgNamesDifferent] DBD-SQLite2-0.38/sqlite.h:756:50: note: Function 'sqlite_bind' argument 3 names different: declaration 'value' definition 'zVal'. DBD-SQLite2-0.38/vdbeaux.c:948:52: note: Function 'sqlite_bind' argument 3 names different: declaration 'value' definition 'zVal'. DBD-SQLite2-0.38/vdbeaux.c:192:33: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/vdbeaux.c:372:28: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/vdbeaux.c:511:9: style: Variable 'zP3' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/vdbeaux.c:418:7: style: Variable 'n' is assigned a value that is never used. [unreadVariable] DBD-SQLite2-0.38/where.c:216:10: style: Parameter 'pPreferredIdx' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/where.c:229:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/where.c:296:37: style: Parameter 'pLevel' can be declared as pointer to const [constParameterPointer] DBD-SQLite2-0.38/where.c:297:9: style: Variable 'pExpr' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/where.c:702:12: style: Variable 'pTab' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/where.c:703:12: style: Variable 'pIx' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/where.c:1193:15: style: Variable 'pLevel' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/where.c:1219:12: style: Variable 'pTab' can be declared as pointer to const [constVariablePointer] DBD-SQLite2-0.38/where.c:1179:19: warning: Uninitialized variable: haveKey [uninitvar] DBD-SQLite2-0.38/where.c:720:13: note: Assuming condition is false DBD-SQLite2-0.38/where.c:1179:19: note: Uninitialized variable: haveKey DBD-SQLite2-0.38/delete.c:42:7: warning: Null pointer dereference: pTab [ctunullpointer] DBD-SQLite2-0.38/insert.c:150:11: note: Assuming that condition 'pTab==0' is not redundant DBD-SQLite2-0.38/insert.c:147:23: note: Calling function sqliteIsReadOnly, 2nd argument is null DBD-SQLite2-0.38/delete.c:42:7: note: Dereferencing argument pTab that is null diff: 2.17.0 DBD-SQLite2-0.38/date.c:859:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable juliandayFunc [valueFlowBailoutIncompleteVar] head DBD-SQLite2-0.38/dbdimp.c:628:11: style: Variable 'key' is assigned a value that is never used. [unreadVariable] 2.17.0 DBD-SQLite2-0.38/func.c:571:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minmaxFunc [valueFlowBailoutIncompleteVar] head DBD-SQLite2-0.38/func.c:630:23: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head DBD-SQLite2-0.38/func.c:643:23: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] DONE