2024-04-10 04:27 ftp://ftp.de.debian.org/debian/pool/main/m/msitools/msitools_0.103+repack.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-18-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.56 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.13.0 head-info: 3ad4533 (2024-04-09 19:29:20 +0200) count: 173 108 elapsed-time: 1.4 1.0 head-timing-info: old-timing-info: head results: msitools-0.103/libmsi/debug.h:60:13: error: There is an unknown macro here somewhere. Configuration is required. If wine_dbg_sprintf is a macro then please configure it. [unknownMacro] msitools-0.103/libmsi/msipriv.h:410:22: error: There is an unknown macro here somewhere. Configuration is required. If _libmsi_query_get_record is a macro then please configure it. [unknownMacro] msitools-0.103/tests/testsuminfo.c:122:0: error: failed to expand 'g_assert', Wrong number of parameters for macro 'g_assert'. [preprocessorErrorDirective] msitools-0.103/tools/msibuild.c:34:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] msitools-0.103/tools/msibuild.c:92:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] msitools-0.103/tools/msibuild.c:133:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] msitools-0.103/tools/msibuild.c:150:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_PROPERTY_SUBJECT [valueFlowBailoutIncompleteVar] msitools-0.103/tools/msibuild.c:186:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] msitools-0.103/tools/msibuild.c:221:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] msitools-0.103/tools/msibuild.c:332:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testrecord.c:67:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_NULL_INT [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testrecord.c:318:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_NULL_INT [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testrecord.c:338:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_NULL_INT [valueFlowBailoutIncompleteVar] msitools-0.103/tools/msiinfo.c:62:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] msitools-0.103/tools/msiinfo.c:73:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] msitools-0.103/tools/msiinfo.c:83:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] msitools-0.103/tools/msiinfo.c:146:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] msitools-0.103/tools/msiinfo.c:179:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] msitools-0.103/tools/msiinfo.c:213:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] msitools-0.103/tools/msiinfo.c:299:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] msitools-0.103/tools/msiinfo.c:362:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] msitools-0.103/tools/msiinfo.c:592:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_COL_INFO_NAMES [valueFlowBailoutIncompleteVar] msitools-0.103/tools/msibuild.c:272:14: style: Condition 'argc>=3' is always true [knownConditionTrueFalse] msitools-0.103/tools/msibuild.c:265:14: note: Assuming that condition 'argc<=2' is not redundant msitools-0.103/tools/msibuild.c:272:14: note: Condition 'argc>=3' is always true msitools-0.103/tools/msiinfo.c:648:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] msitools-0.103/tools/msiinfo.c:684:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] msitools-0.103/tools/msibuild.c:186:9: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] msitools-0.103/tools/msiinfo.c:761:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testrecord.c:415:5: warning: Return value of function g_error_matches() is not used. [ignoredReturnValue] msitools-0.103/tools/sqldelim.c:89:14: style: Variable 'r' can be declared as pointer to const [constVariablePointer] msitools-0.103/tools/msiinfo.c:391:20: style: Condition 'n_read==-1' is always false [knownConditionTrueFalse] msitools-0.103/tools/msiinfo.c:65:50: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] msitools-0.103/tools/msiinfo.c:673:40: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] msitools-0.103/tools/msiinfo.c:40:17: style: struct member 'Command::usage' is never used. [unusedStructMember] msitools-0.103/tests/testrecord.c:219:8: style: Variable 'sz' is reassigned a value before the old one has been used. [redundantAssignment] msitools-0.103/tests/testrecord.c:196:8: note: sz is assigned msitools-0.103/tests/testrecord.c:219:8: note: sz is overwritten msitools-0.103/tests/testrecord.c:422:9: style: Variable 'rec' is reassigned a value before the old one has been used. [redundantAssignment] msitools-0.103/tests/testrecord.c:414:9: note: rec is assigned msitools-0.103/tests/testrecord.c:422:9: note: rec is overwritten msitools-0.103/tests/testrecord.c:270:10: style: Unused variable: buf [unusedVariable] msitools-0.103/tests/testrecord.c:271:14: style: Unused variable: sz [unusedVariable] msitools-0.103/tests/testrecord.c:329:10: style: Unused variable: buf [unusedVariable] msitools-0.103/tests/testrecord.c:331:14: style: Unused variable: sz [unusedVariable] msitools-0.103/tests/testdatabase.c:61:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_DB_FLAGS_TRANSACT [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:147:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:173:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:359:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:448:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:510:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:852:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:985:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:1033:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:1076:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:1109:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:1352:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:1429:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:1535:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:1695:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:1706:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:1735:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:1827:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:2052:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:2091:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:2475:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:2783:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:3372:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:3471:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:3712:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:3973:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:4055:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:4097:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:4204:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:4329:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:4440:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:4896:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:5151:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:5216:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:5314:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_BAD_QUERY_SYNTAX [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:5489:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_BAD_QUERY_SYNTAX [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:5636:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:5657:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_BAD_QUERY_SYNTAX [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:5890:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:6099:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:6666:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:6745:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:6906:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:7174:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:7275:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:7302:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] msitools-0.103/tests/testdatabase.c:1066:5: error: Mismatching allocation and deallocation: str [mismatchAllocDealloc] msitools-0.103/tests/testdatabase.c:1036:11: note: Mismatching allocation and deallocation: str msitools-0.103/tests/testdatabase.c:1066:5: note: Mismatching allocation and deallocation: str msitools-0.103/tests/testdatabase.c:422:12: style: Variable 'hquery' is reassigned a value before the old one has been used. [redundantAssignment] msitools-0.103/tests/testdatabase.c:406:12: note: hquery is assigned msitools-0.103/tests/testdatabase.c:422:12: note: hquery is overwritten msitools-0.103/tests/testdatabase.c:1241:10: style: Variable 'size' is reassigned a value before the old one has been used. [redundantAssignment] msitools-0.103/tests/testdatabase.c:1237:10: note: size is assigned msitools-0.103/tests/testdatabase.c:1241:10: note: size is overwritten msitools-0.103/tests/testdatabase.c:1261:10: style: Variable 'size' is reassigned a value before the old one has been used. [redundantAssignment] msitools-0.103/tests/testdatabase.c:1241:10: note: size is assigned msitools-0.103/tests/testdatabase.c:1261:10: note: size is overwritten msitools-0.103/tests/testdatabase.c:1265:10: style: Variable 'size' is reassigned a value before the old one has been used. [redundantAssignment] msitools-0.103/tests/testdatabase.c:1261:10: note: size is assigned msitools-0.103/tests/testdatabase.c:1265:10: note: size is overwritten msitools-0.103/tests/testdatabase.c:1305:10: style: Variable 'size' is reassigned a value before the old one has been used. [redundantAssignment] msitools-0.103/tests/testdatabase.c:1265:10: note: size is assigned msitools-0.103/tests/testdatabase.c:1305:10: note: size is overwritten msitools-0.103/tests/testdatabase.c:1309:10: style: Variable 'size' is reassigned a value before the old one has been used. [redundantAssignment] msitools-0.103/tests/testdatabase.c:1305:10: note: size is assigned msitools-0.103/tests/testdatabase.c:1309:10: note: size is overwritten msitools-0.103/tests/testdatabase.c:1385:10: style: Variable 'size' is reassigned a value before the old one has been used. [redundantAssignment] msitools-0.103/tests/testdatabase.c:1381:10: note: size is assigned msitools-0.103/tests/testdatabase.c:1385:10: note: size is overwritten msitools-0.103/tests/testdatabase.c:1398:10: style: Variable 'size' is reassigned a value before the old one has been used. [redundantAssignment] msitools-0.103/tests/testdatabase.c:1385:10: note: size is assigned msitools-0.103/tests/testdatabase.c:1398:10: note: size is overwritten msitools-0.103/tests/testdatabase.c:1402:10: style: Variable 'size' is reassigned a value before the old one has been used. [redundantAssignment] msitools-0.103/tests/testdatabase.c:1398:10: note: size is assigned msitools-0.103/tests/testdatabase.c:1402:10: note: size is overwritten msitools-0.103/tests/testdatabase.c:1790:14: style: Variable 'ft_value' is reassigned a value before the old one has been used. [redundantAssignment] msitools-0.103/tests/testdatabase.c:1787:14: note: ft_value is assigned msitools-0.103/tests/testdatabase.c:1790:14: note: ft_value is overwritten msitools-0.103/tests/testdatabase.c:3358:10: style: Variable 'cond' is reassigned a value before the old one has been used. [redundantAssignment] msitools-0.103/tests/testdatabase.c:3354:10: note: cond is assigned msitools-0.103/tests/testdatabase.c:3358:10: note: cond is overwritten msitools-0.103/tests/testdatabase.c:3362:10: style: Variable 'cond' is reassigned a value before the old one has been used. [redundantAssignment] msitools-0.103/tests/testdatabase.c:3358:10: note: cond is assigned msitools-0.103/tests/testdatabase.c:3362:10: note: cond is overwritten msitools-0.103/tests/testdatabase.c:3366:10: style: Variable 'cond' is reassigned a value before the old one has been used. [redundantAssignment] msitools-0.103/tests/testdatabase.c:3362:10: note: cond is assigned msitools-0.103/tests/testdatabase.c:3366:10: note: cond is overwritten msitools-0.103/tests/testdatabase.c:3374:10: style: Variable 'cond' is reassigned a value before the old one has been used. [redundantAssignment] msitools-0.103/tests/testdatabase.c:3366:10: note: cond is assigned msitools-0.103/tests/testdatabase.c:3374:10: note: cond is overwritten msitools-0.103/tests/testdatabase.c:3425:11: style: Variable 'query' is reassigned a value before the old one has been used. [redundantAssignment] msitools-0.103/tests/testdatabase.c:3397:11: note: query is assigned msitools-0.103/tests/testdatabase.c:3425:11: note: query is overwritten msitools-0.103/tests/testdatabase.c:3409:10: style: Variable 'cond' is reassigned a value before the old one has been used. [redundantAssignment] msitools-0.103/tests/testdatabase.c:3401:10: note: cond is assigned msitools-0.103/tests/testdatabase.c:3409:10: note: cond is overwritten msitools-0.103/tests/testdatabase.c:3840:11: style: Variable 'query' is reassigned a value before the old one has been used. [redundantAssignment] msitools-0.103/tests/testdatabase.c:3835:11: note: query is assigned msitools-0.103/tests/testdatabase.c:3840:11: note: query is overwritten msitools-0.103/tests/testdatabase.c:3847:11: style: Variable 'query' is reassigned a value before the old one has been used. [redundantAssignment] msitools-0.103/tests/testdatabase.c:3842:11: note: query is assigned msitools-0.103/tests/testdatabase.c:3847:11: note: query is overwritten msitools-0.103/tests/testdatabase.c:3854:11: style: Variable 'query' is reassigned a value before the old one has been used. [redundantAssignment] msitools-0.103/tests/testdatabase.c:3849:11: note: query is assigned msitools-0.103/tests/testdatabase.c:3854:11: note: query is overwritten msitools-0.103/tests/testdatabase.c:6112:7: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] msitools-0.103/tests/testdatabase.c:6106:7: note: r is assigned msitools-0.103/tests/testdatabase.c:6112:7: note: r is overwritten msitools-0.103/tests/testdatabase.c:6183:7: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] msitools-0.103/tests/testdatabase.c:6177:7: note: r is assigned msitools-0.103/tests/testdatabase.c:6183:7: note: r is overwritten msitools-0.103/tests/testdatabase.c:6210:7: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] msitools-0.103/tests/testdatabase.c:6204:7: note: r is assigned msitools-0.103/tests/testdatabase.c:6210:7: note: r is overwritten msitools-0.103/tests/testdatabase.c:6237:7: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] msitools-0.103/tests/testdatabase.c:6231:7: note: r is assigned msitools-0.103/tests/testdatabase.c:6237:7: note: r is overwritten msitools-0.103/tests/testdatabase.c:6370:7: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] msitools-0.103/tests/testdatabase.c:6364:7: note: r is assigned msitools-0.103/tests/testdatabase.c:6370:7: note: r is overwritten msitools-0.103/tests/testdatabase.c:6571:10: style: Variable 'size' is reassigned a value before the old one has been used. [redundantAssignment] msitools-0.103/tests/testdatabase.c:6567:10: note: size is assigned msitools-0.103/tests/testdatabase.c:6571:10: note: size is overwritten msitools-0.103/tests/testdatabase.c:3660:5: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] msitools-0.103/tests/testdatabase.c:2425:24: style: Local variable 'suminfo' shadows outer variable [shadowVariable] msitools-0.103/tests/testdatabase.c:1673:19: note: Shadowed declaration msitools-0.103/tests/testdatabase.c:2425:24: note: Shadow variable msitools-0.103/tests/testdatabase.c:290:19: style: Variable 'hrec' can be declared as pointer to const [constVariablePointer] msitools-0.103/tests/testdatabase.c:790:13: style: Variable 'error' can be declared as pointer to const [constVariablePointer] msitools-0.103/tests/testdatabase.c:1724:18: style: Variable 'query' can be declared as pointer to const [constVariablePointer] msitools-0.103/tests/testdatabase.c:2360:18: style: struct member 'Anonymous0::name' is never used. [unusedStructMember] msitools-0.103/tests/testdatabase.c:2361:17: style: struct member 'Anonymous0::data' is never used. [unusedStructMember] msitools-0.103/tests/testdatabase.c:2362:14: style: struct member 'Anonymous0::size' is never used. [unusedStructMember] msitools-0.103/tests/testdatabase.c:4782:18: style: struct member 'Anonymous1::name' is never used. [unusedStructMember] msitools-0.103/tests/testdatabase.c:4783:17: style: struct member 'Anonymous1::data' is never used. [unusedStructMember] msitools-0.103/tests/testdatabase.c:4784:14: style: struct member 'Anonymous1::size' is never used. [unusedStructMember] msitools-0.103/tests/testdatabase.c:303:12: style: Unused variable: str [unusedVariable] msitools-0.103/tests/testdatabase.c:306:10: style: Unused variable: buf [unusedVariable] msitools-0.103/tests/testdatabase.c:307:14: style: Unused variable: sz [unusedVariable] msitools-0.103/tests/testdatabase.c:727:14: style: Unused variable: sz [unusedVariable] msitools-0.103/tests/testdatabase.c:728:10: style: Unused variable: buffer [unusedVariable] msitools-0.103/tests/testdatabase.c:792:23: style: Variable 'rec' is assigned a value that is never used. [unreadVariable] msitools-0.103/tests/testdatabase.c:790:13: style: Variable 'error' is assigned a value that is never used. [unreadVariable] msitools-0.103/tests/testdatabase.c:1309:10: style: Variable 'size' is assigned a value that is never used. [unreadVariable] msitools-0.103/tests/testdatabase.c:1098:10: style: Unused variable: file [unusedVariable] msitools-0.103/tests/testdatabase.c:1402:10: style: Variable 'size' is assigned a value that is never used. [unreadVariable] msitools-0.103/tests/testdatabase.c:1340:10: style: Unused variable: file [unusedVariable] msitools-0.103/tests/testdatabase.c:1519:14: style: Unused variable: size [unusedVariable] msitools-0.103/tests/testdatabase.c:1520:10: style: Unused variable: buf [unusedVariable] msitools-0.103/tests/testdatabase.c:1790:14: style: Variable 'ft_value' is assigned a value that is never used. [unreadVariable] msitools-0.103/tests/testdatabase.c:1726:21: style: Unused variable: type [unusedVariable] msitools-0.103/tests/testdatabase.c:2030:10: style: Unused variable: file [unusedVariable] msitools-0.103/tests/testdatabase.c:2264:16: style: Variable 'r' is assigned a value that is never used. [unreadVariable] msitools-0.103/tests/testdatabase.c:2773:10: style: Unused variable: buf [unusedVariable] msitools-0.103/tests/testdatabase.c:2775:14: style: Unused variable: size [unusedVariable] msitools-0.103/tests/testdatabase.c:3416:10: style: Variable 'cond' is assigned a value that is never used. [unreadVariable] msitools-0.103/tests/testdatabase.c:3348:10: style: Unused variable: buf [unusedVariable] msitools-0.103/tests/testdatabase.c:3349:14: style: Unused variable: sz [unusedVariable] msitools-0.103/tests/testdatabase.c:3767:10: style: Unused variable: result [unusedVariable] msitools-0.103/tests/testdatabase.c:3769:14: style: Unused variable: size [unusedVariable] msitools-0.103/tests/testdatabase.c:4132:8: style: Variable 'sz' is assigned a value that is never used. [unreadVariable] msitools-0.103/tests/testdatabase.c:4086:12: style: Unused variable: str [unusedVariable] msitools-0.103/tests/testdatabase.c:4195:10: style: Unused variable: buffer [unusedVariable] msitools-0.103/tests/testdatabase.c:4196:14: style: Unused variable: sz [unusedVariable] msitools-0.103/tests/testdatabase.c:4405:8: style: Variable 'sz' is assigned a value that is never used. [unreadVariable] msitools-0.103/tests/testdatabase.c:4432:14: style: Unused variable: size [unusedVariable] msitools-0.103/tests/testdatabase.c:4433:10: style: Unused variable: buf [unusedVariable] msitools-0.103/tests/testdatabase.c:4886:10: style: Unused variable: buffer [unusedVariable] msitools-0.103/tests/testdatabase.c:4888:21: style: Unused variable: sz [unusedVariable] msitools-0.103/tests/testdatabase.c:5140:10: style: Unused variable: buf [unusedVariable] msitools-0.103/tests/testdatabase.c:5142:14: style: Unused variable: size [unusedVariable] msitools-0.103/tests/testdatabase.c:5205:10: style: Unused variable: buf [unusedVariable] msitools-0.103/tests/testdatabase.c:5207:14: style: Unused variable: size [unusedVariable] msitools-0.103/tests/testdatabase.c:5303:10: style: Unused variable: buf [unusedVariable] msitools-0.103/tests/testdatabase.c:5305:14: style: Unused variable: size [unusedVariable] msitools-0.103/tests/testdatabase.c:5478:10: style: Unused variable: buf [unusedVariable] msitools-0.103/tests/testdatabase.c:5480:14: style: Unused variable: size [unusedVariable] msitools-0.103/tests/testdatabase.c:5879:10: style: Unused variable: buf [unusedVariable] msitools-0.103/tests/testdatabase.c:5881:14: style: Unused variable: size [unusedVariable] msitools-0.103/tests/testdatabase.c:6571:10: style: Variable 'size' is assigned a value that is never used. [unreadVariable] msitools-0.103/tests/testdatabase.c:6916:8: style: Variable 'sz' is assigned a value that is never used. [unreadVariable] msitools-0.103/tests/testdatabase.c:7164:14: style: Unused variable: size [unusedVariable] msitools-0.103/tests/testdatabase.c:7165:10: style: Unused variable: buffer [unusedVariable] msitools-0.103/tests/testdatabase.c:7260:21: style: Unused variable: sz [unusedVariable] msitools-0.103/tests/testdatabase.c:7263:10: style: Unused variable: buffer [unusedVariable] msitools-0.103/tests/testdatabase.c:7293:10: style: Unused variable: buffer [unusedVariable] msitools-0.103/tests/testdatabase.c:7294:21: style: Unused variable: size [unusedVariable] diff: head msitools-0.103/tests/testdatabase.c:1033:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:1076:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:1109:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:1352:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:1429:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:147:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:1535:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:1695:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:1706:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:1735:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:173:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:1827:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:2052:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:2091:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:2475:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:2783:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:3372:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:3471:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:359:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:3712:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:3973:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:4055:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:4097:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:4204:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:4329:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:4440:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:448:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:4896:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:510:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:5151:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:5216:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:5314:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_BAD_QUERY_SYNTAX [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:5489:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_BAD_QUERY_SYNTAX [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:5636:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:5657:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_BAD_QUERY_SYNTAX [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:5890:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:6099:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:6666:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:6745:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:6906:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:7174:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:7275:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:7302:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:852:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testdatabase.c:985:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testrecord.c:318:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_NULL_INT [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testrecord.c:338:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_NULL_INT [valueFlowBailoutIncompleteVar] 2.13.0 msitools-0.103/tests/testrecord.c:41:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head msitools-0.103/tests/testrecord.c:67:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_NULL_INT [valueFlowBailoutIncompleteVar] head msitools-0.103/tools/msibuild.c:133:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head msitools-0.103/tools/msibuild.c:150:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_PROPERTY_SUBJECT [valueFlowBailoutIncompleteVar] head msitools-0.103/tools/msibuild.c:186:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head msitools-0.103/tools/msibuild.c:221:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head msitools-0.103/tools/msibuild.c:332:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head msitools-0.103/tools/msibuild.c:92:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head msitools-0.103/tools/msiinfo.c:146:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head msitools-0.103/tools/msiinfo.c:179:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head msitools-0.103/tools/msiinfo.c:213:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head msitools-0.103/tools/msiinfo.c:299:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head msitools-0.103/tools/msiinfo.c:362:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head msitools-0.103/tools/msiinfo.c:592:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMSI_COL_INFO_NAMES [valueFlowBailoutIncompleteVar] head msitools-0.103/tools/msiinfo.c:648:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head msitools-0.103/tools/msiinfo.c:673:40: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] head msitools-0.103/tools/msiinfo.c:684:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head msitools-0.103/tools/msiinfo.c:73:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head msitools-0.103/tools/msiinfo.c:761:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head msitools-0.103/tools/msiinfo.c:83:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DONE