2022-06-29 02:17 ftp://ftp.de.debian.org/debian/pool/main/l/ldb/ldb_2.2.3.orig.tar.gz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j2 platform: Linux-5.4.0-110-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.24 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 cppcheck: head 2.8 head-info: 1852944 (2022-06-28 22:52:35 +0200) count: 338 333 elapsed-time: 28.1 31.5 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: 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: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_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 [constParameter] ldb-2.2.3/common/ldb_controls.c:125:33: style: Parameter 'exclude' can be declared as pointer to const [constParameter] 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:1062:12: style: Condition 'dif<0' is always false [knownConditionTrueFalse] ldb-2.2.3/common/ldb_dn.c:1061:33: note: Assignment 'dif=strlen(dn->linearized)-strlen(base->linearized)', assigned value is greater than -1 ldb-2.2.3/common/ldb_dn.c:1062:12: note: Condition 'dif<0' is always false 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] ldb-2.2.3/common/ldb_modules.c:120:30: style: struct member 'backends_list_entry::prev' is never used. [unusedStructMember] ldb-2.2.3/common/ldb_modules.c:232:27: style: struct member 'ldb_hooks::prev' is never used. [unusedStructMember] ldb-2.2.3/common/ldb_modules.c:938:25: style: struct member 'loaded::prev' is never used. [unusedStructMember] 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_parse.c:357:28: style: Redundant condition: *p==')'. '*p!=')' || (*p==')' && *(p-1)=='\\')' is equivalent to '*p!=')' || *(p-1)=='\\'' [redundantCondition] 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_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:125:14: style: Variable 'len' is assigned a value that is never used. [unreadVariable] ldb-2.2.3/ldb_sqlite3/ldb_sqlite3.c:200:30: style: Condition 'pBase160==NULL' is always false [knownConditionTrueFalse] 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/tests/incoherent_mmap.c:16:26: style: Parameter 'argv' can be declared as const array [constParameter] 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:69:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 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] 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] 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] 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/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/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/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/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/talloc/talloc.c:41:0: error: #error "TALLOC_VERSION_MAJOR != TALLOC_BUILD_VERSION_MAJOR" [preprocessorErrorDirective] 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/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/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:813:5: style: Variable 'p1' is assigned a value that is never used. [unreadVariable] 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/io.c:786:81: style: Parameter 'rec' can be declared as pointer to const [constParameter] ldb-2.2.3/lib/tdb/common/lock.c:942:57: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] ldb-2.2.3/lib/tdb/common/rescue.c:83:24: style: Parameter 'rec' can be declared as pointer to const [constParameter] 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:477:24: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] ldb-2.2.3/lib/tdb/common/open.c:605:25: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] 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/transaction.c:561:52: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] 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/pytdb.c:66:3: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tdb/pytdb.c:136:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tdb/pytdb.c:146:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tdb/pytdb.c:156:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tdb/pytdb.c:166:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tdb/pytdb.c:183:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tdb/pytdb.c:193:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tdb/pytdb.c:203:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tdb/pytdb.c:213:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tdb/pytdb.c:221:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tdb/pytdb.c:238:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tdb/pytdb.c:278:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tdb/pytdb.c:319:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tdb/pytdb.c:354:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tdb/pytdb.c:380:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tdb/pytdb.c:427:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tdb/pytdb.c:511:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tdb/pytdb.c:520:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] 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/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/common/tdb.c:267:11: style: Local variable 'hash' shadows outer function [shadowFunction] ldb-2.2.3/lib/tdb/common/check.c:163:13: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/tdb.c:267:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/tdb.c:315:11: style: Local variable 'hash' shadows outer function [shadowFunction] ldb-2.2.3/lib/tdb/common/check.c:163:13: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/tdb.c:315:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/tdb.c:354:11: style: Local variable 'hash' shadows outer function [shadowFunction] ldb-2.2.3/lib/tdb/common/check.c:163:13: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/tdb.c:354:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/tdb.c:534:11: style: Local variable 'hash' shadows outer function [shadowFunction] ldb-2.2.3/lib/tdb/common/check.c:163:13: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/tdb.c:534:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/tdb.c:729:11: style: Local variable 'hash' shadows outer function [shadowFunction] ldb-2.2.3/lib/tdb/common/check.c:163:13: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/tdb.c:729:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/tdb.c:752:11: style: Local variable 'hash' shadows outer function [shadowFunction] ldb-2.2.3/lib/tdb/common/check.c:163:13: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/tdb.c:752:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/tdb.c:777:11: style: Local variable 'hash' shadows outer function [shadowFunction] ldb-2.2.3/lib/tdb/common/check.c:163:13: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/tdb.c:777:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/traverse.c:502:11: style: Local variable 'hash' shadows outer function [shadowFunction] ldb-2.2.3/lib/tdb/common/check.c:163:13: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/traverse.c:502:11: note: Shadow variable ldb-2.2.3/lib/tdb/common/lock.c:471:7: style: Local variable 'check' shadows outer function [shadowFunction] ldb-2.2.3/lib/tdb/test/run-corrupt.c:17:12: note: Shadowed declaration ldb-2.2.3/lib/tdb/common/lock.c:471:7: note: Shadow variable 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/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/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/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: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/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: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/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/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-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/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: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/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: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/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-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/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-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/tools/tdbtest.c:244:15: portability: Assigning a pointer to an integer is not portable. [AssignmentAddressToInteger] 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/tevent/pytevent.c:211:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tevent/pytevent.c:258:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tevent/pytevent.c:279:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tevent/pytevent.c:288:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tevent/pytevent.c:298:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tevent/pytevent.c:586:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tevent/pytevent.c:593:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tevent/pytevent.c:600:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tevent/pytevent.c:607:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tevent/pytevent.c:614:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tevent/pytevent.c:629:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tevent/pytevent.c:635:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tevent/pytevent.c:642:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tevent/pytevent.c:649:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tevent/pytevent.c:655:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/lib/tevent/pytevent.c:664:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] 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:128:31: style: Variable 'info_count' is assigned a value that is never used. [unreadVariable] 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:417:6: style: Unused variable: ret [unusedVariable] 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_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_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/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/modules/sort.c:43:6: style: struct member 'opaque::reverse' is never used. [unusedStructMember] ldb-2.2.3/modules/sort.c:44:6: style: struct member 'opaque::result' is never used. [unusedStructMember] 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/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/pyldb.c:570:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/pyldb.c:751:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/pyldb.c:1682:3: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/pyldb.c:2215:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/pyldb.c:2781:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/pyldb.c:2788:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/pyldb.c:2795:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/pyldb.c:3108:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] ldb-2.2.3/pyldb.c:3326:3: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] 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.c:55:46: style: struct member 'py_ldb_search_iterator_reply::next' is never used. [unusedStructMember] 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/test_ldb_qsort.c:28:29: style: Parameter 'a' can be declared as pointer to const [constParameter] ldb-2.2.3/tests/test_ldb_qsort.c:28:37: style: Parameter 'b' can be declared as pointer to const [constParameter] 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:2845:22: style: Parameter 'private_data' can be declared as pointer to const [constParameter] ldb-2.2.3/third_party/cmocka/cmocka.c:2696:9: style: Condition 'handle_exceptions' is always true [knownConditionTrueFalse] ldb-2.2.3/third_party/cmocka/cmocka.c:2681:29: note: Assignment 'handle_exceptions=1', assigned value is 1 ldb-2.2.3/third_party/cmocka/cmocka.c:2696:9: note: Condition 'handle_exceptions' is always true ldb-2.2.3/third_party/cmocka/cmocka.c:3065:9: style: Condition 'handle_exceptions' is always true [knownConditionTrueFalse] ldb-2.2.3/third_party/cmocka/cmocka.c:3055:29: note: Assignment 'handle_exceptions=1', assigned value is 1 ldb-2.2.3/third_party/cmocka/cmocka.c:3065:9: note: Condition 'handle_exceptions' is always true ldb-2.2.3/third_party/popt/lookup3.c:49:20: style: union member '_dbswap::ui' is never used. [unusedStructMember] 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/cmocka/cmocka.c:607:48: style:inconclusive: Function 'list_add_value' argument 3 names different: declaration 'count' definition 'refcount'. [funcArgNamesDifferent] ldb-2.2.3/third_party/cmocka/cmocka.c:224:48: note: Function 'list_add_value' argument 3 names different: declaration 'count' definition 'refcount'. ldb-2.2.3/third_party/cmocka/cmocka.c:607:48: note: Function 'list_add_value' argument 3 names different: declaration 'count' definition 'refcount'. ldb-2.2.3/third_party/cmocka/cmocka.c:743:59: style:inconclusive: Function 'add_symbol_value' argument 5 names different: declaration 'count' definition 'refcount'. [funcArgNamesDifferent] ldb-2.2.3/third_party/cmocka/cmocka.c:242:71: note: Function 'add_symbol_value' argument 5 names different: declaration 'count' definition 'refcount'. ldb-2.2.3/third_party/cmocka/cmocka.c:743:59: note: Function 'add_symbol_value' argument 5 names different: declaration 'count' definition 'refcount'. ldb-2.2.3/third_party/cmocka/cmocka.c:781:26: style:inconclusive: Function 'get_symbol_value' argument 1 names different: declaration 'symbol_map_head' definition 'head'. [funcArgNamesDifferent] ldb-2.2.3/third_party/cmocka/cmocka.c:244:22: note: Function 'get_symbol_value' argument 1 names different: declaration 'symbol_map_head' definition 'head'. ldb-2.2.3/third_party/cmocka/cmocka.c:781:26: note: Function 'get_symbol_value' argument 1 names different: declaration 'symbol_map_head' definition 'head'. 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: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: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:504:17: style: Unused variable: sb [unusedVariable] 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/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: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/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/ldbdump.c:53:42: style: Parameter 'p' can be declared as pointer to const [constParameter] 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:68:6: style: struct member 'search_context::status' is never used. [unusedStructMember] 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: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] diff: head ldb-2.2.3/common/ldb_controls.c:125:33: style: Parameter 'exclude' can be declared as pointer to const [constParameter] 2.8 ldb-2.2.3/common/ldb_controls.c:125:33: style: Parameter 'exclude' can be declared with const [constParameter] head ldb-2.2.3/common/ldb_controls.c:81:43: style: Parameter 'exclude' can be declared as pointer to const [constParameter] 2.8 ldb-2.2.3/common/ldb_controls.c:81:43: style: Parameter 'exclude' can be declared with const [constParameter] head ldb-2.2.3/lib/replace/tests/incoherent_mmap.c:16:26: style: Parameter 'argv' can be declared as const array [constParameter] 2.8 ldb-2.2.3/lib/replace/tests/incoherent_mmap.c:16:26: style: Parameter 'argv' can be declared with const [constParameter] head ldb-2.2.3/lib/tdb/common/io.c:786:81: style: Parameter 'rec' can be declared as pointer to const [constParameter] 2.8 ldb-2.2.3/lib/tdb/common/io.c:786:81: style: Parameter 'rec' can be declared with const [constParameter] head ldb-2.2.3/lib/tdb/common/lock.c:942:57: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head ldb-2.2.3/lib/tdb/common/open.c:477:24: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head ldb-2.2.3/lib/tdb/common/open.c:605:25: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head ldb-2.2.3/lib/tdb/common/rescue.c:83:24: style: Parameter 'rec' can be declared as pointer to const [constParameter] 2.8 ldb-2.2.3/lib/tdb/common/rescue.c:83:24: style: Parameter 'rec' can be declared with const [constParameter] head ldb-2.2.3/lib/tdb/common/transaction.c:561:52: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head ldb-2.2.3/tests/ldb_mod_op_test.c:2845:22: style: Parameter 'private_data' can be declared as pointer to const [constParameter] 2.8 ldb-2.2.3/tests/ldb_mod_op_test.c:2845:22: style: Parameter 'private_data' can be declared with const [constParameter] head ldb-2.2.3/tests/test_ldb_qsort.c:28:29: style: Parameter 'a' can be declared as pointer to const [constParameter] 2.8 ldb-2.2.3/tests/test_ldb_qsort.c:28:29: style: Parameter 'a' can be declared with const [constParameter] head ldb-2.2.3/tests/test_ldb_qsort.c:28:37: style: Parameter 'b' can be declared as pointer to const [constParameter] 2.8 ldb-2.2.3/tests/test_ldb_qsort.c:28:37: style: Parameter 'b' can be declared with const [constParameter] head 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 head ldb-2.2.3/tools/ldbdump.c:53:42: style: Parameter 'p' can be declared as pointer to const [constParameter] 2.8 ldb-2.2.3/tools/ldbdump.c:53:42: style: Parameter 'p' can be declared with const [constParameter] DONE