2025-07-04 02:44 ftp://ftp.de.debian.org/debian/pool/main/l/ldb/ldb_2.2.3.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=python --library=bsd --library=sqlite3 --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: a214e76 (2025-07-03 20:23:32 +0200) count: 2018 2017 elapsed-time: 105.0 95.0 head-timing-info: old-timing-info: head results: ldb-2.2.3/common/attrib_handlers.c:66:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_DEBUG_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/attrib_handlers.c:108:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_INVALID_ATTRIBUTE_SYNTAX [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/attrib_handlers.c:132:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/attrib_handlers.c:215:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/attrib_handlers.c:425:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_INVALID_DN_SYNTAX [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/attrib_handlers.c:489:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/attrib_handlers.c:510:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/attrib_handlers.c:603:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/attrib_handlers.c:627:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/attrib_handlers.c:286:55: style: Parameter 'ldb' can be declared as pointer to const. However it seems that 'ldb_comparison_Boolean' is a callback function, if 'ldb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/common/attrib_handlers.c:588:22: note: You might need to cast the function pointer here ldb-2.2.3/common/attrib_handlers.c:286:55: note: Parameter 'ldb' can be declared as pointer to const ldb-2.2.3/common/attrib_handlers.c:286:66: style: Parameter 'mem_ctx' can be declared as pointer to const. However it seems that 'ldb_comparison_Boolean' is a callback function, if 'mem_ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/common/attrib_handlers.c:588:22: note: You might need to cast the function pointer here ldb-2.2.3/common/attrib_handlers.c:286:66: note: Parameter 'mem_ctx' can be declared as pointer to const ldb-2.2.3/common/attrib_handlers.c:299:47: style: Parameter 'ldb' can be declared as pointer to const. However it seems that 'ldb_comparison_binary' is a callback function, if 'ldb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/common/attrib_handlers.c:546:22: note: You might need to cast the function pointer here ldb-2.2.3/common/attrib_handlers.c:299:47: note: Parameter 'ldb' can be declared as pointer to const ldb-2.2.3/common/attrib_handlers.c:299:58: style: Parameter 'mem_ctx' can be declared as pointer to const. However it seems that 'ldb_comparison_binary' is a callback function, if 'mem_ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/common/attrib_handlers.c:546:22: note: You might need to cast the function pointer here ldb-2.2.3/common/attrib_handlers.c:299:58: note: Parameter 'mem_ctx' can be declared as pointer to const ldb-2.2.3/common/attrib_handlers.c:596:81: style: Parameter 'ldb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/common/ldb.c:41:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_context [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:61:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_context [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:97:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_MODULESDIR [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:168:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SCOPE_BASE [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:209:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_dn [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:215:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_dn [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:221:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_dn [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:227:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_dn [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:253:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:307:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_FLG_ENABLE_TRACING [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:365:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_DEBUG_TRACE [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:414:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:472:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:525:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_DEBUG_TRACE [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:569:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:580:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:603:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_UNAVAILABLE [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:695:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:712:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:729:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_handle [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:762:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_handle [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:864:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SCOPE_BASE [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:968:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:998:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_FLG_ENABLE_TRACING [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:1035:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:1092:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:1137:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_UNWILLING_TO_PERFORM [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:1264:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ASYNC_DONE [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:1283:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_result [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:1345:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_result [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:1392:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:1467:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:1508:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:1537:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:1563:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:1590:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:1617:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:1632:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_result [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:1674:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:1696:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_result [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:1748:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_result [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:1807:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:1838:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:1876:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:1903:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:1930:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:2079:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:2152:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_HANDLE_FLAG_UNTRUSTED [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:2160:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_HANDLE_FLAG_UNTRUSTED [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:2200:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_HANDLE_FLAG_UNTRUSTED [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb.c:383:11: warning: Either the condition 'next_module' is redundant or there is possible null pointer dereference: next_module. [nullPointerRedundantCheck] ldb-2.2.3/common/ldb.c:393:8: note: Assuming that condition 'next_module' is not redundant ldb-2.2.3/common/ldb.c:383:11: note: Null pointer dereference ldb-2.2.3/common/ldb.c:445:3: warning: Either the condition 'next_module' is redundant or there is possible null pointer dereference: next_module. [nullPointerRedundantCheck] ldb-2.2.3/common/ldb.c:453:8: note: Assuming that condition 'next_module' is not redundant ldb-2.2.3/common/ldb.c:445:3: note: Null pointer dereference ldb-2.2.3/common/ldb.c:497:11: warning: Either the condition 'next_module' is redundant or there is possible null pointer dereference: next_module. [nullPointerRedundantCheck] ldb-2.2.3/common/ldb.c:506:8: note: Assuming that condition 'next_module' is not redundant ldb-2.2.3/common/ldb.c:497:11: note: Null pointer dereference ldb-2.2.3/common/ldb.c:543:11: warning: Either the condition 'next_module' is redundant or there is possible null pointer dereference: next_module. [nullPointerRedundantCheck] ldb-2.2.3/common/ldb.c:552:8: note: Assuming that condition 'next_module' is not redundant ldb-2.2.3/common/ldb.c:543:11: note: Null pointer dereference ldb-2.2.3/common/ldb.c:691:41: style: Parameter 'ldb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/common/ldb.c:709:27: style: Parameter 'oldreq' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/common/ldb.c:790:55: style: Parameter 'ldb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/common/ldb.c:800:67: style: Parameter 'ldb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/common/ldb.c:1920:28: style: Variable 'seqr' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/common/ldb.c:2098:42: style: Parameter 'ldb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/common/ldb.c:2116:48: style: Parameter 'ldb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/common/ldb_attributes.c:58:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ATTR_FLAG_ALLOCATED [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_attributes.c:91:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_attributes.c:177:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_attributes.c:236:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ATTR_FLAG_FIXED [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_attributes.c:266:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ATTR_FLAG_FIXED [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_attributes.c:307:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SYNTAX_DN [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_attributes.c:340:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_attributes.c:368:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_controls.c:44:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable oid [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_controls.c:63:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable oid [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_controls.c:175:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable critical [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_controls.c:191:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable oid [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_controls.c:229:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable oid [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_controls.c:262:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_ATTRIBUTE_OR_VALUE_EXISTS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_controls.c:286:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_CONTROL_PAGED_RESULTS_OID [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_controls.c:472:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_control [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_controls.c:573:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] ldb-2.2.3/common/ldb_controls.c:81:43: style: Parameter 'exclude' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/common/ldb_controls.c:125:33: style: Parameter 'exclude' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/common/ldb_debug.c:57:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_DEBUG_WARNING [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_debug.c:68:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_debug.c:87:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_FLG_ENABLE_TRACING [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_dn.c:107:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_context [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_dn.c:416:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_dn.c:784:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable length [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_dn.c:870:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_dn.c:973:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_dn.c:1007:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable length [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_dn.c:1106:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_dn.c:1183:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_dn.c:1311:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_dn.c:1415:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_dn.c:1549:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_dn.c:1653:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_dn.c:1675:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_dn.c:1717:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_dn.c:1764:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_dn.c:1957:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OTHER [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_dn.c:2045:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OTHER [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_dn.c:2169:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_dn.c:2204:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_dn.c:624:12: style: The statement 'if (t!=NULL) t=NULL' is logically equivalent to 't=NULL'. [duplicateConditionalAssign] ldb-2.2.3/common/ldb_dn.c:625:9: note: Assignment 't=NULL' ldb-2.2.3/common/ldb_dn.c:624:12: note: Condition 't!=NULL' is redundant ldb-2.2.3/common/ldb_dn.c:647:11: style: The statement 'if (t!=NULL) t=NULL' is logically equivalent to 't=NULL'. [duplicateConditionalAssign] ldb-2.2.3/common/ldb_dn.c:648:8: note: Assignment 't=NULL' ldb-2.2.3/common/ldb_dn.c:647:11: note: Condition 't!=NULL' is redundant ldb-2.2.3/common/ldb_dn.c:663:11: style: The statement 'if (t!=NULL) t=NULL' is logically equivalent to 't=NULL'. [duplicateConditionalAssign] ldb-2.2.3/common/ldb_dn.c:664:8: note: Assignment 't=NULL' ldb-2.2.3/common/ldb_dn.c:663:11: note: Condition 't!=NULL' is redundant ldb-2.2.3/common/ldb_dn.c:684:12: style: The statement 'if (t!=NULL) t=NULL' is logically equivalent to 't=NULL'. [duplicateConditionalAssign] ldb-2.2.3/common/ldb_dn.c:685:9: note: Assignment 't=NULL' ldb-2.2.3/common/ldb_dn.c:684:12: note: Condition 't!=NULL' is redundant ldb-2.2.3/common/ldb_dn.c:695:12: style: The statement 'if (t!=NULL) t=NULL' is logically equivalent to 't=NULL'. [duplicateConditionalAssign] ldb-2.2.3/common/ldb_dn.c:696:9: note: Assignment 't=NULL' ldb-2.2.3/common/ldb_dn.c:695:12: note: Condition 't!=NULL' is redundant ldb-2.2.3/common/ldb_dn.c:285:63: style: Variable 't' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/common/ldb_dn.c:762:12: style: Variable 'n' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/common/ldb_dn.c:982:12: style: Variable 'n' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/common/ldb_dn.c:1103:9: style: Variable 'b_name' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/common/ldb_dn.c:1104:9: style: Variable 'dn_name' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/common/ldb_dn.c:1106:9: style: Variable 'b_vdata' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/common/ldb_dn.c:1107:9: style: Variable 'dn_vdata' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/common/ldb_dn.c:1180:9: style: Variable 'dn0_name' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/common/ldb_dn.c:1181:9: style: Variable 'dn1_name' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/common/ldb_dn.c:1183:9: style: Variable 'dn0_vdata' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/common/ldb_dn.c:1184:9: style: Variable 'dn1_vdata' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/common/ldb_dn.c:2126:37: style: Parameter 'dn' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/common/ldb_dn.c:2132:39: style: Parameter 'dn' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/common/ldb_dn.c:2138:41: style: Parameter 'dn' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/common/ldb_dn.c:2145:42: style: Parameter 'dn' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/common/ldb_dn.c:2235:59: style: Parameter 'dn' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/common/ldb_ldif.c:54:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_INVALID_ATTRIBUTE_SYNTAX [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_ldif.c:288:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SECRET_ATTRIBUTE_LIST_OPAQUE [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_ldif.c:445:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_ldif.c:601:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_DEBUG_FATAL [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_ldif.c:778:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_ldif [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_ldif.c:976:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_ldif.c:1084:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_message [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_ldif.c:1105:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_message [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_ldif.c:112:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/common/ldb_ldif.c:188:47: style: Parameter 'ldb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/common/ldb_ldif.c:191:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/common/ldb_match.c:92:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_match.c:132:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_OP_APPROX [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_match.c:193:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_INVALID_DN_SYNTAX [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_match.c:247:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_OP_SUBSTRING [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_match.c:370:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_match.c:396:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_INVALID_ATTRIBUTE_SYNTAX [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_match.c:443:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_match.c:474:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_match.c:510:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_DEBUG_WARNING [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_match.c:553:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SCOPE_BASE [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_match.c:629:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_match.c:646:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_match.c:661:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_match.c:676:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_extended_match_rule [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_match.c:731:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_ENTRY_ALREADY_EXISTS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_match.c:365:30: style: Variable 'el' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/common/ldb_match.c:448:19: style: Variable 'v' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/common/ldb_match.c:478:95: style: Parameter 'ldb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/common/ldb_modules.c:76:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_DEBUG_FATAL [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_modules.c:153:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_modules.c:216:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_DEBUG_FATAL [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_modules.c:244:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_modules.c:259:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_modules.c:285:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_ENTRY_ALREADY_EXISTS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_modules.c:331:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_DEBUG_FATAL [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_modules.c:364:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_modules.c:406:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SCOPE_BASE [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_modules.c:481:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_module [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_modules.c:529:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_UNWILLING_TO_PERFORM [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_modules.c:623:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_FLG_ENABLE_TRACING [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_modules.c:642:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_FLG_ENABLE_TRACING [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_modules.c:661:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_FLG_ENABLE_TRACING [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_modules.c:684:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_FLG_ENABLE_TRACING [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_modules.c:707:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_FLG_ENABLE_TRACING [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_modules.c:731:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_FLG_ENABLE_TRACING [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_modules.c:763:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_reply [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_modules.c:812:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_reply [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_modules.c:848:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_reply [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_modules.c:884:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_request [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_modules.c:951:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_modules.c:1052:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_modules.c:1110:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_VERSION [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_modules.c:1124:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATIC_ldb_MODULES_PROTO [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_modules.c:1154:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_modules.c:499:59: style: Parameter 'module' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/common/ldb_modules.c:504:68: style: Parameter 'module' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/common/ldb_modules.c:509:49: style: Parameter 'module' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/common/ldb_modules.c:1210:55: style: Parameter 'module' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/common/ldb_modules.c:1237:47: style: Parameter 'ldb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/common/ldb_msg.c:41:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_message [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:52:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:121:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:201:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_MSG_FIND_COMMON_REMOVE_DUPLICATES [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:344:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_message_element [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:371:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:408:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:435:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:468:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:488:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:507:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:525:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:545:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:638:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:668:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:702:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:732:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:764:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:846:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_message [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:889:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_val [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:921:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:941:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:990:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:1023:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:1096:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_INVALID_DN_SYNTAX [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:1193:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:1212:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:1275:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:1315:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_INVALID_ATTRIBUTE_SYNTAX [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:1431:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_CHANGETYPE_NONE [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_msg.c:1255:18: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] ldb-2.2.3/common/ldb_msg.c:1371:18: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] ldb-2.2.3/common/ldb_msg.c:1430:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ldb-2.2.3/common/ldb_msg.c:81:22: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/common/ldb_msg.c:558:36: style: Parameter 'el2' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/common/ldb_msg.c:1011:30: style: Parameter 'msg1' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/common/ldb_msg.c:1208:30: style: Variable 'el' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/common/ldb_msg.c:1255:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/common/ldb_msg.c:1371:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/common/ldb_msg.c:1443:30: style: Variable 'el' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/common/ldb_options.c:49:50: style: Parameter 'ldb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/common/ldb_options.c:104:50: style: Parameter 'ldb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/common/ldb_pack.c:110:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_pack.c:269:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_pack.c:523:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_PACKING_FORMAT [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_pack.c:556:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_pack.c:788:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_pack.c:1048:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_pack.c:1065:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_pack.c:1109:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_pack.c:1175:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_message_element [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_pack.c:118:20: style: Condition 'size+dn_lencount>0' is always true [knownConditionTrueFalse] ldb-2.2.3/ldb_key_value/ldb_kv_index.c:725:18: note: Assuming that condition 'list->count==0' is not redundant ldb-2.2.3/ldb_key_value/ldb_kv_index.c:750:18: note: Condition 'list->count>0' is always true ldb-2.2.3/ldb_key_value/ldb_kv_index.c:585:23: style:inconclusive: Function 'ldb_kv_key_dn_from_idx' argument 5 names different: declaration 'key' definition 'ldb_key'. [funcArgNamesDifferent] ldb-2.2.3/ldb_key_value/ldb_kv.h:276:22: note: Function 'ldb_kv_key_dn_from_idx' argument 5 names different: declaration 'key' definition 'ldb_key'. ldb-2.2.3/ldb_key_value/ldb_kv_index.c:585:23: note: Function 'ldb_kv_key_dn_from_idx' argument 5 names different: declaration 'key' definition 'ldb_key'. ldb-2.2.3/ldb_key_value/ldb_kv_index.c:2458:56: style:inconclusive: Function 'ldb_kv_dn_list_sort' argument 1 names different: declaration 'ldb_kv' definition 'ltdb'. [funcArgNamesDifferent] ldb-2.2.3/ldb_key_value/ldb_kv_index.c:189:56: note: Function 'ldb_kv_dn_list_sort' argument 1 names different: declaration 'ldb_kv' definition 'ltdb'. ldb-2.2.3/ldb_key_value/ldb_kv_index.c:2458:56: note: Function 'ldb_kv_dn_list_sort' argument 1 names different: declaration 'ldb_kv' definition 'ltdb'. ldb-2.2.3/ldb_key_value/ldb_kv_index.c:2479:50: style:inconclusive: Function 'ldb_kv_search_indexed' argument 1 names different: declaration 'ctx' definition 'ac'. [funcArgNamesDifferent] ldb-2.2.3/ldb_key_value/ldb_kv.h:246:50: note: Function 'ldb_kv_search_indexed' argument 1 names different: declaration 'ctx' definition 'ac'. ldb-2.2.3/ldb_key_value/ldb_kv_index.c:2479:50: note: Function 'ldb_kv_search_indexed' argument 1 names different: declaration 'ctx' definition 'ac'. ldb-2.2.3/ldb_key_value/ldb_kv_index.c:199:62: style: Parameter 'ldb_kv' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/ldb_key_value/ldb_kv_index.c:271:59: style: Parameter 'ldb_kv' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/ldb_key_value/ldb_kv_index.c:307:24: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/ldb_key_value/ldb_kv_index.c:711:33: style: Parameter 'ldb_kv' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/ldb_key_value/ldb_kv_index.c:1624:60: style: Parameter 'module' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/ldb_key_value/ldb_kv_index.c:1625:43: style: Parameter 'ldb_kv' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/ldb_key_value/ldb_kv_index.c:1627:36: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/ldb_key_value/ldb_kv_index.c:2458:56: style: Parameter 'ltdb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/ldb_key_value/ldb_kv_search.c:52:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_NO_SUCH_OBJECT [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_key_value/ldb_kv_search.c:119:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_UNPACK_DATA_FLAG_READ_LOCKED [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_key_value/ldb_kv_search.c:199:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_key_value/ldb_kv_search.c:242:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_INVALID_DN_SYNTAX [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_key_value/ldb_kv_search.c:346:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_key_value/ldb_kv_search.c:439:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_key_value/ldb_kv_search.c:472:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_key_value/ldb_kv_search.c:591:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ASYNC_PENDING [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_key_value/ldb_kv_search.c:460:65: style: Parameter 'ldb_kv' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/ldb_ldap/ldb_ldap.c:82:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_ldap/ldb_ldap.c:154:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_ldap/ldb_ldap.c:201:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_ldap/ldb_ldap.c:278:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ASYNC_PENDING [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_ldap/ldb_ldap.c:317:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ASYNC_PENDING [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_ldap/ldb_ldap.c:355:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ASYNC_PENDING [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_ldap/ldb_ldap.c:389:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ASYNC_PENDING [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_ldap/ldb_ldap.c:429:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_ldap/ldb_ldap.c:436:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_ldap/ldb_ldap.c:443:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_ldap/ldb_ldap.c:454:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_reply [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_ldap/ldb_ldap.c:505:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_ldap/ldb_ldap.c:758:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_TIME_LIMIT_EXCEEDED [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_ldap/ldb_ldap.c:870:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_ldap/ldb_ldap.c:912:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_ldap/ldb_ldap.c:962:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_ldap/ldb_ldap.c:425:48: style: Parameter 'module' can be declared as pointer to const. However it seems that 'lldb_start_trans' is a callback function, if 'module' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/ldb_ldap/ldb_ldap.c:843:23: note: You might need to cast the function pointer here ldb-2.2.3/ldb_ldap/ldb_ldap.c:425:48: note: Parameter 'module' can be declared as pointer to const ldb-2.2.3/ldb_ldap/ldb_ldap.c:432:46: style: Parameter 'module' can be declared as pointer to const. However it seems that 'lldb_end_trans' is a callback function, if 'module' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/ldb_ldap/ldb_ldap.c:844:23: note: You might need to cast the function pointer here ldb-2.2.3/ldb_ldap/ldb_ldap.c:432:46: note: Parameter 'module' can be declared as pointer to const ldb-2.2.3/ldb_ldap/ldb_ldap.c:439:46: style: Parameter 'module' can be declared as pointer to const. However it seems that 'lldb_del_trans' is a callback function, if 'module' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/ldb_ldap/ldb_ldap.c:845:23: note: You might need to cast the function pointer here ldb-2.2.3/ldb_ldap/ldb_ldap.c:439:46: note: Parameter 'module' can be declared as pointer to const ldb-2.2.3/ldb_ldap/ldb_ldap.c:667:23: style: Variable 'lte' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/ldb_ldap/ldb_ldap.c:749:23: style: Variable 'te' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/ldb_ldb/ldb_ldb.c:43:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_DEBUG_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map.c:227:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map.c:368:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_MAP_IGNORE [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map.c:403:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_MAP_KEEP [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map.c:442:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_MAP_CONVERT [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map.c:453:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_MAP_CONVERT [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map.c:506:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_MAP_KEEP [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map.c:583:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_MAP_KEEP [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map.c:743:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_message_element [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map.c:822:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_message_element [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map.c:908:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SCOPE_BASE [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map.c:962:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map.c:1023:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map.c:1079:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map.c:1128:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_inbound.c:43:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_message_element [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_inbound.c:77:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_DEBUG_WARNING [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_inbound.c:158:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_inbound.c:180:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_inbound.c:224:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_inbound.c:290:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_inbound.c:316:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_inbound.c:350:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_inbound.c:394:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_inbound.c:468:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_inbound.c:505:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_inbound.c:574:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_inbound.c:638:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_inbound.c:692:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_inbound.c:727:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_AFFECTS_MULTIPLE_DSAS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_inbound.c:788:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_inbound.c:809:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_inbound.c:843:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_outbound.c:101:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_outbound.c:199:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_outbound.c:234:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_message_element [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_outbound.c:293:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_outbound.c:381:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_MAP_KEEP [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_outbound.c:430:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_outbound.c:463:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_NO_SUCH_ATTRIBUTE [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_outbound.c:483:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_REPLY_ENTRY [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_outbound.c:589:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_parse_tree [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_outbound.c:621:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_parse_tree [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_outbound.c:670:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_parse_tree [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_outbound.c:688:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_OP_NOT [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_outbound.c:713:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_parse_tree [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_outbound.c:745:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_parse_tree [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_outbound.c:796:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_parse_tree [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_outbound.c:910:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_OP_NOT [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_outbound.c:1045:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_outbound.c:1065:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_outbound.c:1097:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_outbound.c:1162:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_outbound.c:1245:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_outbound.c:1316:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_outbound.c:1346:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_map/ldb_map_outbound.c:994:11: style: Condition 'ret==0' is always true [knownConditionTrueFalse] ldb-2.2.3/ldb_map/ldb_map_outbound.c:992:28: note: Calling function 'map_attrs_partition' returns 0 ldb-2.2.3/ldb_map/ldb_map_outbound.c:992:28: note: Assignment 'ret=map_attrs_partition(module,ac,&local_attrs,&remote_attrs,search_attrs)', assigned value is 0 ldb-2.2.3/ldb_map/ldb_map_outbound.c:994:11: note: Condition 'ret==0' is always true ldb-2.2.3/ldb_map/ldb_map_outbound.c:1032:10: style: Condition 'ret==0' is always true [knownConditionTrueFalse] ldb-2.2.3/ldb_map/ldb_map_outbound.c:1029:27: note: Calling function 'map_attrs_partition' returns 0 ldb-2.2.3/ldb_map/ldb_map_outbound.c:1029:27: note: Assignment 'ret=map_attrs_partition(module,ac,&local_attrs,&remote_attrs,tree_attrs)', assigned value is 0 ldb-2.2.3/ldb_map/ldb_map_outbound.c:1032:10: note: Condition 'ret==0' is always true ldb-2.2.3/ldb_map/ldb_map_outbound.c:248:29: style: Variable 'am' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/ldb_map/ldb_map_outbound.c:285:30: style: Variable 'old' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/ldb_map/ldb_map_outbound.c:285:36: style: Variable 'el' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/ldb_map/ldb_map_outbound.c:376:30: style: Variable 'el' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/ldb_mdb/ldb_mdb.c:40:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_mdb/ldb_mdb.c:145:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_BAD_TXN [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_mdb/ldb_mdb.c:163:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_UNWILLING_TO_PERFORM [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_mdb/ldb_mdb.c:217:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_UNWILLING_TO_PERFORM [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_mdb/ldb_mdb.c:256:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_DEBUG_FATAL [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_mdb/ldb_mdb.c:321:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_mdb/ldb_mdb.c:397:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_DEBUG_FATAL [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_mdb/ldb_mdb.c:453:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_DEBUG_FATAL [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_mdb/ldb_mdb.c:573:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_mdb/ldb_mdb.c:609:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_mdb/ldb_mdb.c:625:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_UNWILLING_TO_PERFORM [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_mdb/ldb_mdb.c:682:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_mdb/ldb_mdb.c:693:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_mdb/ldb_mdb.c:703:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_mdb/ldb_mdb.c:906:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_NOSUBDIR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_mdb/ldb_mdb.c:1048:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_FLG_DONT_CREATE_DB [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_mdb/ldb_mdb.c:1096:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_DEBUG_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_mdb/ldb_mdb.c:100:54: style: Parameter 'ltx' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/ldb_mdb/ldb_mdb.c:690:67: style: Parameter 'ldb_kv' can be declared as pointer to const. However it seems that 'lmdb_transaction_prepare_commit' is a callback function, if 'ldb_kv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/ldb_mdb/ldb_mdb.c:801:24: note: You might need to cast the function pointer here ldb-2.2.3/ldb_mdb/ldb_mdb.c:690:67: note: Parameter 'ldb_kv' can be declared as pointer to const ldb-2.2.3/ldb_mdb/ldb_mdb.c:712:46: style: Parameter 'ldb_kv' can be declared as pointer to const. However it seems that 'lmdb_error' is a callback function, if 'ldb_kv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/ldb_mdb/ldb_mdb.c:804:24: note: You might need to cast the function pointer here ldb-2.2.3/ldb_mdb/ldb_mdb.c:712:46: note: Parameter 'ldb_kv' can be declared as pointer to const ldb-2.2.3/ldb_mdb/ldb_mdb.c:722:53: style: Parameter 'ldb_kv' can be declared as pointer to const. However it seems that 'lmdb_name' is a callback function, if 'ldb_kv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/ldb_mdb/ldb_mdb.c:806:24: note: You might need to cast the function pointer here ldb-2.2.3/ldb_mdb/ldb_mdb.c:722:53: note: Parameter 'ldb_kv' can be declared as pointer to const ldb-2.2.3/ldb_mdb/ldb_mdb.c:727:49: style: Parameter 'ldb_kv' can be declared as pointer to const. However it seems that 'lmdb_changed' is a callback function, if 'ldb_kv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/ldb_mdb/ldb_mdb.c:807:24: note: You might need to cast the function pointer here ldb-2.2.3/ldb_mdb/ldb_mdb.c:727:49: note: Parameter 'ldb_kv' can be declared as pointer to const ldb-2.2.3/ldb_mdb/ldb_mdb.c:881:30: style: struct member 'mdb_env_wrap::prev' is never used. [unusedStructMember] ldb-2.2.3/ldb_mdb/ldb_mdb.c:368:15: style: Variable 'copy.length' is assigned a value that is never used. [unreadVariable] ldb-2.2.3/ldb_sqlite3/base160.c:118:21: style: Variable 'pTab' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/ldb_sqlite3/base160.c:125:14: style: Variable 'len' is assigned a value that is never used. [unreadVariable] ldb-2.2.3/ldb_sqlite3/ldb_sqlite3.c:158:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_sqlite3/ldb_sqlite3.c:353:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_sqlite3/ldb_sqlite3.c:694:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_sqlite3/ldb_sqlite3.c:832:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SCOPE_BASE [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_sqlite3/ldb_sqlite3.c:1021:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_UNWILLING_TO_PERFORM [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_sqlite3/ldb_sqlite3.c:1131:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_UNWILLING_TO_PERFORM [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_sqlite3/ldb_sqlite3.c:1319:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_sqlite3/ldb_sqlite3.c:1365:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_sqlite3/ldb_sqlite3.c:1478:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_sqlite3/ldb_sqlite3.c:1502:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_TIME_LIMIT_EXCEEDED [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_sqlite3/ldb_sqlite3.c:1538:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_PROTOCOL_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_sqlite3/ldb_sqlite3.c:1557:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_UNSUPPORTED_CRITICAL_EXTENSION [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_sqlite3/ldb_sqlite3.c:1744:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_FLG_NOSYNC [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_sqlite3/ldb_sqlite3.c:1900:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_sqlite3/ldb_sqlite3.c:503:28: style: Obsolete function 'sqlite3_prepare' called. It is recommended to use 'sqlite3_prepare_v2' instead. [prohibitedsqlite3_prepareCalled] ldb-2.2.3/ldb_sqlite3/ldb_sqlite3.c:200:30: style: Condition 'pBase160==NULL' is always false [knownConditionTrueFalse] ldb-2.2.3/ldb_sqlite3/ldb_sqlite3.c:188:28: style: Variable 'pTab' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/ldb_sqlite3/ldb_sqlite3.c:759:8: style: Variable 'query' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/ldb_sqlite3/ldb_sqlite3.c:786:8: style: Variable 'cdn' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/ldb_sqlite3/ldb_sqlite3.c:823:8: style: Variable 'query' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/ldb_sqlite3/ldb_sqlite3.c:1001:8: style: Variable 'query' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/ldb_sqlite3/ldb_sqlite3.c:1078:10: style: Variable 'insert' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/ldb_sqlite3/ldb_sqlite3.c:1144:9: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/ldb_sqlite3/ldb_sqlite3.c:1310:8: style: Variable 'query' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/ldb_sqlite3/ldb_sqlite3.c:1353:8: style: Variable 'query' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/ldb_sqlite3/ldb_sqlite3.c:1553:23: style: Variable 'te' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/ldb_sqlite3/ldb_sqlite3.c:1624:15: style: Variable 'schema' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/ldb_tdb/ldb_tdb.c:71:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_tdb/ldb_tdb.c:111:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_tdb/ldb_tdb.c:143:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_PROTOCOL_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_tdb/ldb_tdb.c:166:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_PROTOCOL_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_tdb/ldb_tdb.c:177:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_tdb/ldb_tdb.c:194:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_tdb/ldb_tdb.c:211:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_tdb/ldb_tdb.c:228:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_tdb/ldb_tdb.c:309:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_DEBUG_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_tdb/ldb_tdb.c:374:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_PROTOCOL_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_tdb/ldb_tdb.c:400:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_tdb/ldb_tdb.c:447:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_tdb/ldb_tdb.c:457:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_tdb/ldb_tdb.c:467:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_tdb/ldb_tdb.c:517:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_DEBUG_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_tdb/ldb_tdb.c:387:54: style: Parameter 'ldb_kv' can be declared as pointer to const. However it seems that 'ltdb_iterate_range' is a callback function, if 'ldb_kv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/ldb_tdb/ldb_tdb.c:479:19: note: You might need to cast the function pointer here ldb-2.2.3/ldb_tdb/ldb_tdb.c:387:54: note: Parameter 'ldb_kv' can be declared as pointer to const ldb-2.2.3/ldb_tdb/ldb_tdb.c:391:16: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'ltdb_iterate_range' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/ldb_tdb/ldb_tdb.c:479:19: note: You might need to cast the function pointer here ldb-2.2.3/ldb_tdb/ldb_tdb.c:391:16: note: Parameter 'ctx' can be declared as pointer to const ldb-2.2.3/ldb_tdb/ldb_tdb.c:445:65: style: Parameter 'ldb_kv' can be declared as pointer to const. However it seems that 'ltdb_nested_transaction_start' is a callback function, if 'ldb_kv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/ldb_tdb/ldb_tdb.c:492:24: note: You might need to cast the function pointer here ldb-2.2.3/ldb_tdb/ldb_tdb.c:445:65: note: Parameter 'ldb_kv' can be declared as pointer to const ldb-2.2.3/ldb_tdb/ldb_tdb.c:455:66: style: Parameter 'ldb_kv' can be declared as pointer to const. However it seems that 'ltdb_nested_transaction_commit' is a callback function, if 'ldb_kv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/ldb_tdb/ldb_tdb.c:493:25: note: You might need to cast the function pointer here ldb-2.2.3/ldb_tdb/ldb_tdb.c:455:66: note: Parameter 'ldb_kv' can be declared as pointer to const ldb-2.2.3/ldb_tdb/ldb_tdb.c:465:66: style: Parameter 'ldb_kv' can be declared as pointer to const. However it seems that 'ltdb_nested_transaction_cancel' is a callback function, if 'ldb_kv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/ldb_tdb/ldb_tdb.c:494:24: note: You might need to cast the function pointer here ldb-2.2.3/ldb_tdb/ldb_tdb.c:465:66: note: Parameter 'ldb_kv' can be declared as pointer to const ldb-2.2.3/ldb_tdb/ldb_tdb_err_map.c:62:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_tdb/ldb_tdb_wrap.c:32:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_context [valueFlowBailoutIncompleteVar] ldb-2.2.3/ldb_tdb/ldb_tdb_wrap.c:73:27: style: struct member 'ltdb_wrap::prev' is never used. [unusedStructMember] ldb-2.2.3/lib/replace/replace.h:45:0: error: #error -D__STDC_WANT_LIB_EXT1__=1 required [preprocessorErrorDirective] ldb-2.2.3/lib/replace/replace.h:45:2: error: #error -D__STDC_WANT_LIB_EXT1__=1 required [preprocessorErrorDirective] ldb-2.2.3/lib/replace/tests/getifaddrs.c:42:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/replace/tests/getifaddrs.c:67:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/replace/tests/incoherent_mmap.c:31:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/replace/tests/incoherent_mmap.c:60:10: warning: If memory allocation fails, then there is a possible null pointer dereference: page [nullPointerOutOfMemory] ldb-2.2.3/lib/replace/tests/incoherent_mmap.c:59:16: note: Assuming allocation function fails ldb-2.2.3/lib/replace/tests/incoherent_mmap.c:59:16: note: Assignment 'page=malloc(getpagesize())', assigned value is 0 ldb-2.2.3/lib/replace/tests/incoherent_mmap.c:60:10: note: Null pointer dereference ldb-2.2.3/lib/replace/tests/incoherent_mmap.c:68:8: warning: If memory allocation fails, then there is a possible null pointer dereference: map [nullPointerOutOfMemory] ldb-2.2.3/lib/replace/tests/incoherent_mmap.c:63:13: note: Assuming allocation function fails ldb-2.2.3/lib/replace/tests/incoherent_mmap.c:63:13: note: Assignment 'map=mmap(NULL,getpagesize(),PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)', assigned value is 0 ldb-2.2.3/lib/replace/tests/incoherent_mmap.c:68:8: note: Null pointer dereference ldb-2.2.3/lib/replace/tests/incoherent_mmap.c:16:26: style: Parameter 'argv' can be declared as const array [constParameter] ldb-2.2.3/lib/replace/tests/incoherent_mmap.c:20:26: style: Variable 'map' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/replace/tests/os2_delete.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/replace/tests/os2_delete.c:51:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/replace/tests/os2_delete.c:85:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/replace/tests/os2_delete.c:107:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/replace/tests/os2_delete.c:114:2: warning: Return value of function strcmp() is not used. [ignoredReturnValue] ldb-2.2.3/lib/replace/tests/os2_delete.c:116:2: warning: Return value of function strcmp() is not used. [ignoredReturnValue] ldb-2.2.3/lib/replace/tests/os2_delete.c:55:13: warning: Either the condition 'fd<0' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] ldb-2.2.3/lib/replace/tests/os2_delete.c:52:10: note: Assuming that condition 'fd<0' is not redundant ldb-2.2.3/lib/replace/tests/os2_delete.c:55:13: note: Invalid argument ldb-2.2.3/lib/replace/tests/os2_delete.c:50:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ldb-2.2.3/lib/replace/tests/os2_delete.c:110:2: error: Resource leak: d [resourceLeak] ldb-2.2.3/lib/replace/tests/os2_delete.c:69:23: warning: If resource allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfResources] ldb-2.2.3/lib/replace/tests/os2_delete.c:110:13: note: Assuming allocation function fails ldb-2.2.3/lib/replace/tests/os2_delete.c:110:13: note: Assignment 'd=opendir("test.dir")', assigned value is 0 ldb-2.2.3/lib/replace/tests/os2_delete.c:119:22: note: Calling function 'os2_delete', 1st argument 'd' value is 0 ldb-2.2.3/lib/replace/tests/os2_delete.c:69:23: note: Null pointer dereference ldb-2.2.3/lib/replace/tests/os2_delete.c:71:18: warning: If resource allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfResources] ldb-2.2.3/lib/replace/tests/os2_delete.c:110:13: note: Assuming allocation function fails ldb-2.2.3/lib/replace/tests/os2_delete.c:110:13: note: Assignment 'd=opendir("test.dir")', assigned value is 0 ldb-2.2.3/lib/replace/tests/os2_delete.c:119:22: note: Calling function 'os2_delete', 1st argument 'd' value is 0 ldb-2.2.3/lib/replace/tests/os2_delete.c:71:18: note: Null pointer dereference ldb-2.2.3/lib/replace/tests/os2_delete.c:72:24: warning: If resource allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfResources] ldb-2.2.3/lib/replace/tests/os2_delete.c:110:13: note: Assuming allocation function fails ldb-2.2.3/lib/replace/tests/os2_delete.c:110:13: note: Assignment 'd=opendir("test.dir")', assigned value is 0 ldb-2.2.3/lib/replace/tests/os2_delete.c:119:22: note: Calling function 'os2_delete', 1st argument 'd' value is 0 ldb-2.2.3/lib/replace/tests/os2_delete.c:72:24: note: Null pointer dereference ldb-2.2.3/lib/replace/tests/os2_delete.c:113:15: warning: If resource allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfResources] ldb-2.2.3/lib/replace/tests/os2_delete.c:110:13: note: Assuming allocation function fails ldb-2.2.3/lib/replace/tests/os2_delete.c:110:13: note: Assignment 'd=opendir("test.dir")', assigned value is 0 ldb-2.2.3/lib/replace/tests/os2_delete.c:113:15: note: Null pointer dereference ldb-2.2.3/lib/replace/tests/os2_delete.c:115:15: warning: If resource allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfResources] ldb-2.2.3/lib/replace/tests/os2_delete.c:110:13: note: Assuming allocation function fails ldb-2.2.3/lib/replace/tests/os2_delete.c:110:13: note: Assignment 'd=opendir("test.dir")', assigned value is 0 ldb-2.2.3/lib/replace/tests/os2_delete.c:115:15: note: Null pointer dereference ldb-2.2.3/lib/replace/tests/os2_delete.c:123:11: warning: If resource allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfResources] ldb-2.2.3/lib/replace/tests/os2_delete.c:110:13: note: Assuming allocation function fails ldb-2.2.3/lib/replace/tests/os2_delete.c:110:13: note: Assignment 'd=opendir("test.dir")', assigned value is 0 ldb-2.2.3/lib/replace/tests/os2_delete.c:120:9: note: Assuming condition is false ldb-2.2.3/lib/replace/tests/os2_delete.c:123:11: note: Null pointer dereference ldb-2.2.3/lib/replace/tests/os2_delete.c:65:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/replace/tests/os2_delete.c:99:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/replace/tests/shared_mmap.c:25:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/replace/tests/shared_mmap.c:45:21: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] ldb-2.2.3/lib/replace/tests/shared_mmap.c:40:20: note: Assuming allocation function fails ldb-2.2.3/lib/replace/tests/shared_mmap.c:40:9: note: Assignment 'buf=(int*)mmap(NULL,10000*sizeof(int),PROT_READ|PROT_WRITE,0|MAP_SHARED,fd,0)', assigned value is 0 ldb-2.2.3/lib/replace/tests/shared_mmap.c:45:21: note: Null pointer dereference ldb-2.2.3/lib/replace/tests/shared_mmap.c:49:3: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] ldb-2.2.3/lib/replace/tests/shared_mmap.c:40:20: note: Assuming allocation function fails ldb-2.2.3/lib/replace/tests/shared_mmap.c:40:9: note: Assignment 'buf=(int*)mmap(NULL,10000*sizeof(int),PROT_READ|PROT_WRITE,0|MAP_SHARED,fd,0)', assigned value is 0 ldb-2.2.3/lib/replace/tests/shared_mmap.c:47:13: note: Assuming condition is false ldb-2.2.3/lib/replace/tests/shared_mmap.c:49:3: note: Null pointer dereference ldb-2.2.3/lib/replace/tests/shared_mmap.c:63:2: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] ldb-2.2.3/lib/replace/tests/shared_mmap.c:56:19: note: Assuming allocation function fails ldb-2.2.3/lib/replace/tests/shared_mmap.c:56:8: note: Assignment 'buf=(int*)mmap(NULL,10000*sizeof(int),PROT_READ|PROT_WRITE,0|MAP_SHARED,fd,0)', assigned value is 0 ldb-2.2.3/lib/replace/tests/shared_mmap.c:63:2: note: Null pointer dereference ldb-2.2.3/lib/replace/tests/shared_mmap.c:65:20: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] ldb-2.2.3/lib/replace/tests/shared_mmap.c:56:19: note: Assuming allocation function fails ldb-2.2.3/lib/replace/tests/shared_mmap.c:56:8: note: Assignment 'buf=(int*)mmap(NULL,10000*sizeof(int),PROT_READ|PROT_WRITE,0|MAP_SHARED,fd,0)', assigned value is 0 ldb-2.2.3/lib/replace/tests/shared_mmap.c:65:20: note: Null pointer dereference ldb-2.2.3/lib/replace/tests/shared_mremap.c:30:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/replace/tests/snprintf.c:22:6: warning: %zu in format string (no. 1) requires 'size_t' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ldb-2.2.3/lib/replace/tests/snprintf.c:24:6: warning: %s in format string (no. 1) requires 'char *' but the argument type is 'signed int'. [invalidPrintfArgType_s] ldb-2.2.3/lib/replace/tests/snprintf.c:24:30: error: Null pointer dereference [nullPointer] ldb-2.2.3/lib/replace/tests/strptime.c:77:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable elen [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/replace/tests/strptime.c:29:8: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/replace/tests/testsuite.c:63:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/replace/tests/testsuite.c:182:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/replace/tests/testsuite.c:436:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/replace/tests/testsuite.c:522:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/replace/tests/testsuite.c:621:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/replace/tests/testsuite.c:772:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/replace/tests/testsuite.c:827:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/replace/tests/testsuite.c:882:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/replace/tests/testsuite.c:971:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/replace/tests/testsuite.c:1036:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/replace/tests/testsuite.c:1089:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/replace/tests/testsuite.c:900:6: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] ldb-2.2.3/lib/replace/tests/testsuite.c:916:6: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] ldb-2.2.3/lib/replace/tests/testsuite.c:990:6: style: Obsolescent function 'utimes' called. It is recommended to use 'utimensat' instead. [prohibitedutimesCalled] ldb-2.2.3/lib/replace/tests/testsuite.c:172:3: error: Memory leak: x [memleak] ldb-2.2.3/lib/replace/tests/testsuite.c:266:3: error: Memory leak: x [memleak] ldb-2.2.3/lib/replace/tests/testsuite.c:272:3: error: Memory leak: x [memleak] ldb-2.2.3/lib/replace/tests/testsuite.c:336:3: error: Memory leak: x [memleak] ldb-2.2.3/lib/replace/tests/testsuite.c:338:16: error: Memory leak: x [memleak] ldb-2.2.3/lib/replace/tests/testsuite.c:344:3: error: Memory leak: x [memleak] ldb-2.2.3/lib/replace/tests/testsuite.c:347:2: error: Memory leak: x [memleak] ldb-2.2.3/lib/replace/tests/testsuite.c:169:20: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] ldb-2.2.3/lib/replace/tests/testsuite.c:168:12: note: Assuming allocation function fails ldb-2.2.3/lib/replace/tests/testsuite.c:168:12: note: Assignment 'x=strdup("bla")', assigned value is 0 ldb-2.2.3/lib/replace/tests/testsuite.c:169:20: note: Null pointer dereference ldb-2.2.3/lib/replace/tests/testsuite.c:264:13: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] ldb-2.2.3/lib/replace/tests/testsuite.c:263:13: note: Assuming allocation function fails ldb-2.2.3/lib/replace/tests/testsuite.c:263:13: note: Assignment 'x=strndup("bla",0)', assigned value is 0 ldb-2.2.3/lib/replace/tests/testsuite.c:264:13: note: Null pointer dereference ldb-2.2.3/lib/replace/tests/testsuite.c:270:13: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] ldb-2.2.3/lib/replace/tests/testsuite.c:269:13: note: Assuming allocation function fails ldb-2.2.3/lib/replace/tests/testsuite.c:269:13: note: Assignment 'x=strndup("bla",2)', assigned value is 0 ldb-2.2.3/lib/replace/tests/testsuite.c:270:13: note: Null pointer dereference ldb-2.2.3/lib/replace/tests/testsuite.c:276:13: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] ldb-2.2.3/lib/replace/tests/testsuite.c:275:13: note: Assuming allocation function fails ldb-2.2.3/lib/replace/tests/testsuite.c:275:13: note: Assignment 'x=strndup("bla",10)', assigned value is 0 ldb-2.2.3/lib/replace/tests/testsuite.c:276:13: note: Null pointer dereference ldb-2.2.3/lib/replace/tests/testsuite.c:246:2: style: Variable '_v' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/replace/tests/testsuite.c:247:2: style: Variable '_v' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/replace/tests/testsuite.c:248:2: style: Variable '_v' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/replace/tests/testsuite.c:249:2: style: Variable '_v' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/replace/tests/testsuite.c:250:2: style: Variable '_v' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/replace/tests/testsuite.c:251:2: style: Variable '_v' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/replace/tests/testsuite.c:252:2: style: Variable '_v' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/replace/tests/testsuite.c:253:2: style: Variable '_v' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/replace/tests/testsuite.c:254:2: style: Variable '_v' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/replace/tests/testsuite.c:1030:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/replace/tests/testsuite.c:1139:52: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/talloc/pytalloc.c:45:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/talloc/pytalloc.c:30:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/pytalloc.c:48:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/pytalloc.c:54:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/pytalloc_util.c:144:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/pytalloc_util.c:243:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/pytalloc_util.c:323:51: style:inconclusive: Function '_pytalloc_get_name' argument 1 names different: declaration 'py_obj' definition 'obj'. [funcArgNamesDifferent] ldb-2.2.3/lib/talloc/pytalloc.h:57:42: note: Function '_pytalloc_get_name' argument 1 names different: declaration 'py_obj' definition 'obj'. ldb-2.2.3/lib/talloc/pytalloc_util.c:323:51: note: Function '_pytalloc_get_name' argument 1 names different: declaration 'py_obj' definition 'obj'. ldb-2.2.3/lib/talloc/pytalloc_util.c:233:8: style: Variable 'type_obj' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/talloc/pytalloc_util.c:269:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/talloc/talloc.c:41:0: error: #error "TALLOC_VERSION_MAJOR != TALLOC_BUILD_VERSION_MAJOR" [preprocessorErrorDirective] ldb-2.2.3/lib/talloc/talloc.c:41:2: error: #error "TALLOC_VERSION_MAJOR != TALLOC_BUILD_VERSION_MAJOR" [preprocessorErrorDirective] ldb-2.2.3/lib/talloc/test_magic_differs_helper.c:9:26: style: Parameter 'argv' can be declared as const array [constParameter] ldb-2.2.3/lib/talloc/test_pytalloc.c:34:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/talloc/test_pytalloc.c:41:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/talloc/test_pytalloc.c:49:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/talloc/test_pytalloc.c:56:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/talloc/test_pytalloc.c:222:2: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] ldb-2.2.3/lib/talloc/test_pytalloc.c:226:2: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] ldb-2.2.3/lib/talloc/testsuite.c:134:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:155:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:211:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:263:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:307:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:358:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:405:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:559:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:628:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:692:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable el1 [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:722:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:785:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:808:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:837:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:882:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:940:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:976:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:1021:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:1065:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:1106:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:1139:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:1165:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:1312:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:1395:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:1456:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:1520:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:1549:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:1582:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:1614:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:2047:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:2099:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/talloc/testsuite.c:1412:7: style: Variable 'p1_2' is reassigned a value before the old one has been used. [redundantAssignment] ldb-2.2.3/lib/talloc/testsuite.c:1409:7: note: p1_2 is assigned ldb-2.2.3/lib/talloc/testsuite.c:1412:7: note: p1_2 is overwritten ldb-2.2.3/lib/talloc/testsuite.c:1431:7: style: Variable 'p2_2' is reassigned a value before the old one has been used. [redundantAssignment] ldb-2.2.3/lib/talloc/testsuite.c:1427:7: note: p2_2 is assigned ldb-2.2.3/lib/talloc/testsuite.c:1431:7: note: p2_2 is overwritten ldb-2.2.3/lib/talloc/testsuite.c:52:55: style: Parameter 'tv' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/talloc/testsuite.c:385:34: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'fail_destructor' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/talloc/testsuite.c:445:28: note: You might need to cast the function pointer here ldb-2.2.3/lib/talloc/testsuite.c:385:34: note: Parameter 'ptr' can be declared as pointer to const ldb-2.2.3/lib/talloc/testsuite.c:954:39: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'test_loop_destructor' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/talloc/testsuite.c:973:36: note: You might need to cast the function pointer here ldb-2.2.3/lib/talloc/testsuite.c:954:39: note: Parameter 'ptr' can be declared as pointer to const ldb-2.2.3/lib/talloc/testsuite.c:992:49: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'test_realloc_parent_destructor' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/talloc/testsuite.c:1023:27: note: You might need to cast the function pointer here ldb-2.2.3/lib/talloc/testsuite.c:992:49: note: Parameter 'ptr' can be declared as pointer to const ldb-2.2.3/lib/talloc/testsuite.c:1043:38: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'fail_destructor_str' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/talloc/testsuite.c:1061:32: note: You might need to cast the function pointer here ldb-2.2.3/lib/talloc/testsuite.c:1043:38: note: Parameter 'ptr' can be declared as pointer to const ldb-2.2.3/lib/talloc/testsuite.c:1959:50: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'test_magic_protection_destructor' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/talloc/testsuite.c:1982:29: note: You might need to cast the function pointer here ldb-2.2.3/lib/talloc/testsuite.c:1959:50: note: Parameter 'ptr' can be declared as pointer to const ldb-2.2.3/lib/talloc/testsuite.c:2034:17: style: Variable 'p3' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/talloc/testsuite.c:429:2: warning: String literal compared with variable 'NULL'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] ldb-2.2.3/lib/talloc/testsuite.c:437:2: warning: String literal compared with variable 'NULL'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] ldb-2.2.3/lib/talloc/testsuite.c:492:2: warning: String literal compared with variable 'NULL'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] ldb-2.2.3/lib/talloc/testsuite.c:617:7: style: struct member 'el1::count' is never used. [unusedStructMember] ldb-2.2.3/lib/talloc/testsuite.c:912:9: style: Variable 'p1' is allocated memory that is never used. [unusedAllocatedMemory] ldb-2.2.3/lib/talloc/testsuite.c:913:9: style: Variable 'p2' is allocated memory that is never used. [unusedAllocatedMemory] ldb-2.2.3/lib/talloc/testsuite.c:914:9: style: Variable 'p3' is allocated memory that is never used. [unusedAllocatedMemory] ldb-2.2.3/lib/tdb/common/check.c:38:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_CONVERT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/check.c:80:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_DEBUG_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/check.c:255:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_DEBUG_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/check.c:373:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_CORRUPT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/check.c:152:43: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tdb/common/dump.c:37:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_CONVERT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/dump.c:72:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/dump.c:113:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/dump.c:145:2: warning: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] ldb-2.2.3/lib/tdb/common/error.c:30:55: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tdb/common/error.c:49:55: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tdb/common/freelist.c:33:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_CONVERT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/freelist.c:93:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_DEBUG_FATAL [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/freelist.c:146:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_DEBUG_FATAL [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/freelist.c:249:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_CONVERT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/freelist.c:282:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/freelist.c:604:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/freelist.c:655:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/freelist.c:711:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/freelist.c:138:26: style: Parameter 'right_rec' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tdb/common/freelistcheck.c:60:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/hash.c:235:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALL_THROUGH [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/hash.c:342:50: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tdb/common/io.c:44:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/io.c:63:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/io.c:79:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/io.c:94:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/io.c:127:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/io.c:146:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/io.c:220:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_RDONLY [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/io.c:295:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/io.c:339:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_INTERNAL [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/io.c:361:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_NOMMAP [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/io.c:367:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_INTERNAL [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/io.c:408:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_RDONLY [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/io.c:598:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/io.c:679:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_CONVERT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/io.c:685:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_CONVERT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/io.c:698:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_OOM [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/io.c:750:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_CONVERT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/io.c:789:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_CONVERT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/io.c:190:22: style: Condition 'tdb_munmap(tdb)==-1' is always false [knownConditionTrueFalse] ldb-2.2.3/lib/tdb/common/io.c:190:16: note: Calling function 'tdb_munmap' returns 0 ldb-2.2.3/lib/tdb/common/io.c:190:22: note: Condition 'tdb_munmap(tdb)==-1' is always false ldb-2.2.3/lib/tdb/common/io.c:195:20: style: Condition 'tdb_mmap(tdb)!=0' is always false [knownConditionTrueFalse] ldb-2.2.3/lib/tdb/common/io.c:195:14: note: Calling function 'tdb_mmap' returns 0 ldb-2.2.3/lib/tdb/common/io.c:195:20: note: Condition 'tdb_mmap(tdb)!=0' is always false ldb-2.2.3/lib/tdb/common/io.c:654:21: style: Condition 'tdb_mmap(tdb)!=0' is always false [knownConditionTrueFalse] ldb-2.2.3/lib/tdb/common/io.c:654:15: note: Calling function 'tdb_mmap' returns 0 ldb-2.2.3/lib/tdb/common/io.c:654:21: note: Condition 'tdb_mmap(tdb)!=0' is always false ldb-2.2.3/lib/tdb/common/io.c:39:51: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tdb/common/io.c:117:42: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tdb/common/lock.c:56:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_SETLK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:131:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_UNLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:186:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_NOLOCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:229:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_NOLOCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:264:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:283:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_DEBUG_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:342:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_LOCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:413:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:444:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:502:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_DEBUG_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:521:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_NOLOCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:603:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_LOCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:723:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_LOCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:744:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_LOCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:854:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:864:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:889:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:895:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:903:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:908:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:919:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:937:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:950:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:968:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:1005:25: style: Variable 'lck' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/tdb/common/mutex.c:1035:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_LOCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/mutex.c:1046:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_LOCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/mutex.c:1057:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/mutex.c:1063:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/mutex.c:1069:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/mutex.c:1022:43: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tdb/common/mutex.c:1027:43: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tdb/common/mutex.c:1039:52: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tdb/common/mutex.c:1050:56: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tdb/common/mutex.c:1055:40: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tdb/common/mutex.c:1061:42: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tdb/common/mutex.c:1067:40: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tdb/common/open.c:44:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_CONVERT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/open.c:64:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_OOM [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/open.c:224:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tdb_jenkins_hash [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/open.c:233:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_NOLOCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/open.c:266:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/open.c:797:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_INTERNAL [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/open.c:848:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_INTERNAL [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/open.c:925:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_CLEAR_IF_FIRST [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/open.c:939:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_CLEAR_IF_FIRST [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/open.c:351:21: style: Condition 'tdb->page_size<=0' is always false [knownConditionTrueFalse] ldb-2.2.3/lib/tdb/common/open.c:350:19: note: Assignment 'tdb->page_size=0x2000', assigned value is 8192 ldb-2.2.3/lib/tdb/common/open.c:351:21: note: Condition 'tdb->page_size<=0' is always false ldb-2.2.3/lib/tdb/common/open.c:110:3: style: Redundant pointer operation on 'newdb' - it's already a pointer. [redundantPointerOp] ldb-2.2.3/lib/tdb/common/open.c:204:45: style: Parameter 'tdb' can be declared as pointer to const. However it seems that 'null_log_fn' is a callback function, if 'tdb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tdb/common/open.c:306:21: note: You might need to cast the function pointer here ldb-2.2.3/lib/tdb/common/open.c:204:45: note: Parameter 'tdb' can be declared as pointer to const ldb-2.2.3/lib/tdb/common/open.c:274:17: style: Variable 'vp' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/tdb/common/rescue.c:117:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_OOM [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/rescue.c:199:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dptr [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/rescue.c:241:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_CONVERT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/rescue.c:83:24: style: Parameter 'rec' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tdb/common/rescue.c:129:52: style: Parameter 'found' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tdb/common/rescue.c:204:52: style: Parameter 'tdb' can be declared as pointer to const. However it seems that 'logging_suppressed' is a callback function, if 'tdb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tdb/common/rescue.c:234:20: note: You might need to cast the function pointer here ldb-2.2.3/lib/tdb/common/rescue.c:204:52: note: Parameter 'tdb' can be declared as pointer to const ldb-2.2.3/lib/tdb/common/summary.c:93:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/summary.c:137:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_CONVERT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/tdb.c:40:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_SEQNUM [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/tdb.c:58:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_SEQNUM [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/tdb.c:84:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable slow_ptr [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/tdb.c:102:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_CORRUPT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/tdb.c:146:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_NOEXIST [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/tdb.c:230:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/tdb.c:271:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/tdb.c:320:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/tdb.c:346:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/tdb.c:448:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/tdb.c:505:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_RDONLY [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/tdb.c:609:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dsize [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/tdb.c:733:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_RDONLY [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/tdb.c:756:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_RDONLY [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/tdb.c:783:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/tdb.c:841:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sequence_number [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/tdb.c:862:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ALLOW_NESTING [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/tdb.c:882:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ALLOW_NESTING [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/tdb.c:915:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_SEQNUM [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/tdb.c:931:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_DEBUG_FATAL [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/tdb.c:968:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable recovery_start [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/tdb.c:1049:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_INSERT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/tdb.c:1071:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/tdb.c:77:63: style: Parameter 'private_data' can be declared as pointer to const. However it seems that 'tdb_key_compare' is a callback function, if 'private_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tdb/common/tdb.c:135:23: note: You might need to cast the function pointer here ldb-2.2.3/lib/tdb/common/tdb.c:77:63: note: Parameter 'private_data' can be declared as pointer to const ldb-2.2.3/lib/tdb/common/tdb.c:802:51: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tdb/common/tdb.c:812:41: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tdb/common/tdb.c:845:48: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tdb/common/tdb.c:850:50: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tdb/common/tdb.c:855:48: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tdb/common/transaction.c:198:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_DEBUG_FATAL [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/transaction.c:219:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_EINVAL [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/transaction.c:389:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/transaction.c:445:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_INTERNAL [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/transaction.c:569:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_NOSYNC [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/transaction.c:604:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_DEBUG_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/transaction.c:701:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable recovery_start [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/transaction.c:745:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_DEBUG_FATAL [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/transaction.c:865:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_OOM [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/transaction.c:981:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_DEBUG_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/transaction.c:1120:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_DEBUG_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/transaction.c:1260:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable recovery_start [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/transaction.c:1371:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable recovery_start [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/transaction.c:1304:3: error: Memory leak: data [memleak] ldb-2.2.3/lib/tdb/common/transaction.c:875:2: style: Redundant pointer operation on 'rec' - it's already a pointer. [redundantPointerOp] ldb-2.2.3/lib/tdb/common/transaction.c:363:61: style: Parameter 'tdb' can be declared as pointer to const. However it seems that 'transaction_next_hash_chain' is a callback function, if 'tdb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tdb/common/transaction.c:423:2: note: You might need to cast the function pointer here ldb-2.2.3/lib/tdb/common/transaction.c:363:61: note: Parameter 'tdb' can be declared as pointer to const ldb-2.2.3/lib/tdb/common/transaction.c:432:58: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tdb/common/traverse.c:104:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_CORRUPT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/traverse.c:190:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_DEBUG_FATAL [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/traverse.c:249:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/traverse.c:270:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/traverse.c:313:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tdb_null [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/traverse.c:339:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tdb_null [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/traverse.c:413:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_EINVAL [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:129:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tdb/pytdb.c:141:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tdb/pytdb.c:151:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tdb/pytdb.c:161:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tdb/pytdb.c:171:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tdb/pytdb.c:188:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tdb/pytdb.c:198:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tdb/pytdb.c:208:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tdb/pytdb.c:218:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tdb/pytdb.c:225:67: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tdb/pytdb.c:282:70: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tdb/pytdb.c:491:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tdb/pytdb.c:506:67: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tdb/pytdb.c:515:68: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tdb/pytdb.c:525:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tdb/pytdb.c:533:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tdb/pytdb.c:66:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:98:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_DEFAULT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:133:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:144:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:154:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:164:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:174:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:191:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:201:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:211:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:222:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:229:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:247:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:265:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:284:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:293:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:310:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:327:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:345:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:364:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_REPLACE [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:388:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_REPLACE [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:435:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:448:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:495:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:509:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:518:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:527:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:535:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:597:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:603:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:612:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:618:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:624:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:630:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:636:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:696:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:714:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:740:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_ERR_IO [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:833:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_REPLACE [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/pytdb.c:856:2: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] ldb-2.2.3/lib/tdb/test/external-agent.c:26:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/external-agent.c:119:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/external-agent.c:127:2: warning: If memory allocation fails, then there is a possible null pointer dereference: agent [nullPointerOutOfMemory] ldb-2.2.3/lib/tdb/test/external-agent.c:120:30: note: Assuming allocation function fails ldb-2.2.3/lib/tdb/test/external-agent.c:120:30: note: Assignment 'agent=malloc(sizeof(*agent))', assigned value is 0 ldb-2.2.3/lib/tdb/test/external-agent.c:122:25: note: Assuming condition is false ldb-2.2.3/lib/tdb/test/external-agent.c:127:2: note: Null pointer dereference ldb-2.2.3/lib/tdb/test/external-agent.c:128:6: warning: If memory allocation fails, then there is a possible null pointer dereference: agent [nullPointerOutOfMemory] ldb-2.2.3/lib/tdb/test/external-agent.c:120:30: note: Assuming allocation function fails ldb-2.2.3/lib/tdb/test/external-agent.c:120:30: note: Assignment 'agent=malloc(sizeof(*agent))', assigned value is 0 ldb-2.2.3/lib/tdb/test/external-agent.c:122:25: note: Assuming condition is false ldb-2.2.3/lib/tdb/test/external-agent.c:128:6: note: Null pointer dereference ldb-2.2.3/lib/tdb/test/external-agent.c:186:2: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] ldb-2.2.3/lib/tdb/test/external-agent.c:184:17: note: Assuming allocation function fails ldb-2.2.3/lib/tdb/test/external-agent.c:184:17: note: Assignment 'string=malloc(len)', assigned value is 0 ldb-2.2.3/lib/tdb/test/external-agent.c:186:2: note: Null pointer dereference ldb-2.2.3/lib/tdb/test/external-agent.c:188:2: warning: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] ldb-2.2.3/lib/tdb/test/external-agent.c:184:17: note: Assuming allocation function fails ldb-2.2.3/lib/tdb/test/external-agent.c:184:17: note: Assignment 'string=malloc(len)', assigned value is 0 ldb-2.2.3/lib/tdb/test/external-agent.c:188:2: note: Null pointer dereference ldb-2.2.3/lib/tdb/test/external-agent.c:187:16: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ldb-2.2.3/lib/tdb/test/external-agent.c:184:17: note: Assuming allocation function fails ldb-2.2.3/lib/tdb/test/external-agent.c:184:17: note: Assignment 'string=malloc(len)', assigned value is 0 ldb-2.2.3/lib/tdb/test/external-agent.c:187:16: note: Null pointer addition ldb-2.2.3/lib/tdb/test/external-agent.c:173:58: style:inconclusive: Function 'external_agent_operation' argument 1 names different: declaration 'handle' definition 'agent'. [funcArgNamesDifferent] ldb-2.2.3/lib/tdb/test/external-agent.h:36:58: note: Function 'external_agent_operation' argument 1 names different: declaration 'handle' definition 'agent'. ldb-2.2.3/lib/tdb/test/external-agent.c:173:58: note: Function 'external_agent_operation' argument 1 names different: declaration 'handle' definition 'agent'. ldb-2.2.3/lib/tdb/test/external-agent.c:173:58: style: Parameter 'agent' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tdb/test/lock-tracking.c:30:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_SETLKW [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/lock-tracking.c:81:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ldb-2.2.3/lib/tdb/test/lock-tracking.c:81:4: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ldb-2.2.3/lib/tdb/test/lock-tracking.c:124:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ldb-2.2.3/lib/tdb/test/lock-tracking.c:124:5: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ldb-2.2.3/lib/tdb/test/lock-tracking.c:124:5: warning: %u in format string (no. 5) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ldb-2.2.3/lib/tdb/test/lock-tracking.c:134:4: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] ldb-2.2.3/lib/tdb/test/lock-tracking.c:133:16: note: Assuming allocation function fails ldb-2.2.3/lib/tdb/test/lock-tracking.c:133:16: note: Assignment 'new=malloc(sizeof(*new))', assigned value is 0 ldb-2.2.3/lib/tdb/test/lock-tracking.c:134:4: note: Null pointer dereference ldb-2.2.3/lib/tdb/test/lock-tracking.c:135:4: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] ldb-2.2.3/lib/tdb/test/lock-tracking.c:133:16: note: Assuming allocation function fails ldb-2.2.3/lib/tdb/test/lock-tracking.c:133:16: note: Assignment 'new=malloc(sizeof(*new))', assigned value is 0 ldb-2.2.3/lib/tdb/test/lock-tracking.c:135:4: note: Null pointer dereference ldb-2.2.3/lib/tdb/test/lock-tracking.c:136:4: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] ldb-2.2.3/lib/tdb/test/lock-tracking.c:133:16: note: Assuming allocation function fails ldb-2.2.3/lib/tdb/test/lock-tracking.c:133:16: note: Assignment 'new=malloc(sizeof(*new))', assigned value is 0 ldb-2.2.3/lib/tdb/test/lock-tracking.c:136:4: note: Null pointer dereference ldb-2.2.3/lib/tdb/test/lock-tracking.c:137:4: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] ldb-2.2.3/lib/tdb/test/lock-tracking.c:133:16: note: Assuming allocation function fails ldb-2.2.3/lib/tdb/test/lock-tracking.c:133:16: note: Assignment 'new=malloc(sizeof(*new))', assigned value is 0 ldb-2.2.3/lib/tdb/test/lock-tracking.c:137:4: note: Null pointer dereference ldb-2.2.3/lib/tdb/test/logging.c:28:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/io.c:160:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_INTERNAL [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/io.c:250:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/io.c:296:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/io.c:417:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/io.c:699:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/tdb.c:509:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/tdb.c:630:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_INSERT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/tdb.c:740:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/tdb.c:764:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:313:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:347:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_NOLOCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:502:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:625:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:755:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/freelist.c:115:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_CONVERT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/traverse.c:315:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/traverse.c:378:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/traverse.c:422:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/transaction.c:825:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_CONVERT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/transaction.c:875:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_CONVERT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/open.c:76:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_INCOMPATIBLE_HASH [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/check.c:406:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_CONVERT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-3G-file.c:35:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-3G-file.c:59:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-3G-file.c:77:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/lock.c:299:11: style: Condition 'ret==-1' is always true [knownConditionTrueFalse] ldb-2.2.3/lib/tdb/common/lock.c:298:36: note: Calling function 'tdb_mutex_allrecord_upgrade' returns -1 ldb-2.2.3/lib/tdb/common/lock.c:298:36: note: Assignment 'ret=tdb_mutex_allrecord_upgrade(tdb)', assigned value is -1 ldb-2.2.3/lib/tdb/common/lock.c:299:11: note: Condition 'ret==-1' is always true ldb-2.2.3/lib/tdb/common/lock.c:353:8: style: Condition '!tdb_have_mutexes(tdb)' is always true [knownConditionTrueFalse] ldb-2.2.3/lib/tdb/common/lock.c:353:25: note: Calling function 'tdb_have_mutexes' returns 0 ldb-2.2.3/lib/tdb/common/lock.c:353:8: note: Condition '!tdb_have_mutexes(tdb)' is always true ldb-2.2.3/lib/tdb/common/lock.c:770:12: style: Condition 'ret==0' is always false [knownConditionTrueFalse] ldb-2.2.3/lib/tdb/common/lock.c:769:36: note: Calling function 'tdb_mutex_allrecord_unlock' returns -1 ldb-2.2.3/lib/tdb/common/lock.c:769:36: note: Assignment 'ret=tdb_mutex_allrecord_unlock(tdb)', assigned value is -1 ldb-2.2.3/lib/tdb/common/lock.c:770:12: note: Condition 'ret==0' is always false ldb-2.2.3/lib/tdb/common/open.c:147:11: style: Condition 'ret==-1' is always true [knownConditionTrueFalse] ldb-2.2.3/lib/tdb/common/open.c:146:23: note: Calling function 'tdb_mutex_init' returns -1 ldb-2.2.3/lib/tdb/common/open.c:146:23: note: Assignment 'ret=tdb_mutex_init(tdb)', assigned value is -1 ldb-2.2.3/lib/tdb/common/open.c:147:11: note: Condition 'ret==-1' is always true ldb-2.2.3/lib/tdb/common/open.c:422:7: style: Condition '!tdb_runtime_check_for_robust_mutexes()' is always true [knownConditionTrueFalse] ldb-2.2.3/lib/tdb/common/open.c:422:44: note: Calling function 'tdb_runtime_check_for_robust_mutexes' returns 0 ldb-2.2.3/lib/tdb/common/open.c:422:7: note: Condition '!tdb_runtime_check_for_robust_mutexes()' is always true ldb-2.2.3/lib/tdb/common/open.c:610:13: style: Condition 'ret==-1' is always true [knownConditionTrueFalse] ldb-2.2.3/lib/tdb/common/open.c:609:25: note: Calling function 'tdb_mutex_init' returns -1 ldb-2.2.3/lib/tdb/common/open.c:609:25: note: Assignment 'ret=tdb_mutex_init(tdb)', assigned value is -1 ldb-2.2.3/lib/tdb/common/open.c:610:13: note: Condition 'ret==-1' is always true ldb-2.2.3/lib/tdb/common/open.c:667:12: style: Condition 'ret!=0' is always true [knownConditionTrueFalse] ldb-2.2.3/lib/tdb/common/open.c:666:24: note: Calling function 'tdb_mutex_mmap' returns -1 ldb-2.2.3/lib/tdb/common/open.c:666:24: note: Assignment 'ret=tdb_mutex_mmap(tdb)', assigned value is -1 ldb-2.2.3/lib/tdb/common/open.c:667:12: note: Condition 'ret!=0' is always true ldb-2.2.3/lib/tdb/common/open.c:865:22: style: Condition 'tdb_munmap(tdb)!=0' is always false [knownConditionTrueFalse] ldb-2.2.3/lib/tdb/common/open.c:865:16: note: Calling function 'tdb_munmap' returns 0 ldb-2.2.3/lib/tdb/common/open.c:865:22: note: Condition 'tdb_munmap(tdb)!=0' is always false ldb-2.2.3/lib/tdb/test/run-3G-file.c:58:12: style: Variable 'expect' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/tdb/common/hash.c:342:50: style: Parameter 'key' can be declared as pointer to const. However it seems that 'tdb_jenkins_hash' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tdb/common/open.c:342:19: note: You might need to cast the function pointer here ldb-2.2.3/lib/tdb/common/hash.c:342:50: note: Parameter 'key' can be declared as pointer to const ldb-2.2.3/lib/tdb/test/run-allrecord-traverse-deadlock.c:29:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-allrecord-traverse-deadlock.c:58:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-allrecord-traverse-deadlock.c:101:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-allrecord-traverse-deadlock.c:188:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-bad-tdb-header.c:25:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-check.c:24:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-circular-chain.c:27:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-circular-freelist.c:27:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-corrupt.c:46:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-corrupt.c:62:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-corrupt.c:115:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-die-during-transaction.c:101:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-die-during-transaction.c:227:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-die-during-transaction.c:113:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ldb-2.2.3/lib/tdb/test/run-die-during-transaction.c:120:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ldb-2.2.3/lib/tdb/test/run-die-during-transaction.c:128:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ldb-2.2.3/lib/tdb/test/run-die-during-transaction.c:135:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ldb-2.2.3/lib/tdb/test/run-die-during-transaction.c:142:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ldb-2.2.3/lib/tdb/test/run-die-during-transaction.c:194:2: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ldb-2.2.3/lib/tdb/test/run-die-during-transaction.c:198:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ldb-2.2.3/lib/tdb/common/lock.c:35:43: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tdb/common/lock.c:61:45: style: Parameter 'tdb' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tdb/test/run-endian.c:25:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/traverse.c:378:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_DEBUG_FATAL [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-fcntl-deadlock.c:76:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_SETLK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-fcntl-deadlock.c:84:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_UNLCK [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-fcntl-deadlock.c:102:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-fcntl-deadlock.c:124:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-fcntl-deadlock.c:122:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] ldb-2.2.3/lib/tdb/test/run-fcntl-deadlock.c:123:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] ldb-2.2.3/lib/tdb/common/io.c:403:7: style: Local variable 'buf' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-fcntl-deadlock.c:96:6: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/io.c:403:7: note: Shadow variable ldb-2.2.3/lib/tdb/common/io.c:692:17: style: Local variable 'buf' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-fcntl-deadlock.c:96:6: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/io.c:692:17: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:449:13: style: Local variable 'buf' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-fcntl-deadlock.c:96:6: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:449:13: note: Shadow variable ldb-2.2.3/lib/tdb/test/run-incompatible.c:33:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-incompatible.c:54:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_CONVERT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-incompatible.c:16:45: style: Parameter 'key' can be declared as pointer to const. However it seems that 'tdb_dumb_hash' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tdb/test/run-incompatible.c:177:17: note: You might need to cast the function pointer here ldb-2.2.3/lib/tdb/test/run-incompatible.c:16:45: note: Parameter 'key' can be declared as pointer to const ldb-2.2.3/lib/tdb/common/hash.c:342:50: style: Parameter 'key' can be declared as pointer to const. However it seems that 'tdb_jenkins_hash' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tdb/test/run-incompatible.c:130:31: note: You might need to cast the function pointer here ldb-2.2.3/lib/tdb/common/hash.c:342:50: note: Parameter 'key' can be declared as pointer to const ldb-2.2.3/lib/tdb/test/run-marklock-deadlock.c:30:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-marklock-deadlock.c:53:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-marklock-deadlock.c:87:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-marklock-deadlock.c:263:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/io.c:718:11: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-marklock-deadlock.c:20:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/io.c:718:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:141:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-marklock-deadlock.c:20:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:141:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:307:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-marklock-deadlock.c:20:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:307:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:339:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-marklock-deadlock.c:20:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:339:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:451:13: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-marklock-deadlock.c:20:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:451:13: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:452:13: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-marklock-deadlock.c:20:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:452:13: note: Shadow variable ldb-2.2.3/lib/tdb/common/transaction.c:847:17: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-marklock-deadlock.c:20:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/transaction.c:847:17: note: Shadow variable ldb-2.2.3/lib/tdb/common/transaction.c:1255:17: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-marklock-deadlock.c:20:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/transaction.c:1255:17: note: Shadow variable ldb-2.2.3/lib/tdb/common/check.c:244:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-marklock-deadlock.c:20:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/check.c:244:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/check.c:244:16: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-marklock-deadlock.c:20:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/check.c:244:16: note: Shadow variable ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-bench.c:26:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-bench.c:57:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-bench.c:56:6: style: Condition '!runtime_support' is always true [knownConditionTrueFalse] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-bench.c:54:56: note: Calling function 'tdb_runtime_check_for_robust_mutexes' returns 0 ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-bench.c:54:56: note: Assignment 'runtime_support=tdb_runtime_check_for_robust_mutexes()', assigned value is 0 ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-bench.c:56:6: note: Condition '!runtime_support' is always true ldb-2.2.3/lib/tdb/common/io.c:718:11: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-bench.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/io.c:718:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:141:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-bench.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:141:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:307:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-bench.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:307:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:339:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-bench.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:339:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:451:13: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-bench.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:451:13: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:452:13: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-bench.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:452:13: note: Shadow variable ldb-2.2.3/lib/tdb/common/transaction.c:847:17: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-bench.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/transaction.c:847:17: note: Shadow variable ldb-2.2.3/lib/tdb/common/transaction.c:1255:17: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-bench.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/transaction.c:1255:17: note: Shadow variable ldb-2.2.3/lib/tdb/common/check.c:244:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-bench.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/check.c:244:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/check.c:244:16: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-bench.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/check.c:244:16: note: Shadow variable ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-block.c:26:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-block.c:39:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-block.c:72:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-block.c:81:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-block.c:82:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-block.c:71:6: style: Condition '!runtime_support' is always true [knownConditionTrueFalse] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-block.c:69:56: note: Calling function 'tdb_runtime_check_for_robust_mutexes' returns 0 ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-block.c:69:56: note: Assignment 'runtime_support=tdb_runtime_check_for_robust_mutexes()', assigned value is 0 ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-block.c:71:6: note: Condition '!runtime_support' is always true ldb-2.2.3/lib/tdb/common/io.c:718:11: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-block.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/io.c:718:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:141:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-block.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:141:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:307:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-block.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:307:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:339:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-block.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:339:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:451:13: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-block.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:451:13: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:452:13: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-block.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:452:13: note: Shadow variable ldb-2.2.3/lib/tdb/common/transaction.c:847:17: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-block.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/transaction.c:847:17: note: Shadow variable ldb-2.2.3/lib/tdb/common/transaction.c:1255:17: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-block.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/transaction.c:1255:17: note: Shadow variable ldb-2.2.3/lib/tdb/common/check.c:244:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-block.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/check.c:244:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/check.c:244:16: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-block.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/check.c:244:16: note: Shadow variable ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-trylock.c:26:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-trylock.c:39:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-trylock.c:72:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-trylock.c:81:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-trylock.c:82:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-trylock.c:71:6: style: Condition '!runtime_support' is always true [knownConditionTrueFalse] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-trylock.c:69:56: note: Calling function 'tdb_runtime_check_for_robust_mutexes' returns 0 ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-trylock.c:69:56: note: Assignment 'runtime_support=tdb_runtime_check_for_robust_mutexes()', assigned value is 0 ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-trylock.c:71:6: note: Condition '!runtime_support' is always true ldb-2.2.3/lib/tdb/common/io.c:718:11: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-trylock.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/io.c:718:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:141:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-trylock.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:141:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:307:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-trylock.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:307:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:339:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-trylock.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:339:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:451:13: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-trylock.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:451:13: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:452:13: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-trylock.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:452:13: note: Shadow variable ldb-2.2.3/lib/tdb/common/transaction.c:847:17: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-trylock.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/transaction.c:847:17: note: Shadow variable ldb-2.2.3/lib/tdb/common/transaction.c:1255:17: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-trylock.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/transaction.c:1255:17: note: Shadow variable ldb-2.2.3/lib/tdb/common/check.c:244:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-trylock.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/check.c:244:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/check.c:244:16: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-allrecord-trylock.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/check.c:244:16: note: Shadow variable ldb-2.2.3/lib/tdb/test/run-mutex-die.c:101:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-mutex-die.c:153:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-mutex-die.c:176:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-mutex-die.c:215:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-mutex-die.c:257:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-mutex-die.c:256:6: style: Condition '!runtime_support' is always true [knownConditionTrueFalse] ldb-2.2.3/lib/tdb/test/run-mutex-die.c:254:56: note: Calling function 'tdb_runtime_check_for_robust_mutexes' returns 0 ldb-2.2.3/lib/tdb/test/run-mutex-die.c:254:56: note: Assignment 'runtime_support=tdb_runtime_check_for_robust_mutexes()', assigned value is 0 ldb-2.2.3/lib/tdb/test/run-mutex-die.c:256:6: note: Condition '!runtime_support' is always true ldb-2.2.3/lib/tdb/test/run-mutex-openflags2.c:32:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-mutex-openflags2.c:48:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-mutex-openflags2.c:108:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/io.c:718:11: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-openflags2.c:20:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/io.c:718:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:141:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-openflags2.c:20:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:141:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:307:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-openflags2.c:20:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:307:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:339:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-openflags2.c:20:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:339:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:451:13: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-openflags2.c:20:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:451:13: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:452:13: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-openflags2.c:20:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:452:13: note: Shadow variable ldb-2.2.3/lib/tdb/common/transaction.c:847:17: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-openflags2.c:20:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/transaction.c:847:17: note: Shadow variable ldb-2.2.3/lib/tdb/common/transaction.c:1255:17: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-openflags2.c:20:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/transaction.c:1255:17: note: Shadow variable ldb-2.2.3/lib/tdb/common/check.c:244:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-openflags2.c:20:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/check.c:244:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/check.c:244:16: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-openflags2.c:20:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/check.c:244:16: note: Shadow variable ldb-2.2.3/lib/tdb/test/run-mutex-openflags2.c:22:42: style: Parameter 'tdb' can be declared as pointer to const. However it seems that 'log_void' is a callback function, if 'tdb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tdb/test/run-mutex-openflags2.c:98:43: note: You might need to cast the function pointer here ldb-2.2.3/lib/tdb/test/run-mutex-openflags2.c:22:42: note: Parameter 'tdb' can be declared as pointer to const ldb-2.2.3/lib/tdb/test/run-mutex-openflags2.c:95:22: style: Variable 'tdb' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/tdb/test/run-mutex-transaction1.c:26:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-mutex-transaction1.c:39:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-mutex-transaction1.c:108:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-mutex-transaction1.c:117:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] ldb-2.2.3/lib/tdb/test/run-mutex-transaction1.c:118:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] ldb-2.2.3/lib/tdb/test/run-mutex-transaction1.c:107:6: style: Condition '!runtime_support' is always true [knownConditionTrueFalse] ldb-2.2.3/lib/tdb/test/run-mutex-transaction1.c:105:56: note: Calling function 'tdb_runtime_check_for_robust_mutexes' returns 0 ldb-2.2.3/lib/tdb/test/run-mutex-transaction1.c:105:56: note: Assignment 'runtime_support=tdb_runtime_check_for_robust_mutexes()', assigned value is 0 ldb-2.2.3/lib/tdb/test/run-mutex-transaction1.c:107:6: note: Condition '!runtime_support' is always true ldb-2.2.3/lib/tdb/common/io.c:718:11: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-transaction1.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/io.c:718:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:141:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-transaction1.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:141:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:307:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-transaction1.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:307:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:339:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-transaction1.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:339:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:451:13: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-transaction1.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:451:13: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:452:13: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-transaction1.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:452:13: note: Shadow variable ldb-2.2.3/lib/tdb/common/transaction.c:847:17: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-transaction1.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/transaction.c:847:17: note: Shadow variable ldb-2.2.3/lib/tdb/common/transaction.c:1255:17: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-transaction1.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/transaction.c:1255:17: note: Shadow variable ldb-2.2.3/lib/tdb/common/check.c:244:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-transaction1.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/check.c:244:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/check.c:244:16: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-transaction1.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/check.c:244:16: note: Shadow variable ldb-2.2.3/lib/tdb/test/run-mutex-trylock.c:26:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-mutex-trylock.c:39:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-mutex-trylock.c:74:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-mutex-trylock.c:83:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] ldb-2.2.3/lib/tdb/test/run-mutex-trylock.c:84:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] ldb-2.2.3/lib/tdb/test/run-mutex-trylock.c:73:6: style: Condition '!runtime_support' is always true [knownConditionTrueFalse] ldb-2.2.3/lib/tdb/test/run-mutex-trylock.c:71:56: note: Calling function 'tdb_runtime_check_for_robust_mutexes' returns 0 ldb-2.2.3/lib/tdb/test/run-mutex-trylock.c:71:56: note: Assignment 'runtime_support=tdb_runtime_check_for_robust_mutexes()', assigned value is 0 ldb-2.2.3/lib/tdb/test/run-mutex-trylock.c:73:6: note: Condition '!runtime_support' is always true ldb-2.2.3/lib/tdb/common/io.c:718:11: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-trylock.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/io.c:718:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:141:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-trylock.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:141:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:307:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-trylock.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:307:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:339:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-trylock.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:339:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:451:13: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-trylock.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:451:13: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:452:13: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-trylock.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:452:13: note: Shadow variable ldb-2.2.3/lib/tdb/common/transaction.c:847:17: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-trylock.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/transaction.c:847:17: note: Shadow variable ldb-2.2.3/lib/tdb/common/transaction.c:1255:17: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-trylock.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/transaction.c:1255:17: note: Shadow variable ldb-2.2.3/lib/tdb/common/check.c:244:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-trylock.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/check.c:244:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/check.c:244:16: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex-trylock.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/check.c:244:16: note: Shadow variable ldb-2.2.3/lib/tdb/test/run-mutex1.c:26:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-mutex1.c:39:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-mutex1.c:83:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-mutex1.c:92:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] ldb-2.2.3/lib/tdb/test/run-mutex1.c:93:2: warning: Return value of function pipe() is not used. [ignoredReturnValue] ldb-2.2.3/lib/tdb/test/run-mutex1.c:82:6: style: Condition '!runtime_support' is always true [knownConditionTrueFalse] ldb-2.2.3/lib/tdb/test/run-mutex1.c:80:56: note: Calling function 'tdb_runtime_check_for_robust_mutexes' returns 0 ldb-2.2.3/lib/tdb/test/run-mutex1.c:80:56: note: Assignment 'runtime_support=tdb_runtime_check_for_robust_mutexes()', assigned value is 0 ldb-2.2.3/lib/tdb/test/run-mutex1.c:82:6: note: Condition '!runtime_support' is always true ldb-2.2.3/lib/tdb/common/io.c:718:11: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex1.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/io.c:718:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:141:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex1.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:141:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:307:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex1.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:307:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:339:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex1.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:339:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:451:13: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex1.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:451:13: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:452:13: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex1.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:452:13: note: Shadow variable ldb-2.2.3/lib/tdb/common/transaction.c:847:17: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex1.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/transaction.c:847:17: note: Shadow variable ldb-2.2.3/lib/tdb/common/transaction.c:1255:17: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex1.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/transaction.c:1255:17: note: Shadow variable ldb-2.2.3/lib/tdb/common/check.c:244:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex1.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/check.c:244:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/check.c:244:16: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-mutex1.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/check.c:244:16: note: Shadow variable ldb-2.2.3/lib/tdb/test/run-nested-transactions.c:29:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-nested-traverse.c:39:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-nested-traverse.c:47:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-nested-traverse.c:70:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-nested-traverse.c:91:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-no-lock-during-traverse.c:51:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-no-lock-during-traverse.c:71:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-no-lock-during-traverse.c:82:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-oldhash.c:25:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/hash.c:342:50: style: Parameter 'key' can be declared as pointer to const. However it seems that 'tdb_jenkins_hash' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tdb/test/run-oldhash.c:44:18: note: You might need to cast the function pointer here ldb-2.2.3/lib/tdb/common/hash.c:342:50: note: Parameter 'key' can be declared as pointer to const ldb-2.2.3/lib/tdb/test/run-open-during-transaction.c:75:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-open-during-transaction.c:158:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-open-during-transaction.c:176:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ldb-2.2.3/lib/tdb/test/run-rdlock-upgrade.c:29:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-rdlock-upgrade.c:52:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-rdlock-upgrade.c:94:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-rdlock-upgrade.c:163:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/io.c:718:11: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-rdlock-upgrade.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/io.c:718:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:141:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-rdlock-upgrade.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:141:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:307:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-rdlock-upgrade.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:307:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:339:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-rdlock-upgrade.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:339:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:451:13: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-rdlock-upgrade.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:451:13: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:452:13: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-rdlock-upgrade.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:452:13: note: Shadow variable ldb-2.2.3/lib/tdb/common/transaction.c:847:17: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-rdlock-upgrade.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/transaction.c:847:17: note: Shadow variable ldb-2.2.3/lib/tdb/common/transaction.c:1255:17: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-rdlock-upgrade.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/transaction.c:1255:17: note: Shadow variable ldb-2.2.3/lib/tdb/common/check.c:244:11: style: Local variable 'key' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-rdlock-upgrade.c:19:17: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/check.c:244:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/check.c:244:16: style: Local variable 'data' shadows outer variable [shadowVariable] ldb-2.2.3/lib/tdb/test/run-rdlock-upgrade.c:19:22: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/check.c:244:16: note: Shadow variable ldb-2.2.3/lib/tdb/test/run-readonly-check.c:27:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-rescue-find_entry.c:37:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-rescue.c:57:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-rescue.c:77:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-rescue.c:97:4: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ldb-2.2.3/lib/tdb/test/run-rescue.c:99:4: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ldb-2.2.3/lib/tdb/test/run-rescue.c:112:4: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ldb-2.2.3/lib/tdb/test/run-rwlock-check.c:34:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-rwlock-check.c:26:22: style: Variable 'tdb' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/tdb/test/run-summary.c:23:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_CONVERT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/hash.c:342:50: style: Parameter 'key' can be declared as pointer to const. However it seems that 'tdb_jenkins_hash' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tdb/common/summary.c:186:21: note: You might need to cast the function pointer here ldb-2.2.3/lib/tdb/common/hash.c:342:50: note: Parameter 'key' can be declared as pointer to const ldb-2.2.3/lib/tdb/test/run-transaction-expand.c:72:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-traverse-chain.c:73:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-traverse-in-transaction.c:39:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-traverse-in-transaction.c:53:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run-wronghash-fail.c:35:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/common/hash.c:342:50: style: Parameter 'key' can be declared as pointer to const. However it seems that 'tdb_jenkins_hash' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tdb/test/run-wronghash-fail.c:88:19: note: You might need to cast the function pointer here ldb-2.2.3/lib/tdb/common/hash.c:342:50: note: Parameter 'key' can be declared as pointer to const ldb-2.2.3/lib/tdb/test/run-zero-append.c:23:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/test/run.c:24:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbbackup.c:66:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbbackup.c:77:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbbackup.c:88:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_INSERT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbbackup.c:127:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_DEFAULT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbbackup.c:260:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbbackup.c:327:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbbackup.c:97:33: style: Parameter 'tdb' can be declared as pointer to const. However it seems that 'test_fn' is a callback function, if 'tdb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tdb/tools/tdbbackup.c:264:29: note: You might need to cast the function pointer here ldb-2.2.3/lib/tdb/tools/tdbbackup.c:97:33: note: Parameter 'tdb' can be declared as pointer to const ldb-2.2.3/lib/tdb/tools/tdbbackup.c:97:73: style: Parameter 'state' can be declared as pointer to const. However it seems that 'test_fn' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tdb/tools/tdbbackup.c:264:29: note: You might need to cast the function pointer here ldb-2.2.3/lib/tdb/tools/tdbbackup.c:97:73: note: Parameter 'state' can be declared as pointer to const ldb-2.2.3/lib/tdb/tools/tdbdump.c:33:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbdump.c:84:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbdump.c:107:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_DEFAULT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbdump.c:167:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbdump.c:29:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/tdb/tools/tdbdump.c:89:63: style: Parameter 'keyname' can be declared as pointer to const. However it seems that 'emergency_walk' is a callback function, if 'keyname' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tdb/tools/tdbdump.c:123:26: note: You might need to cast the function pointer here ldb-2.2.3/lib/tdb/tools/tdbdump.c:89:63: note: Parameter 'keyname' can be declared as pointer to const ldb-2.2.3/lib/tdb/tools/tdbdump.c:152:8: style: Variable 'fname' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/tdb/tools/tdbdump.c:152:16: style: Variable 'keyname' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/tdb/tools/tdbrestore.c:36:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbrestore.c:67:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbrestore.c:97:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbrestore.c:171:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_INSERT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbrestore.c:187:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbrestore.c:212:8: style: Variable 'fname' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/tdb/tools/tdbtest.c:45:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbtest.c:132:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_REPLACE [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbtest.c:165:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDBM_REPLACE [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbtest.c:201:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_REPLACE [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbtest.c:250:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbtest.c:244:15: portability: Assigning a pointer to an integer is not portable. [AssignmentAddressToInteger] ldb-2.2.3/lib/tdb/tools/tdbtest.c:105:3: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] ldb-2.2.3/lib/tdb/tools/tdbtest.c:102:22: note: Assuming allocation function fails ldb-2.2.3/lib/tdb/tools/tdbtest.c:102:8: note: Assignment 'buf=(char*)malloc(len+1)', assigned value is 0 ldb-2.2.3/lib/tdb/tools/tdbtest.c:105:3: note: Null pointer dereference ldb-2.2.3/lib/tdb/tools/tdbtest.c:107:2: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] ldb-2.2.3/lib/tdb/tools/tdbtest.c:102:22: note: Assuming allocation function fails ldb-2.2.3/lib/tdb/tools/tdbtest.c:102:8: note: Assignment 'buf=(char*)malloc(len+1)', assigned value is 0 ldb-2.2.3/lib/tdb/tools/tdbtest.c:107:2: note: Null pointer dereference ldb-2.2.3/lib/tdb/tools/tdbtool.c:148:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbtool.c:160:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbtool.c:264:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_CLEAR_IF_FIRST [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbtool.c:282:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbtool.c:320:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_INSERT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbtool.c:347:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_REPLACE [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbtool.c:426:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_REPLACE [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbtool.c:500:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbtool.c:580:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_REPLACE [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbtool.c:642:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbtool.c:929:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALL_THROUGH [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbtool.c:134:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/tdb/tools/tdbtool.c:392:33: style: Parameter 'keystr' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tdb/tools/tdbtool.c:393:12: style: Parameter 'datastr' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tdb/tools/tdbtool.c:544:37: style: Parameter 'the_tdb' can be declared as pointer to const. However it seems that 'traverse_fn' is a callback function, if 'the_tdb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tdb/tools/tdbtool.c:621:21: note: You might need to cast the function pointer here ldb-2.2.3/lib/tdb/tools/tdbtool.c:544:37: note: Parameter 'the_tdb' can be declared as pointer to const ldb-2.2.3/lib/tdb/tools/tdbtool.c:544:81: style: Parameter 'state' can be declared as pointer to const. However it seems that 'traverse_fn' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tdb/tools/tdbtool.c:621:21: note: You might need to cast the function pointer here ldb-2.2.3/lib/tdb/tools/tdbtool.c:544:81: note: Parameter 'state' can be declared as pointer to const ldb-2.2.3/lib/tdb/tools/tdbtool.c:694:17: style: Variable 'ctp' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/tdb/tools/tdbtool.c:852:15: style: Variable 'inp' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/tdb/tools/tdbtorture.c:47:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_DEBUG_TRACE [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbtorture.c:171:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_REPLACE [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbtorture.c:242:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbtorture.c:249:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDB_DEFAULT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbtorture.c:450:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tdb/tools/tdbtorture.c:456:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ldb-2.2.3/lib/tdb/tools/tdbtorture.c:456:5: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ldb-2.2.3/lib/tdb/tools/tdbtorture.c:79:3: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] ldb-2.2.3/lib/tdb/tools/tdbtorture.c:76:22: note: Assuming allocation function fails ldb-2.2.3/lib/tdb/tools/tdbtorture.c:76:8: note: Assignment 'buf=(char*)malloc(len+1)', assigned value is 0 ldb-2.2.3/lib/tdb/tools/tdbtorture.c:79:3: note: Null pointer dereference ldb-2.2.3/lib/tdb/tools/tdbtorture.c:81:2: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] ldb-2.2.3/lib/tdb/tools/tdbtorture.c:76:22: note: Assuming allocation function fails ldb-2.2.3/lib/tdb/tools/tdbtorture.c:76:8: note: Assignment 'buf=(char*)malloc(len+1)', assigned value is 0 ldb-2.2.3/lib/tdb/tools/tdbtorture.c:81:2: note: Null pointer dereference ldb-2.2.3/lib/tevent/tevent.h:539:1: debug: Failed to parse 'typedef void ( * tevent_debug_fn ) ( void * context , enum tevent_debug_level level , const char * fmt , va_list ap ) PRINTF_ATTRIBUTE ( 3 , 0 ) ;'. The checking continues anyway. [simplifyTypedef] ldb-2.2.3/lib/tevent/echo_server.c:46:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETIMEDOUT [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/echo_server.c:83:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/echo_server.c:123:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/echo_server.c:170:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/echo_server.c:208:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/echo_server.c:248:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/echo_server.c:286:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/echo_server.c:324:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/echo_server.c:356:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/echo_server.c:411:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/echo_server.c:456:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/echo_server.c:483:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPIPE [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/echo_server.c:529:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/echo_server.c:556:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/echo_server.c:610:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/echo_server.c:129:23: style: Variable 'state' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/tevent/echo_server.c:213:21: style: Variable 'state' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/tevent/echo_server.c:291:22: style: Variable 'state' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/tevent/echo_server.c:377:25: style: Variable 'state' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/tevent/pytevent.c:205:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tevent/pytevent.c:216:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tevent/pytevent.c:223:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tevent/pytevent.c:283:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tevent/pytevent.c:293:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tevent/pytevent.c:386:24: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tevent/pytevent.c:583:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tevent/pytevent.c:590:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tevent/pytevent.c:597:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tevent/pytevent.c:604:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tevent/pytevent.c:611:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tevent/pytevent.c:639:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tevent/pytevent.c:646:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tevent/pytevent.c:659:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tevent/pytevent.c:710:24: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tevent/pytevent.c:740:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tevent/pytevent.c:816:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/lib/tevent/pytevent.c:183:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_AttributeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/pytevent.c:209:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/pytevent.c:219:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/pytevent.c:226:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/pytevent.c:255:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/pytevent.c:279:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/pytevent.c:286:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/pytevent.c:296:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/pytevent.c:464:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/pytevent.c:547:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/pytevent.c:586:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/pytevent.c:593:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/pytevent.c:600:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/pytevent.c:607:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/pytevent.c:614:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/pytevent.c:629:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/pytevent.c:635:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/pytevent.c:642:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/pytevent.c:649:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/pytevent.c:655:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/pytevent.c:662:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/pytevent.c:779:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/pytevent.c:812:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/pytevent.c:830:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/pytevent.c:928:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/pytevent.c:911:2: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] ldb-2.2.3/lib/tevent/pytevent.c:914:2: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] ldb-2.2.3/lib/tevent/pytevent.c:917:2: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] ldb-2.2.3/lib/tevent/pytevent.c:920:2: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] ldb-2.2.3/lib/tevent/pytevent.c:923:2: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] ldb-2.2.3/lib/tevent/pytevent.c:926:2: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] ldb-2.2.3/lib/tevent/pytevent.c:76:51: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'py_context_init' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/pytevent.c:162:18: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/pytevent.c:76:51: note: Parameter 'ev' can be declared as pointer to const ldb-2.2.3/lib/tevent/pytevent.c:82:59: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'py_add_fd' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/pytevent.c:163:12: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/pytevent.c:82:59: note: Parameter 'ev' can be declared as pointer to const ldb-2.2.3/lib/tevent/pytevent.c:83:21: style: Parameter 'mem_ctx' can be declared as pointer to const. However it seems that 'py_add_fd' is a callback function, if 'mem_ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/pytevent.c:163:12: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/pytevent.c:83:21: note: Parameter 'mem_ctx' can be declared as pointer to const ldb-2.2.3/lib/tevent/pytevent.c:86:15: style: Parameter 'private_data' can be declared as pointer to const. However it seems that 'py_add_fd' is a callback function, if 'private_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/pytevent.c:163:12: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/pytevent.c:86:15: note: Parameter 'private_data' can be declared as pointer to const ldb-2.2.3/lib/tevent/pytevent.c:94:50: style: Parameter 'fde' can be declared as pointer to const. However it seems that 'py_set_fd_close_fn' is a callback function, if 'fde' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/pytevent.c:164:21: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/pytevent.c:94:50: note: Parameter 'fde' can be declared as pointer to const ldb-2.2.3/lib/tevent/pytevent.c:100:51: style: Parameter 'fde' can be declared as pointer to const. However it seems that 'py_get_fd_flags' is a callback function, if 'fde' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/pytevent.c:165:18: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/pytevent.c:100:51: note: Parameter 'fde' can be declared as pointer to const ldb-2.2.3/lib/tevent/pytevent.c:106:47: style: Parameter 'fde' can be declared as pointer to const. However it seems that 'py_set_fd_flags' is a callback function, if 'fde' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/pytevent.c:166:18: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/pytevent.c:106:47: note: Parameter 'fde' can be declared as pointer to const ldb-2.2.3/lib/tevent/pytevent.c:112:65: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'py_add_timer' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/pytevent.c:167:15: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/pytevent.c:112:65: note: Parameter 'ev' can be declared as pointer to const ldb-2.2.3/lib/tevent/pytevent.c:113:20: style: Parameter 'mem_ctx' can be declared as pointer to const. However it seems that 'py_add_timer' is a callback function, if 'mem_ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/pytevent.c:167:15: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/pytevent.c:113:20: note: Parameter 'mem_ctx' can be declared as pointer to const ldb-2.2.3/lib/tevent/pytevent.c:116:14: style: Parameter 'private_data' can be declared as pointer to const. However it seems that 'py_add_timer' is a callback function, if 'private_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/pytevent.c:167:15: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/pytevent.c:116:14: note: Parameter 'private_data' can be declared as pointer to const ldb-2.2.3/lib/tevent/pytevent.c:125:60: style: Parameter 'im' can be declared as pointer to const. However it seems that 'py_schedule_immediate' is a callback function, if 'im' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/pytevent.c:168:24: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/pytevent.c:125:60: note: Parameter 'im' can be declared as pointer to const ldb-2.2.3/lib/tevent/pytevent.c:126:31: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'py_schedule_immediate' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/pytevent.c:168:24: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/pytevent.c:126:31: note: Parameter 'ev' can be declared as pointer to const ldb-2.2.3/lib/tevent/pytevent.c:128:14: style: Parameter 'private_data' can be declared as pointer to const. However it seems that 'py_schedule_immediate' is a callback function, if 'private_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/pytevent.c:168:24: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/pytevent.c:128:14: note: Parameter 'private_data' can be declared as pointer to const ldb-2.2.3/lib/tevent/pytevent.c:136:67: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'py_add_signal' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/pytevent.c:169:16: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/pytevent.c:136:67: note: Parameter 'ev' can be declared as pointer to const ldb-2.2.3/lib/tevent/pytevent.c:137:22: style: Parameter 'mem_ctx' can be declared as pointer to const. However it seems that 'py_add_signal' is a callback function, if 'mem_ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/pytevent.c:169:16: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/pytevent.c:137:22: note: Parameter 'mem_ctx' can be declared as pointer to const ldb-2.2.3/lib/tevent/pytevent.c:140:16: style: Parameter 'private_data' can be declared as pointer to const. However it seems that 'py_add_signal' is a callback function, if 'private_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/pytevent.c:169:16: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/pytevent.c:140:16: note: Parameter 'private_data' can be declared as pointer to const ldb-2.2.3/lib/tevent/pytevent.c:149:48: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'py_loop_once' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/pytevent.c:171:15: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/pytevent.c:149:48: note: Parameter 'ev' can be declared as pointer to const ldb-2.2.3/lib/tevent/pytevent.c:155:48: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'py_loop_wait' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/pytevent.c:170:15: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/pytevent.c:155:48: note: Parameter 'ev' can be declared as pointer to const ldb-2.2.3/lib/tevent/pytevent.c:385:65: style: Parameter 'self' can be declared as pointer to const. However it seems that 'py_tevent_timer_get_active' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/pytevent.c:394:18: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/pytevent.c:385:65: note: Parameter 'self' can be declared as pointer to const ldb-2.2.3/lib/tevent/test_req.c:44:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/test_req.c:69:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/test_req.c:110:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/test_req.c:140:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/testsuite.c:48:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/testsuite.c:71:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/testsuite.c:153:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/testsuite.c:265:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/testsuite.c:343:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/testsuite.c:396:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/testsuite.c:495:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/testsuite.c:612:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/testsuite.c:636:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/testsuite.c:715:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/testsuite.c:729:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/testsuite.c:745:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/testsuite.c:761:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/testsuite.c:778:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/testsuite.c:795:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/testsuite.c:810:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/testsuite.c:825:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/testsuite.c:843:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/testsuite.c:861:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/testsuite.c:970:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/testsuite.c:1061:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable torture_context [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/testsuite.c:1144:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/testsuite.c:1047:1: style: Label 'pop_use' is not used. [unusedLabel] ldb-2.2.3/lib/tevent/testsuite.c:1193:1: style: Label 'done' is not used. [unusedLabel] ldb-2.2.3/lib/tevent/testsuite.c:54:7: style: Variable 'fd' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/tevent/testsuite.c:65:36: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tevent/testsuite.c:77:7: style: Variable 'fd' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/tevent/testsuite.c:88:7: style: Variable 'fd' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/tevent/testsuite.c:103:7: style: Variable 'fd' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/tevent/testsuite.c:1078:65: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'test_free_wrapper_fd_handler' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/testsuite.c:1155:8: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/testsuite.c:1078:65: note: Parameter 'ev' can be declared as pointer to const ldb-2.2.3/lib/tevent/testsuite.c:1079:25: style: Parameter 'fde' can be declared as pointer to const. However it seems that 'test_free_wrapper_fd_handler' is a callback function, if 'fde' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/testsuite.c:1155:8: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/testsuite.c:1079:25: note: Parameter 'fde' can be declared as pointer to const ldb-2.2.3/lib/tevent/testsuite.c:1081:13: style: Parameter 'private_data' can be declared as pointer to const. However it seems that 'test_free_wrapper_fd_handler' is a callback function, if 'private_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/testsuite.c:1155:8: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/testsuite.c:1081:13: note: Parameter 'private_data' can be declared as pointer to const ldb-2.2.3/lib/tevent/testsuite.c:1091:72: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'test_free_wrapper_immediate_handler' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/testsuite.c:1183:2: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/testsuite.c:1091:72: note: Parameter 'ev' can be declared as pointer to const ldb-2.2.3/lib/tevent/testsuite.c:1092:34: style: Parameter 'im' can be declared as pointer to const. However it seems that 'test_free_wrapper_immediate_handler' is a callback function, if 'im' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/testsuite.c:1183:2: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/testsuite.c:1092:34: note: Parameter 'im' can be declared as pointer to const ldb-2.2.3/lib/tevent/testsuite.c:1093:15: style: Parameter 'private_data' can be declared as pointer to const. However it seems that 'test_free_wrapper_immediate_handler' is a callback function, if 'private_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/testsuite.c:1183:2: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/testsuite.c:1093:15: note: Parameter 'private_data' can be declared as pointer to const ldb-2.2.3/lib/tevent/testsuite.c:1103:68: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'test_free_wrapper_timer_handler' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/testsuite.c:1163:7: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/testsuite.c:1103:68: note: Parameter 'ev' can be declared as pointer to const ldb-2.2.3/lib/tevent/testsuite.c:1104:33: style: Parameter 'te' can be declared as pointer to const. However it seems that 'test_free_wrapper_timer_handler' is a callback function, if 'te' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/testsuite.c:1163:7: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/testsuite.c:1104:33: note: Parameter 'te' can be declared as pointer to const ldb-2.2.3/lib/tevent/testsuite.c:1106:18: style: Parameter 'private_data' can be declared as pointer to const. However it seems that 'test_free_wrapper_timer_handler' is a callback function, if 'private_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/testsuite.c:1163:7: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/testsuite.c:1106:18: note: Parameter 'private_data' can be declared as pointer to const ldb-2.2.3/lib/tevent/testsuite.c:128:31: style: Variable 'info_count' is assigned a value that is never used. [unreadVariable] ldb-2.2.3/lib/tevent/testsuite.c:128:21: style: Variable 'info_count' is assigned a value that is never used. [unreadVariable] ldb-2.2.3/lib/tevent/tevent.c:655:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable create_location [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent.c:751:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent.c:812:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent.c:899:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent.c:948:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent.c:974:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent.c:1011:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent.c:1019:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTCONN [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent.c:491:10: style: Condition 'ret!=0' is always false [knownConditionTrueFalse] ldb-2.2.3/lib/tevent/tevent.c:490:41: note: Calling function 'tevent_common_context_constructor' returns 0 ldb-2.2.3/lib/tevent/tevent.c:490:41: note: Assignment 'ret=tevent_common_context_constructor(ev)', assigned value is 0 ldb-2.2.3/lib/tevent/tevent.c:491:10: note: Condition 'ret!=0' is always false ldb-2.2.3/lib/tevent/tevent.c:664:28: style:inconclusive: Function '_tevent_schedule_immediate' argument 2 names different: declaration 'ctx' definition 'ev'. [funcArgNamesDifferent] ldb-2.2.3/lib/tevent/tevent.h:305:28: note: Function '_tevent_schedule_immediate' argument 2 names different: declaration 'ctx' definition 'ev'. ldb-2.2.3/lib/tevent/tevent.c:664:28: note: Function '_tevent_schedule_immediate' argument 2 names different: declaration 'ctx' definition 'ev'. ldb-2.2.3/lib/tevent/tevent.c:565:60: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'tevent_fd_auto_close_fn' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/tevent.c:575:30: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/tevent.c:565:60: note: Parameter 'ev' can be declared as pointer to const ldb-2.2.3/lib/tevent/tevent.c:566:27: style: Parameter 'fde' can be declared as pointer to const. However it seems that 'tevent_fd_auto_close_fn' is a callback function, if 'fde' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/tevent.c:575:30: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/tevent.c:566:27: note: Parameter 'fde' can be declared as pointer to const ldb-2.2.3/lib/tevent/tevent.c:568:15: style: Parameter 'private_data' can be declared as pointer to const. However it seems that 'tevent_fd_auto_close_fn' is a callback function, if 'private_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/tevent.c:575:30: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/tevent.c:568:15: note: Parameter 'private_data' can be declared as pointer to const ldb-2.2.3/lib/tevent/tevent.c:598:51: style: Parameter 'ev' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tevent/tevent.c:862:55: style: Parameter 'ev' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tevent/tevent.c:935:23: style: Parameter 'fde' can be declared as pointer to const. However it seems that 'wakeup_pipe_handler' is a callback function, if 'fde' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/tevent.c:986:19: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/tevent.c:935:23: note: Parameter 'fde' can be declared as pointer to const ldb-2.2.3/lib/tevent/tevent.c:1016:49: style: Parameter 'ev' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tevent/tevent.c:417:6: style: Unused variable: ret [unusedVariable] ldb-2.2.3/lib/tevent/tevent_debug.c:47:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_debug.c:68:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_epoll.c:154:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_epoll.c:177:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLLIN [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_epoll.c:319:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLL_CTL_MOD [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_epoll.c:385:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLL_CTL_ADD [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_epoll.c:453:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLL_CTL_DEL [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_epoll.c:513:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLL_CTL_MOD [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_epoll.c:651:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_epoll.c:931:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_epoll.c:245:2: error: Address of local auto-variable assigned to a function parameter. [autoVariables] ldb-2.2.3/lib/tevent/tevent_epoll.c:818:7: style: Condition 'panic_triggered' is always false [knownConditionTrueFalse] ldb-2.2.3/lib/tevent/tevent_epoll.c:812:6: note: Assuming that condition 'panic_triggered' is not redundant ldb-2.2.3/lib/tevent/tevent_epoll.c:818:7: note: Condition 'panic_triggered' is always false ldb-2.2.3/lib/tevent/tevent_epoll.c:826:6: style: Condition 'panic_triggered' is always false [knownConditionTrueFalse] ldb-2.2.3/lib/tevent/tevent_epoll.c:812:6: note: Assuming that condition 'panic_triggered' is not redundant ldb-2.2.3/lib/tevent/tevent_epoll.c:826:6: note: Condition 'panic_triggered' is always false ldb-2.2.3/lib/tevent/tevent_epoll.c:889:6: style: Condition 'panic_triggered' is always false [knownConditionTrueFalse] ldb-2.2.3/lib/tevent/tevent_epoll.c:877:25: note: Assignment 'panic_triggered=false', assigned value is 0 ldb-2.2.3/lib/tevent/tevent_epoll.c:879:17: note: Assuming condition is false ldb-2.2.3/lib/tevent/tevent_epoll.c:889:6: note: Condition 'panic_triggered' is always false ldb-2.2.3/lib/tevent/tevent_epoll.c:555:20: style: Variable 'mpx_fde' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/tevent/tevent_epoll.c:631:83: style: Parameter 'tvalp' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tevent/tevent_fd.c:79:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable event_ctx [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_fd.c:94:55: style: Parameter 'fde' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tevent/tevent_immediate.c:60:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable create_location [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_immediate.c:113:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable event_ctx [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_immediate.c:204:10: style: Condition 'ret!=0' is always false [knownConditionTrueFalse] ldb-2.2.3/lib/tevent/tevent_immediate.c:203:46: note: Calling function 'tevent_common_invoke_immediate_handler' returns 0 ldb-2.2.3/lib/tevent/tevent_immediate.c:203:46: note: Assignment 'ret=tevent_common_invoke_immediate_handler(im,NULL)', assigned value is 0 ldb-2.2.3/lib/tevent/tevent_immediate.c:204:10: note: Condition 'ret!=0' is always false ldb-2.2.3/lib/tevent/tevent_liboop.c:74:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OOP_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_liboop.c:101:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVENT_FD_READ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_liboop.c:127:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tevent_fd [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_liboop.c:167:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVENT_FD_READ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_liboop.c:200:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OOP_CONTINUE [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_liboop.c:230:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tevent_timer [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_liboop.c:255:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OOP_CONTINUE [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_liboop.c:271:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OOP_CONTINUE [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_liboop.c:40:64: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'oop_event_context_destructor' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/tevent_liboop.c:62:29: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/tevent_liboop.c:40:64: note: Parameter 'ev' can be declared as pointer to const ldb-2.2.3/lib/tevent/tevent_liboop.c:151:58: style: Parameter 'fde' can be declared as pointer to const. However it seems that 'oop_event_get_fd_flags' is a callback function, if 'fde' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/tevent_liboop.c:281:18: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/tevent_liboop.c:151:58: note: Parameter 'fde' can be declared as pointer to const ldb-2.2.3/lib/tevent/tevent_liboop.c:184:65: style: Parameter 'te' can be declared as pointer to const. However it seems that 'oop_event_timed_deny_destructor' is a callback function, if 'te' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/tevent_liboop.c:194:28: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/tevent_liboop.c:184:65: note: Parameter 'te' can be declared as pointer to const ldb-2.2.3/lib/tevent/tevent_liboop.c:249:55: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'oop_event_loop_once' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/tevent_liboop.c:285:15: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/tevent_liboop.c:249:55: note: Parameter 'ev' can be declared as pointer to const ldb-2.2.3/lib/tevent/tevent_liboop.c:251:8: style: Variable 'oop_ret' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/tevent/tevent_liboop.c:265:55: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'oop_event_loop_wait' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/lib/tevent/tevent_liboop.c:286:15: note: You might need to cast the function pointer here ldb-2.2.3/lib/tevent/tevent_liboop.c:265:55: note: Parameter 'ev' can be declared as pointer to const ldb-2.2.3/lib/tevent/tevent_liboop.c:267:8: style: Variable 'oop_ret' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/tevent/tevent_poll.c:313:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_poll.c:353:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_poll.c:484:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_poll.c:332:22: style: Variable 'fde' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/tevent/tevent_poll.c:456:21: style: Parameter 'tvalp' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tevent/tevent_port.c:66:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_port.c:163:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PORT_SOURCE_FD [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_port.c:182:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PORT_SOURCE_FD [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_port.c:484:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_port.c:777:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_port.c:378:20: style: Variable 'mpx_fde' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/tevent/tevent_port.c:449:80: style: Parameter 'tvalp' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tevent/tevent_queue.c:81:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_queue.c:117:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_queue.c:222:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_queue.c:299:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_queue.c:335:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_queue.c:355:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_queue.c:236:29: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/tevent/tevent_queue.c:310:49: style: Parameter 'queue' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tevent/tevent_queue.c:315:48: style: Parameter 'queue' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tevent/tevent_req.c:87:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable internal [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_req.c:257:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_req.c:300:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_req.c:342:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_req.c:411:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_req.c:433:3: warning: Either the condition 'p->subprofiles' is redundant or there is possible null pointer dereference: p->subprofiles. [nullPointerRedundantCheck] ldb-2.2.3/lib/tevent/tevent_req.c:433:3: note: Assuming that condition 'p->subprofiles' is not redundant ldb-2.2.3/lib/tevent/tevent_req.c:433:3: note: Null pointer dereference ldb-2.2.3/lib/tevent/tevent_req.c:433:3: style: Same expression on both sides of '=='. [duplicateExpression] ldb-2.2.3/lib/tevent/tevent_req.c:433:3: style: Same expression on both sides of '!='. [duplicateExpression] ldb-2.2.3/lib/tevent/tevent_req.c:62:15: style:inconclusive: Function '_tevent_req_create' argument 2 names different: declaration 'pstate' definition 'pdata'. [funcArgNamesDifferent] ldb-2.2.3/lib/tevent/tevent.h:1040:17: note: Function '_tevent_req_create' argument 2 names different: declaration 'pstate' definition 'pdata'. ldb-2.2.3/lib/tevent/tevent_req.c:62:15: note: Function '_tevent_req_create' argument 2 names different: declaration 'pstate' definition 'pdata'. ldb-2.2.3/lib/tevent/tevent_req.c:63:16: style:inconclusive: Function '_tevent_req_create' argument 3 names different: declaration 'state_size' definition 'data_size'. [funcArgNamesDifferent] ldb-2.2.3/lib/tevent/tevent.h:1041:18: note: Function '_tevent_req_create' argument 3 names different: declaration 'state_size' definition 'data_size'. ldb-2.2.3/lib/tevent/tevent_req.c:63:16: note: Function '_tevent_req_create' argument 3 names different: declaration 'state_size' definition 'data_size'. ldb-2.2.3/lib/tevent/tevent_req.c:525:18: style:inconclusive: Function 'tevent_req_profile_set_name' argument 2 names different: declaration 'name' definition 'req_name'. [funcArgNamesDifferent] ldb-2.2.3/lib/tevent/tevent.h:1482:18: note: Function 'tevent_req_profile_set_name' argument 2 names different: declaration 'name' definition 'req_name'. ldb-2.2.3/lib/tevent/tevent_req.c:525:18: note: Function 'tevent_req_profile_set_name' argument 2 names different: declaration 'name' definition 'req_name'. ldb-2.2.3/lib/tevent/tevent_req.c:268:51: style: Parameter 'req' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tevent/tevent_req.c:368:43: style: Parameter 'req' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tevent/tevent_signal.c:43:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEVENT_NUM_SIGNALS [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_signal.c:101:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_signal.c:245:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_signal.c:419:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEVENT_NUM_SIGNALS [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_signal.c:470:12: style: Condition 'ret!=0' is always false [knownConditionTrueFalse] ldb-2.2.3/lib/tevent/tevent_signal.c:468:45: note: Calling function 'tevent_common_invoke_signal_handler' returns 0 ldb-2.2.3/lib/tevent/tevent_signal.c:468:45: note: Assignment 'ret=tevent_common_invoke_signal_handler(se,i,count,NULL,NULL)', assigned value is 0 ldb-2.2.3/lib/tevent/tevent_signal.c:470:12: note: Condition 'ret!=0' is always false ldb-2.2.3/lib/tevent/tevent_standard.c:110:12: warning: Either the condition 'glue->epoll_ops!=NULL' is redundant or there is possible null pointer dereference: glue->epoll_ops. [nullPointerRedundantCheck] ldb-2.2.3/lib/tevent/tevent_standard.c:116:22: note: Assuming that condition 'glue->epoll_ops!=NULL' is not redundant ldb-2.2.3/lib/tevent/tevent_standard.c:110:12: note: Null pointer dereference ldb-2.2.3/lib/tevent/tevent_standard.c:141:12: warning: Either the condition 'glue->epoll_ops!=NULL' is redundant or there is possible null pointer dereference: glue->epoll_ops. [nullPointerRedundantCheck] ldb-2.2.3/lib/tevent/tevent_standard.c:147:22: note: Assuming that condition 'glue->epoll_ops!=NULL' is not redundant ldb-2.2.3/lib/tevent/tevent_standard.c:141:12: note: Null pointer dereference ldb-2.2.3/lib/tevent/tevent_threads.c:374:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_threads.c:453:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_threads.c:372:26: style: Parameter 'dest_ev_ctx' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tevent/tevent_threads.c:378:63: style: Parameter 'tp' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tevent/tevent_threads.c:381:13: style: Parameter 'pp_private_data' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tevent/tevent_threads.c:423:14: style: Parameter 'mem_ctx' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tevent/tevent_threads.c:423:46: style: Parameter 'ev' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tevent/tevent_threads.c:458:83: style: Parameter 'im' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tevent/tevent_threads.c:466:74: style: Parameter 'tctx' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tevent/tevent_threads.c:467:32: style: Parameter 'im' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tevent/tevent_threads.c:469:13: style: Parameter 'private_data' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tevent/tevent_threads.c:564:71: style: Parameter 'ev' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tevent/tevent_timed.c:242:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable event_ctx [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_timed.c:443:10: style: Condition 'ret!=0' is always false [knownConditionTrueFalse] ldb-2.2.3/lib/tevent/tevent_timed.c:442:42: note: Calling function 'tevent_common_invoke_timer_handler' returns 0 ldb-2.2.3/lib/tevent/tevent_timed.c:442:42: note: Assignment 'ret=tevent_common_invoke_timer_handler(te,current_time,NULL)', assigned value is 0 ldb-2.2.3/lib/tevent/tevent_timed.c:443:10: note: Condition 'ret!=0' is always false ldb-2.2.3/lib/tevent/tevent_util.c:82:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_wakeup.c:41:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_wrapper.c:36:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_wrapper.c:57:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_wrapper.c:90:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_wrapper.c:122:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_wrapper.c:152:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_wrapper.c:172:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_wrapper.c:179:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_wrapper.c:344:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_wrapper.c:455:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ev_ptr [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/tevent/tevent_wrapper.c:390:55: style: Parameter 'ev' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/lib/tevent/tevent_wrapper.c:559:25: style: Variable 'main_ev1' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/lib/tevent/tevent_wrapper.c:560:25: style: Variable 'main_ev2' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/modules/asq.c:102:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/modules/asq.c:137:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/modules/asq.c:178:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/modules/asq.c:224:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/modules/asq.c:260:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_NO_SUCH_OBJECT [valueFlowBailoutIncompleteVar] ldb-2.2.3/modules/asq.c:322:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/modules/asq.c:353:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_CONTROL_ASQ_OID [valueFlowBailoutIncompleteVar] ldb-2.2.3/modules/asq.c:392:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_CONTROL_ASQ_OID [valueFlowBailoutIncompleteVar] ldb-2.2.3/modules/paged_searches.c:69:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_CONTROL_PAGED_RESULTS_OID [valueFlowBailoutIncompleteVar] ldb-2.2.3/modules/paged_searches.c:124:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/modules/paged_searches.c:145:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_reply [valueFlowBailoutIncompleteVar] ldb-2.2.3/modules/paged_searches.c:173:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/modules/paged_searches.c:251:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/modules/paged_searches.c:304:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/modules/paged_searches.c:345:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/modules/paged_searches.c:232:23: style: Variable 'private_data' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/modules/rdn_name.c:63:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_REPLY_REFERRAL [valueFlowBailoutIncompleteVar] ldb-2.2.3/modules/rdn_name.c:104:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/modules/rdn_name.c:220:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_REPLY_REFERRAL [valueFlowBailoutIncompleteVar] ldb-2.2.3/modules/rdn_name.c:259:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_REPLY_REFERRAL [valueFlowBailoutIncompleteVar] ldb-2.2.3/modules/rdn_name.c:356:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/modules/rdn_name.c:382:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_request [valueFlowBailoutIncompleteVar] ldb-2.2.3/modules/rdn_name.c:403:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_CONTROL_RECALCULATE_RDN_OID [valueFlowBailoutIncompleteVar] ldb-2.2.3/modules/rdn_name.c:587:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/modules/rdn_name.c:392:30: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/modules/skel.c:118:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/modules/sort.c:80:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/modules/sort.c:154:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/modules/sort.c:206:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/modules/sort.c:269:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_CONTROL_SERVER_SORT_OID [valueFlowBailoutIncompleteVar] ldb-2.2.3/modules/sort.c:382:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_CONTROL_SERVER_SORT_OID [valueFlowBailoutIncompleteVar] ldb-2.2.3/modules/sort.c:40:22: style: struct member 'opaque::ldb' is never used. [unusedStructMember] ldb-2.2.3/modules/sort.c:41:35: style: struct member 'opaque::h' is never used. [unusedStructMember] ldb-2.2.3/modules/sort.c:42:14: style: struct member 'opaque::attribute' is never used. [unusedStructMember] ldb-2.2.3/nssldb/ldb-grp.c:52:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/nssldb/ldb-grp.c:81:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/nssldb/ldb-grp.c:100:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/nssldb/ldb-grp.c:161:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/nssldb/ldb-grp.c:254:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/nssldb/ldb-grp.c:352:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/nssldb/ldb-nss.c:33:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/nssldb/ldb-nss.c:92:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/nssldb/ldb-nss.c:202:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/nssldb/ldb-nss.c:290:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/nssldb/ldb-nss.c:345:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/nssldb/ldb-nss.c:332:55: style:inconclusive: Function '_ldb_nss_group_request' argument 1 names different: declaration 'res' definition '_res'. [funcArgNamesDifferent] ldb-2.2.3/nssldb/ldb-nss.h:79:55: note: Function '_ldb_nss_group_request' argument 1 names different: declaration 'res' definition '_res'. ldb-2.2.3/nssldb/ldb-nss.c:332:55: note: Function '_ldb_nss_group_request' argument 1 names different: declaration 'res' definition '_res'. ldb-2.2.3/nssldb/ldb-nss.c:178:9: style: Variable 'bufpos' is assigned a value that is never used. [unreadVariable] ldb-2.2.3/nssldb/ldb-nss.c:386:7: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] ldb-2.2.3/nssldb/ldb-pwd.c:39:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/nssldb/ldb-pwd.c:68:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/nssldb/ldb-pwd.c:89:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/nssldb/ldb-pwd.c:121:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/nssldb/ldb-pwd.c:188:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:172:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:178:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:476:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:482:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:488:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:494:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:500:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:511:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:517:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:614:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:757:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:773:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:1029:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:1039:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:1049:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:1059:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:1069:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:1084:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:1094:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:1103:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:1112:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:2238:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:2294:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:2692:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:2727:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:2778:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:2785:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:2792:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:3420:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:3509:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:3554:23: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] ldb-2.2.3/pyldb.c:118:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_NotImplemented [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:186:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_AttributeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:223:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:287:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:360:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:462:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:542:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:567:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:606:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_NotImplemented [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:624:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:708:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:727:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:748:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:766:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:782:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:920:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:999:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:1014:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:1025:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:1034:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:1044:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:1054:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:1064:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:1074:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:1088:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:1098:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:1107:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:1116:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:1126:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:1159:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:1219:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:1250:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:1366:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:1404:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:1497:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:1572:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:1658:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:1674:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:1682:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:1709:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:1745:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:1817:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:1875:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:1905:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:2036:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:2093:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:2215:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:2234:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:2251:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:2280:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:2299:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ATTR_FLAG_FIXED [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:2440:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:2467:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:2557:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_AttributeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:2637:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:2697:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:2730:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:2781:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:2788:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:2795:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:2815:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:2855:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_request [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:2877:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_request [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:2898:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_request [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:2918:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_request [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:2997:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_message_element [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:3092:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:3112:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:3131:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:3146:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_NotImplemented [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:3204:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_message_element [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:3324:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:3372:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_FLAG_MOD_REPLACE [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:3416:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:3430:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:3466:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_KeyError [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:3498:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:3538:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:3578:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:3651:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:3761:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_AttributeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:3821:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_NotImplemented [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:3911:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:3955:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_message [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:3981:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_message [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:4010:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:4033:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:4066:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:4079:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:4096:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:4113:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:4130:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:4147:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:4179:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_module_ops [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:4234:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_OSError [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:4276:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:4298:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:4344:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyBytes_Type [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb.c:4466:2: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] ldb-2.2.3/pyldb.c:4477:2: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] ldb-2.2.3/pyldb.c:4478:2: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] ldb-2.2.3/pyldb.c:4479:2: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] ldb-2.2.3/pyldb.c:4480:2: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] ldb-2.2.3/pyldb.c:4481:2: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] ldb-2.2.3/pyldb.c:4482:2: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] ldb-2.2.3/pyldb.c:4483:2: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] ldb-2.2.3/pyldb.c:1078:43: style: Parameter 'self' can be declared as pointer to const. However it seems that 'py_ldb_repr' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/pyldb.c:2514:23: note: You might need to cast the function pointer here ldb-2.2.3/pyldb.c:1078:43: note: Parameter 'self' can be declared as pointer to const ldb-2.2.3/pyldb.c:1354:30: style: Variable 'msg_el' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/pyldb.c:2207:8: style: Variable 'data' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/pyldb.c:2240:22: style: Variable 'ldb' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/pyldb.c:2604:50: style: Parameter 'self' can be declared as pointer to const. However it seems that 'py_ldb_result_repr' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/pyldb.c:2612:23: note: You might need to cast the function pointer here ldb-2.2.3/pyldb.c:2604:50: note: Parameter 'self' can be declared as pointer to const ldb-2.2.3/pyldb.c:2749:73: style: Parameter 'self' can be declared as pointer to const. However it seems that 'py_ldb_search_iterator_repr' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/pyldb.c:2756:23: note: You might need to cast the function pointer here ldb-2.2.3/pyldb.c:2749:73: note: Parameter 'self' can be declared as pointer to const ldb-2.2.3/pyldb.c:3296:30: style: Variable 'el' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/pyldb.c:3438:30: style: Variable 'el' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/pyldb.c:55:39: style: struct member 'py_ldb_search_iterator_reply::prev' is never used. [unusedStructMember] ldb-2.2.3/pyldb_util.c:51:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_NameError [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb_util.c:116:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb_util.c:126:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ldb-2.2.3/pyldb_util.c:69:50: style:inconclusive: Function 'pyldb_check_type' argument 2 names different: declaration 'type_name' definition 'typename'. [funcArgNamesDifferent] ldb-2.2.3/pyldb.h:55:50: note: Function 'pyldb_check_type' argument 2 names different: declaration 'type_name' definition 'typename'. ldb-2.2.3/pyldb_util.c:69:50: note: Function 'pyldb_check_type' argument 2 names different: declaration 'type_name' definition 'typename'. ldb-2.2.3/tests/ldb_filter_attrs_test.c:121:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_filter_attrs_test.c:173:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_filter_attrs_test.c:218:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_filter_attrs_test.c:293:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_filter_attrs_test.c:362:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_filter_attrs_test.c:417:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_filter_attrs_test.c:486:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_filter_attrs_test.c:555:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_filter_attrs_test.c:647:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_filter_attrs_test.c:691:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_filter_attrs_test.c:817:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_filter_attrs_test.c:872:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_filter_attrs_test.c:919:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_key_value_sub_txn_test.c:125:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_key_value_sub_txn_test.c:208:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_key_value_sub_txn_test.c:235:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_kv_context [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_key_value_sub_txn_test.c:271:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_key_value_sub_txn_test.c:287:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_key_value_sub_txn_test.c:309:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_key_value_sub_txn_test.c:354:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_key_value_sub_txn_test.c:379:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_key_value_sub_txn_test.c:426:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_key_value_sub_txn_test.c:493:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_key_value_sub_txn_test.c:565:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_key_value_sub_txn_test.c:642:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_key_value_sub_txn_test.c:738:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_key_value_sub_txn_test.c:121:44: style: Parameter 'test_ctx' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/tests/ldb_key_value_test.c:67:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_key_value_test.c:70:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_key_value_test.c:73:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_key_value_test.c:76:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_key_value_test.c:111:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_key_value_test.c:129:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_key_value_test.c:132:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_key_value_test.c:146:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_key_value_test.c:195:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_key_value_test.c:244:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_key_value_test.c:275:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_key_value_test.c:304:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_key_value_test.c:337:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_key_value_test.c:66:44: style: Parameter 'module' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/tests/ldb_key_value_test.c:69:42: style: Parameter 'module' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/tests/ldb_key_value_test.c:75:56: style: Parameter 'module' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/tests/ldb_key_value_test.c:128:52: style: Parameter 'ldb_kv' can be declared as pointer to const. However it seems that 'mock_begin_write' is a callback function, if 'ldb_kv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/tests/ldb_key_value_test.c:148:18: note: You might need to cast the function pointer here ldb-2.2.3/tests/ldb_key_value_test.c:128:52: note: Parameter 'ldb_kv' can be declared as pointer to const ldb-2.2.3/tests/ldb_key_value_test.c:131:52: style: Parameter 'ldb_kv' can be declared as pointer to const. However it seems that 'mock_abort_write' is a callback function, if 'ldb_kv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/tests/ldb_key_value_test.c:149:18: note: You might need to cast the function pointer here ldb-2.2.3/tests/ldb_key_value_test.c:131:52: note: Parameter 'ldb_kv' can be declared as pointer to const ldb-2.2.3/tests/ldb_key_value_test.c:174:52: style: Parameter 'ldb_kv' can be declared as pointer to const. However it seems that 'mock_get_size' is a callback function, if 'ldb_kv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/tests/ldb_key_value_test.c:198:15: note: You might need to cast the function pointer here ldb-2.2.3/tests/ldb_key_value_test.c:174:52: note: Parameter 'ldb_kv' can be declared as pointer to const ldb-2.2.3/tests/ldb_key_value_test.c:179:25: style: Parameter 'ldb_kv' can be declared as pointer to const. However it seems that 'mock_iterate' is a callback function, if 'ldb_kv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/tests/ldb_key_value_test.c:197:14: note: You might need to cast the function pointer here ldb-2.2.3/tests/ldb_key_value_test.c:179:25: note: Parameter 'ldb_kv' can be declared as pointer to const ldb-2.2.3/tests/ldb_key_value_test.c:181:8: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'mock_iterate' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/tests/ldb_key_value_test.c:197:14: note: You might need to cast the function pointer here ldb-2.2.3/tests/ldb_key_value_test.c:181:8: note: Parameter 'ctx' can be declared as pointer to const ldb-2.2.3/tests/ldb_kv_ops_test.c:95:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_kv_ops_test.c:165:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_kv_ops_test.c:187:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_kv_private [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_kv_ops_test.c:206:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_kv_ops_test.c:348:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_PROTOCOL_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_kv_ops_test.c:436:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_NO_SUCH_OBJECT [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_kv_ops_test.c:506:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_NO_SUCH_OBJECT [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_kv_ops_test.c:589:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_NO_SUCH_OBJECT [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_kv_ops_test.c:644:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_PROTOCOL_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_kv_ops_test.c:712:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_PROTOCOL_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_kv_ops_test.c:742:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_kv_ops_test.c:895:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_PROTOCOL_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_kv_ops_test.c:955:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_kv_ops_test.c:1130:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_kv_ops_test.c:1456:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_kv_ops_test.c:809:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] ldb-2.2.3/tests/ldb_kv_ops_test.c:805:6: note: ret is assigned ldb-2.2.3/tests/ldb_kv_ops_test.c:809:6: note: ret is overwritten ldb-2.2.3/tests/ldb_kv_ops_test.c:1052:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] ldb-2.2.3/tests/ldb_kv_ops_test.c:1047:6: note: ret is assigned ldb-2.2.3/tests/ldb_kv_ops_test.c:1052:6: note: ret is overwritten ldb-2.2.3/tests/ldb_kv_ops_test.c:91:44: style: Parameter 'test_ctx' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/tests/ldb_kv_ops_test.c:216:7: style: Variable 'rcode' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/tests/ldb_lmdb_free_list_test.c:96:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_lmdb_free_list_test.c:169:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_lmdb_free_list_test.c:191:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_kv_private [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_lmdb_free_list_test.c:207:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_lmdb_free_list_test.c:267:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_lmdb_free_list_test.c:410:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_lmdb_free_list_test.c:559:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_lmdb_free_list_test.c:92:44: style: Parameter 'test_ctx' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/tests/ldb_lmdb_size_test.c:81:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_lmdb_size_test.c:160:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_lmdb_size_test.c:77:47: style: Parameter 'test_ctx' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/tests/ldb_lmdb_test.c:81:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_lmdb_test.c:151:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_lmdb_test.c:201:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_lmdb_test.c:241:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_lmdb_test.c:333:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_PROTOCOL_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_lmdb_test.c:370:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_lmdb_test.c:411:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_UNWILLING_TO_PERFORM [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_lmdb_test.c:518:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_lmdb_test.c:77:47: style: Parameter 'test_ctx' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/tests/ldb_lmdb_test.c:481:18: style: Variable 'env1' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/tests/ldb_lmdb_test.c:482:18: style: Variable 'env2' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/tests/ldb_lmdb_test.c:512:19: style: Variable 'env3' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/common/ldb_match.c:133:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_INAPPROPRIATE_MATCHING [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_match.c:249:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_INAPPROPRIATE_MATCHING [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_match.c:514:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_INAPPROPRIATE_MATCHING [valueFlowBailoutIncompleteVar] ldb-2.2.3/common/ldb_match.c:555:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_match_test.c:82:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_match_test.c:145:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_INAPPROPRIATE_MATCHING [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_match_test.c:236:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:63:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:135:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:161:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_CHANGETYPE_ADD [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:189:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SECRET_ATTRIBUTE_LIST_OPAQUE [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:232:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:336:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dn [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:366:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:392:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:442:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:471:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:487:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_NO_SUCH_OBJECT [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:508:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_result [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:559:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_result [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:749:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:774:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:804:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:849:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:919:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_FLAG_MOD_ADD [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:947:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_FLAG_MOD_ADD [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:978:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_message_element [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:1004:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_FLAG_MOD_REPLACE [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:1027:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_FLAG_MOD_REPLACE [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:1056:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_FLAG_MOD_REPLACE [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:1075:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_FLAG_MOD_REPLACE [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:1096:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_FLAG_MOD_DELETE [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:1116:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_FLAG_MOD_DELETE [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:1235:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:1325:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SCOPE_SUBTREE [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:1442:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_NO_SUCH_OBJECT [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:1481:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:1520:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:1668:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SCOPE_BASE [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:1752:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:1954:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:2074:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:2223:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SCOPE_SUBTREE [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:2300:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:2345:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SCOPE_SUBTREE [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:2539:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:2651:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:2776:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:2802:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:2872:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SYNTAX_OCTET_STRING [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:2943:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SYNTAX_OCTET_STRING [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:3027:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_NO_SUCH_OBJECT [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:3094:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:3119:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:3155:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_NO_SUCH_OBJECT [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:3183:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_ENTRY_ALREADY_EXISTS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:3208:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:3239:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:3311:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:3415:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_FLAG_INTERNAL_FORCE_UNIQUE_INDEX [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:3454:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:3490:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_NO_SUCH_OBJECT [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:3535:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:3564:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:3595:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_NO_SUCH_OBJECT [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:3627:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:3676:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:3723:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:3776:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_debug_string [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:3835:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_debug_string [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:3897:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:3922:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_NO_SUCH_OBJECT [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:3959:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_debug_string [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:4012:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_debug_string [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:4281:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_PROTOCOL_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:4340:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_PROTOCOL_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:4408:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_PROTOCOL_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:4495:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_mod_op_test.c:2894:9: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] ldb-2.2.3/tests/ldb_mod_op_test.c:3001:9: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] ldb-2.2.3/tests/ldb_mod_op_test.c:2356:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] ldb-2.2.3/tests/ldb_mod_op_test.c:2354:6: note: ret is assigned ldb-2.2.3/tests/ldb_mod_op_test.c:2356:6: note: ret is overwritten ldb-2.2.3/tests/ldb_mod_op_test.c:2612:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] ldb-2.2.3/tests/ldb_mod_op_test.c:2608:6: note: ret is assigned ldb-2.2.3/tests/ldb_mod_op_test.c:2612:6: note: ret is overwritten ldb-2.2.3/tests/ldb_mod_op_test.c:2680:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] ldb-2.2.3/tests/ldb_mod_op_test.c:2676:7: note: ret is assigned ldb-2.2.3/tests/ldb_mod_op_test.c:2680:7: note: ret is overwritten ldb-2.2.3/tests/ldb_mod_op_test.c:3681:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] ldb-2.2.3/tests/ldb_mod_op_test.c:3678:6: note: ret is assigned ldb-2.2.3/tests/ldb_mod_op_test.c:3681:6: note: ret is overwritten ldb-2.2.3/tests/ldb_mod_op_test.c:3696:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] ldb-2.2.3/tests/ldb_mod_op_test.c:3693:6: note: ret is assigned ldb-2.2.3/tests/ldb_mod_op_test.c:3696:6: note: ret is overwritten ldb-2.2.3/tests/ldb_mod_op_test.c:3728:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] ldb-2.2.3/tests/ldb_mod_op_test.c:3725:6: note: ret is assigned ldb-2.2.3/tests/ldb_mod_op_test.c:3728:6: note: ret is overwritten ldb-2.2.3/tests/ldb_mod_op_test.c:3743:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] ldb-2.2.3/tests/ldb_mod_op_test.c:3740:6: note: ret is assigned ldb-2.2.3/tests/ldb_mod_op_test.c:3743:6: note: ret is overwritten ldb-2.2.3/tests/ldb_mod_op_test.c:3792:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] ldb-2.2.3/tests/ldb_mod_op_test.c:3789:6: note: ret is assigned ldb-2.2.3/tests/ldb_mod_op_test.c:3792:6: note: ret is overwritten ldb-2.2.3/tests/ldb_mod_op_test.c:3807:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] ldb-2.2.3/tests/ldb_mod_op_test.c:3804:6: note: ret is assigned ldb-2.2.3/tests/ldb_mod_op_test.c:3807:6: note: ret is overwritten ldb-2.2.3/tests/ldb_mod_op_test.c:3851:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] ldb-2.2.3/tests/ldb_mod_op_test.c:3848:6: note: ret is assigned ldb-2.2.3/tests/ldb_mod_op_test.c:3851:6: note: ret is overwritten ldb-2.2.3/tests/ldb_mod_op_test.c:3866:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] ldb-2.2.3/tests/ldb_mod_op_test.c:3863:6: note: ret is assigned ldb-2.2.3/tests/ldb_mod_op_test.c:3866:6: note: ret is overwritten ldb-2.2.3/tests/ldb_mod_op_test.c:59:47: style: Parameter 'test_ctx' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/tests/ldb_mod_op_test.c:1145:8: style: Variable 'full_dn' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/tests/ldb_mod_op_test.c:1339:8: style: Variable 'full_dn1' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/tests/ldb_mod_op_test.c:1340:8: style: Variable 'full_dn2' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/tests/ldb_mod_op_test.c:1474:27: style: Parameter 'ares' can be declared as pointer to const. However it seems that 'test_ldb_search_against_transaction_callback2' is a callback function, if 'ares' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/tests/ldb_mod_op_test.c:1611:8: note: You might need to cast the function pointer here ldb-2.2.3/tests/ldb_mod_op_test.c:1474:27: note: Parameter 'ares' can be declared as pointer to const ldb-2.2.3/tests/ldb_mod_op_test.c:1509:27: style: Parameter 'ares' can be declared as pointer to const. However it seems that 'test_ldb_search_against_transaction_callback1' is a callback function, if 'ares' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/tests/ldb_mod_op_test.c:1672:8: note: You might need to cast the function pointer here ldb-2.2.3/tests/ldb_mod_op_test.c:1509:27: note: Parameter 'ares' can be declared as pointer to const ldb-2.2.3/tests/ldb_mod_op_test.c:2295:30: style: Parameter 'ares' can be declared as pointer to const. However it seems that 'test_ldb_modify_before_ldb_wait_callback1' is a callback function, if 'ares' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/tests/ldb_mod_op_test.c:2351:8: note: You might need to cast the function pointer here ldb-2.2.3/tests/ldb_mod_op_test.c:2295:30: note: Parameter 'ares' can be declared as pointer to const ldb-2.2.3/tests/ldb_mod_op_test.c:2845:22: style: Parameter 'private_data' can be declared as pointer to const. However it seems that 'ldb_test_attribute_handler_override' is a callback function, if 'private_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/tests/ldb_mod_op_test.c:3000:9: note: You might need to cast the function pointer here ldb-2.2.3/tests/ldb_mod_op_test.c:2845:22: note: Parameter 'private_data' can be declared as pointer to const ldb-2.2.3/tests/ldb_msg.c:73:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_msg.c:89:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_msg.c:142:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_message_element [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_msg.c:188:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_MSG_FIND_COMMON_REMOVE_DUPLICATES [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_no_lmdb_test.c:69:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_no_lmdb_test.c:129:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OTHER [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_no_lmdb_test.c:65:47: style: Parameter 'test_ctx' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/tests/ldb_parse_test.c:171:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CM_OUTPUT_SUBUNIT [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_tdb_test.c:77:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_tdb_test.c:137:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_tdb_test.c:250:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_tdb_test.c:344:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __location__ [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/ldb_tdb_test.c:73:47: style: Parameter 'test_ctx' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/tests/ldb_tdb_test.c:213:15: style: Variable 'tdb1' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/tests/ldb_tdb_test.c:214:15: style: Variable 'tdb2' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/tests/ldb_tdb_test.c:244:16: style: Variable 'tdb3' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/tests/lldb_ldap.c:80:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable berval [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/sample_module.c:32:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_request [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/sample_module.c:66:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_CONTROL_RELAX_OID [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/sample_module.c:101:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_CONTROL_RELAX_OID [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/sample_module.c:60:22: style: Variable 'control' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/tests/sample_module.c:98:22: style: Variable 'control' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/tests/test_ldb_dn.c:193:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/tests/test_ldb_qsort.c:28:29: style: Parameter 'a' can be declared as pointer to const. However it seems that 'cmp_integer' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/tests/test_ldb_qsort.c:49:57: note: You might need to cast the function pointer here ldb-2.2.3/tests/test_ldb_qsort.c:28:29: note: Parameter 'a' can be declared as pointer to const ldb-2.2.3/tests/test_ldb_qsort.c:28:37: style: Parameter 'b' can be declared as pointer to const. However it seems that 'cmp_integer' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/tests/test_ldb_qsort.c:49:57: note: You might need to cast the function pointer here ldb-2.2.3/tests/test_ldb_qsort.c:28:37: note: Parameter 'b' can be declared as pointer to const ldb-2.2.3/tests/test_ldb_qsort.c:28:46: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'cmp_integer' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/tests/test_ldb_qsort.c:49:57: note: You might need to cast the function pointer here ldb-2.2.3/tests/test_ldb_qsort.c:28:46: note: Parameter 'opaque' can be declared as pointer to const ldb-2.2.3/third_party/cmocka/cmocka.c:1132:24: error: There is an unknown macro here somewhere. Configuration is required. If LargestIntegralTypePrintfFormat is a macro then please configure it. [unknownMacro] ldb-2.2.3/third_party/popt/lookup3.c:50:25: style: union member '_dbswap::uc' is never used. [unusedStructMember] ldb-2.2.3/third_party/popt/popt.c:1252:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/third_party/popt/popt.c:1731:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/third_party/popt/popt.c:1608:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] ldb-2.2.3/third_party/popt/popt.c:936:9: style: Condition '*t=='\0'' is always false [knownConditionTrueFalse] ldb-2.2.3/third_party/popt/popt.c:1352:19: style: Condition '*origOptString=='-'' is always true [knownConditionTrueFalse] ldb-2.2.3/third_party/popt/popt.c:1351:46: note: Assuming that condition '*origOptString!='-'' is not redundant ldb-2.2.3/third_party/popt/popt.c:1352:19: note: Condition '*origOptString=='-'' is always true ldb-2.2.3/third_party/popt/popt.c:718:8: error: Common realloc mistake: 't' nulled but not freed upon failure [memleakOnRealloc] ldb-2.2.3/third_party/popt/popt.c:1673:6: error: Common realloc mistake: 'items' nulled but not freed upon failure [memleakOnRealloc] ldb-2.2.3/third_party/popt/popt.c:613:41: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ldb-2.2.3/third_party/popt/popt.c:435:25: style: Variable 's' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/third_party/popt/popt.c:860:17: style: Variable 'bbits' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/third_party/popt/popt.c:880:17: style: Variable 'bbits' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/third_party/popt/popt.c:921:11: style: Variable 'tbuf' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/third_party/popt/popt.c:922:11: style: Variable 't' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/third_party/popt/popt.c:565:8: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] ldb-2.2.3/third_party/popt/popt.c:948:10: style: Variable 'tbuf' is assigned a value that is never used. [unreadVariable] ldb-2.2.3/third_party/popt/popt.c:1530:9: style: Variable 's' is assigned a value that is never used. [unreadVariable] ldb-2.2.3/third_party/popt/popt.c:1608:8: style: Variable 'items' is assigned a value that is never used. [unreadVariable] ldb-2.2.3/third_party/popt/poptconfig.c:153:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IWGRP [valueFlowBailoutIncompleteVar] ldb-2.2.3/third_party/popt/poptconfig.c:167:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] ldb-2.2.3/third_party/popt/poptconfig.c:402:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ldb-2.2.3/third_party/popt/poptconfig.c:501:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POPT_SYSCONFDIR [valueFlowBailoutIncompleteVar] ldb-2.2.3/third_party/popt/poptconfig.c:324:11: error: Common realloc mistake: 'b' nulled but not freed upon failure [memleakOnRealloc] ldb-2.2.3/third_party/popt/poptconfig.c:385:8: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] ldb-2.2.3/third_party/popt/poptconfig.c:380:5: note: rc is assigned ldb-2.2.3/third_party/popt/poptconfig.c:385:8: note: rc is overwritten ldb-2.2.3/third_party/popt/poptconfig.c:385:8: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] ldb-2.2.3/third_party/popt/poptconfig.c:382:5: note: rc is assigned ldb-2.2.3/third_party/popt/poptconfig.c:385:8: note: rc is overwritten ldb-2.2.3/third_party/popt/poptconfig.c:164:22: style: Variable 'se' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/third_party/popt/poptconfig.c:394:23: style: Variable 'be' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/third_party/popt/poptconfig.c:503:12: style: Variable 'home' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/third_party/popt/poptconfig.c:504:17: style: Unused variable: sb [unusedVariable] ldb-2.2.3/third_party/popt/popthelp.c:45:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/third_party/popt/popthelp.c:50:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] ldb-2.2.3/third_party/popt/popthelp.c:620:15: style: The if condition is the same as the previous if condition [duplicateCondition] ldb-2.2.3/third_party/popt/popthelp.c:614:15: note: First condition ldb-2.2.3/third_party/popt/popthelp.c:620:15: note: Second condition ldb-2.2.3/third_party/popt/popthelp.c:823:18: style: Condition 'done->opts!=NULL' is always false [knownConditionTrueFalse] ldb-2.2.3/third_party/popt/popthelp.c:813:18: note: Assuming that condition 'done->opts!=NULL' is not redundant ldb-2.2.3/third_party/popt/popthelp.c:821:24: note: Assuming condition is false ldb-2.2.3/third_party/popt/popthelp.c:823:18: note: Condition 'done->opts!=NULL' is always false ldb-2.2.3/third_party/popt/popthelp.c:704:9: style: Redundant initialization for 'len'. The initialized value is overwritten before it is read. [redundantInitialization] ldb-2.2.3/third_party/popt/popthelp.c:695:16: note: len is initialized ldb-2.2.3/third_party/popt/popthelp.c:704:9: note: len is overwritten ldb-2.2.3/third_party/popt/popthelp.c:38:23: style: Parameter 'key' can be declared as pointer to const. However it seems that 'displayArgs' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/third_party/popt/popthelp.c:85:44: note: You might need to cast the function pointer here ldb-2.2.3/third_party/popt/popthelp.c:38:23: note: Parameter 'key' can be declared as pointer to const ldb-2.2.3/third_party/popt/popthelp.c:112:36: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/third_party/popt/popthelp.c:341:8: style: Variable 'dash' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/third_party/popt/popthelp.c:351:8: style: Variable 'dash' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/third_party/popt/popthelp.c:442:12: style: Variable 'leo' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/third_party/popt/popthelp.c:50:9: style: Variable 'con' is assigned a value that is never used. [unreadVariable] ldb-2.2.3/third_party/popt/popthelp.c:289:4: style: Variable 'l' is assigned a value that is never used. [unreadVariable] ldb-2.2.3/third_party/popt/popthelp.c:459:5: style: Variable 'xx' is assigned a value that is never used. [unreadVariable] ldb-2.2.3/third_party/popt/popthelp.c:491:6: style: Variable 'xx' is assigned a value that is never used. [unreadVariable] ldb-2.2.3/third_party/popt/popthelp.c:649:8: style: Variable 'xx' is assigned a value that is never used. [unreadVariable] ldb-2.2.3/third_party/popt/popthelp.c:670:5: style: Variable 'xx' is assigned a value that is never used. [unreadVariable] ldb-2.2.3/third_party/popt/popthelp.c:672:5: style: Variable 'xx' is assigned a value that is never used. [unreadVariable] ldb-2.2.3/third_party/popt/poptint.c:169:13: error: Common realloc mistake: 'b' nulled but not freed upon failure [memleakOnRealloc] ldb-2.2.3/third_party/popt/poptint.c:179:5: style: Variable 'ob' is assigned a value that is never used. [unreadVariable] ldb-2.2.3/third_party/popt/poptparse.c:91:7: error: Common realloc mistake: 'argv' nulled but not freed upon failure [memleakOnRealloc] ldb-2.2.3/third_party/popt/poptparse.c:189:3: error: Common realloc mistake: 'argstr' nulled but not freed upon failure [memleakOnRealloc] ldb-2.2.3/third_party/popt/poptparse.c:218:6: error: Common realloc mistake: 'argstr' nulled but not freed upon failure [memleakOnRealloc] ldb-2.2.3/tools/cmdline.c:270:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POPT_CONTEXT_KEEP_FIRST [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/cmdline.c:311:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/cmdline.c:563:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_CONTROL_VLV_RESP_OID [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/cmdline.c:564:33: style: Variable 'rep_control' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/tools/cmdline.c:595:28: style: Variable 'rep_control' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/tools/cmdline.c:654:34: style: Variable 'rep_control' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/tools/cmdline.c:684:10: style: Variable 'cookie' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/tools/cmdline.c:723:10: style: Variable 'cookie' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/tools/ldbadd.c:46:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbadd.c:57:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbadd.c:135:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbdel.c:51:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SCOPE_SUBTREE [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbdel.c:80:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbdel.c:94:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbdump.c:45:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbdump.c:70:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_CHANGETYPE_NONE [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbdump.c:171:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbdump.c:188:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbdump.c:329:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbdump.c:374:9: style: Condition 'rc!=0' is always true [knownConditionTrueFalse] ldb-2.2.3/tools/ldbdump.c:373:16: note: Calling function 'dump_lmdb' returns 1 ldb-2.2.3/tools/ldbdump.c:373:16: note: Assignment 'rc=dump_lmdb(fname,dn,emergency)', assigned value is 1 ldb-2.2.3/tools/ldbdump.c:374:9: note: Condition 'rc!=0' is always true ldb-2.2.3/tools/ldbdump.c:41:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/tools/ldbdump.c:53:42: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/tools/ldbdump.c:303:56: style: Parameter 'dn' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/tools/ldbdump.c:324:8: style: Variable 'fname' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/tools/ldbedit.c:70:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbedit.c:106:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dn [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbedit.c:126:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbedit.c:203:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_CHANGETYPE_NONE [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbedit.c:255:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbedit.c:309:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbedit.c:327:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbedit.c:245:39: style: Condition 'save_ldif(ldb,f,msgs1,count1)!=0' is always false [knownConditionTrueFalse] ldb-2.2.3/tools/ldbedit.c:245:15: note: Calling function 'save_ldif' returns 0 ldb-2.2.3/tools/ldbedit.c:245:39: note: Condition 'save_ldif(ldb,f,msgs1,count1)!=0' is always false ldb-2.2.3/tools/ldbedit.c:223:19: style: Variable 'ldif' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/tools/ldbmodify.c:46:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbmodify.c:56:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbmodify.c:152:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbrename.c:44:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbrename.c:59:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbsearch.c:43:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbsearch.c:75:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbsearch.c:90:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbsearch.c:107:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_CHANGETYPE_NONE [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbsearch.c:136:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbsearch.c:197:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbsearch.c:304:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbsearch.c:105:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ldb-2.2.3/tools/ldbsearch.c:124:35: style: Parameter 'referral' can be declared as pointer to const [constParameterPointer] ldb-2.2.3/tools/ldbsearch.c:231:38: style: Variable 'search_options' can be declared as pointer to const [constVariablePointer] ldb-2.2.3/tools/ldbsearch.c:68:6: style: struct member 'search_context::status' is never used. [unusedStructMember] ldb-2.2.3/tools/ldbtest.c:45:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUSTOM_CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbtest.c:52:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUSTOM_CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbtest.c:85:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbtest.c:168:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbtest.c:214:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbtest.c:240:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbtest.c:268:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_INVALID_DN_SYNTAX [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbtest.c:317:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_FLG_NOSYNC [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbtest.c:403:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbtest.c:413:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_ERR_OPERATIONS_ERROR [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbtest.c:213:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ldb-2.2.3/tools/ldbtest.c:250:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ldb-2.2.3/tools/ldbtest.c:271:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ldb-2.2.3/tools/ldbtest.c:394:39: style: Parameter 'ldb' can be declared as pointer to const. However it seems that 'usage' is a callback function, if 'ldb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/tools/ldbtest.c:416:49: note: You might need to cast the function pointer here ldb-2.2.3/tools/ldbtest.c:394:39: note: Parameter 'ldb' can be declared as pointer to const ldb-2.2.3/tools/ldbtest.c:123:16: style: Variable 'el[5].values' is assigned a value that is never used. [unreadVariable] ldb-2.2.3/tools/ldbtest.c:125:21: style: Variable 'vals[5][0].length' is assigned a value that is never used. [unreadVariable] ldb-2.2.3/tools/ldbtest.c:182:16: style: Variable 'el[2].values' is assigned a value that is never used. [unreadVariable] ldb-2.2.3/tools/ldbutil.c:45:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbutil.c:77:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbutil.c:113:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbutil.c:134:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDB_SUCCESS [valueFlowBailoutIncompleteVar] ldb-2.2.3/tools/ldbutil.c:174:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldb_result [valueFlowBailoutIncompleteVar] ldb-2.2.3/lib/replace/tests/os2_delete.c:69:23: warning: If resource allocation fails, then there is a possible null pointer dereference: d [ctunullpointerOutOfResources] ldb-2.2.3/lib/replace/tests/os2_delete.c:110:13: note: Assuming allocation function fails ldb-2.2.3/lib/replace/tests/os2_delete.c:110:13: note: Assignment 'd=opendir("test.dir")', assigned value is 0 ldb-2.2.3/lib/replace/tests/os2_delete.c:119:21: note: Calling function os2_delete, 1st argument is null ldb-2.2.3/lib/replace/tests/os2_delete.c:69:23: note: Dereferencing argument d that is null diff: 2.17.0 ldb-2.2.3/common/attrib_handlers.c:286:55: style: Parameter 'ldb' can be declared as pointer to const [constParameterPointer] head ldb-2.2.3/common/attrib_handlers.c:286:55: style: Parameter 'ldb' can be declared as pointer to const. However it seems that 'ldb_comparison_Boolean' is a callback function, if 'ldb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/common/attrib_handlers.c:588:22: note: You might need to cast the function pointer here ldb-2.2.3/common/attrib_handlers.c:286:55: note: Parameter 'ldb' can be declared as pointer to const 2.17.0 ldb-2.2.3/common/attrib_handlers.c:286:66: style: Parameter 'mem_ctx' can be declared as pointer to const [constParameterPointer] head ldb-2.2.3/common/attrib_handlers.c:286:66: style: Parameter 'mem_ctx' can be declared as pointer to const. However it seems that 'ldb_comparison_Boolean' is a callback function, if 'mem_ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/common/attrib_handlers.c:588:22: note: You might need to cast the function pointer here ldb-2.2.3/common/attrib_handlers.c:286:66: note: Parameter 'mem_ctx' can be declared as pointer to const 2.17.0 ldb-2.2.3/common/attrib_handlers.c:299:47: style: Parameter 'ldb' can be declared as pointer to const [constParameterPointer] head ldb-2.2.3/common/attrib_handlers.c:299:47: style: Parameter 'ldb' can be declared as pointer to const. However it seems that 'ldb_comparison_binary' is a callback function, if 'ldb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/common/attrib_handlers.c:546:22: note: You might need to cast the function pointer here ldb-2.2.3/common/attrib_handlers.c:299:47: note: Parameter 'ldb' can be declared as pointer to const 2.17.0 ldb-2.2.3/common/attrib_handlers.c:299:58: style: Parameter 'mem_ctx' can be declared as pointer to const [constParameterPointer] head ldb-2.2.3/common/attrib_handlers.c:299:58: style: Parameter 'mem_ctx' can be declared as pointer to const. However it seems that 'ldb_comparison_binary' is a callback function, if 'mem_ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/common/attrib_handlers.c:546:22: note: You might need to cast the function pointer here ldb-2.2.3/common/attrib_handlers.c:299:58: note: Parameter 'mem_ctx' can be declared as pointer to const 2.17.0 ldb-2.2.3/common/ldb_modules.c:1064:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head ldb-2.2.3/lib/replace/replace.h:45:2: error: #error -D__STDC_WANT_LIB_EXT1__=1 required [preprocessorErrorDirective] 2.17.0 ldb-2.2.3/lib/replace/tests/os2_delete.c:113:7: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 ldb-2.2.3/lib/replace/tests/os2_delete.c:115:7: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 ldb-2.2.3/lib/replace/tests/os2_delete.c:69:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head ldb-2.2.3/lib/replace/tests/os2_delete.c:69:23: warning: If resource allocation fails, then there is a possible null pointer dereference: d [ctunullpointerOutOfResources] ldb-2.2.3/lib/replace/tests/os2_delete.c:110:13: note: Assuming allocation function fails ldb-2.2.3/lib/replace/tests/os2_delete.c:110:13: note: Assignment 'd=opendir("test.dir")', assigned value is 0 ldb-2.2.3/lib/replace/tests/os2_delete.c:119:21: note: Calling function os2_delete, 1st argument is null ldb-2.2.3/lib/replace/tests/os2_delete.c:69:23: note: Dereferencing argument d that is null 2.17.0 ldb-2.2.3/lib/replace/tests/os2_delete.c:71:10: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head ldb-2.2.3/lib/talloc/talloc.c:41:2: error: #error "TALLOC_VERSION_MAJOR != TALLOC_BUILD_VERSION_MAJOR" [preprocessorErrorDirective] 2.17.0 ldb-2.2.3/lib/tdb/test/external-agent.c:187:16: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ldb-2.2.3/lib/tdb/test/external-agent.c:184:17: note: Assuming allocation function fails ldb-2.2.3/lib/tdb/test/external-agent.c:184:17: note: Assignment 'string=malloc(len)', assigned value is 0 ldb-2.2.3/lib/tdb/test/external-agent.c:187:16: note: Null pointer addition head ldb-2.2.3/lib/tdb/test/external-agent.c:187:16: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ldb-2.2.3/lib/tdb/test/external-agent.c:184:17: note: Assuming allocation function fails ldb-2.2.3/lib/tdb/test/external-agent.c:184:17: note: Assignment 'string=malloc(len)', assigned value is 0 ldb-2.2.3/lib/tdb/test/external-agent.c:187:16: note: Null pointer addition head ldb-2.2.3/lib/tevent/testsuite.c:128:21: style: Variable 'info_count' is assigned a value that is never used. [unreadVariable] 2.17.0 ldb-2.2.3/tests/ldb_key_value_test.c:131:52: style: Parameter 'ldb_kv' can be declared as pointer to const [constParameterPointer] head ldb-2.2.3/tests/ldb_key_value_test.c:131:52: style: Parameter 'ldb_kv' can be declared as pointer to const. However it seems that 'mock_abort_write' is a callback function, if 'ldb_kv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ldb-2.2.3/tests/ldb_key_value_test.c:149:18: note: You might need to cast the function pointer here ldb-2.2.3/tests/ldb_key_value_test.c:131:52: note: Parameter 'ldb_kv' can be declared as pointer to const head ldb-2.2.3/tests/ldb_mod_op_test.c:2894:9: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head ldb-2.2.3/tests/ldb_mod_op_test.c:3001:9: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] 2.17.0 ldb-2.2.3/tests/test_ldb_dn.c:178:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extended_dn_write_ID [valueFlowBailoutIncompleteVar] head ldb-2.2.3/tests/test_ldb_dn.c:193:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DONE