2025-11-21 06:34 ftp://ftp.de.debian.org/debian/pool/main/f/flatpak-xdg-utils/flatpak-xdg-utils_1.0.6.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 --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-5.4.0-216-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.69 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 cppcheck: head 2.18.0 head-info: 5374cd3 (2025-11-20 15:35:39 +0100) count: 49 73 elapsed-time: 0.3 0.5 head-timing-info: old-timing-info: head results: flatpak-xdg-utils-1.0.6/src/backport-autoptr.h:34:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [syntaxError] flatpak-xdg-utils-1.0.6/tests/test-email.c:115:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [syntaxError] flatpak-xdg-utils-1.0.6/tests/common.c:55:27: error: There is an unknown macro here somewhere. Configuration is required. If G_GSIZE_FORMAT is a macro then please configure it. [unknownMacro] flatpak-xdg-utils-1.0.6/tests/test-open.c:61:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] flatpak-xdg-utils-1.0.6/tests/test-open.c:181:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] flatpak-xdg-utils-1.0.6/tests/test-open.c:216:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSubprocessLauncher [valueFlowBailoutIncompleteVar] flatpak-xdg-utils-1.0.6/tests/test-open.c:250:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSubprocessLauncher [valueFlowBailoutIncompleteVar] flatpak-xdg-utils-1.0.6/tests/test-open.c:296:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSubprocessLauncher [valueFlowBailoutIncompleteVar] flatpak-xdg-utils-1.0.6/tests/test-open.c:363:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] flatpak-xdg-utils-1.0.6/tests/test-open.c:276:3: warning: Assert statement calls a function which may have desired side effects: 'g_queue_get_length'. [assertWithSideEffect] flatpak-xdg-utils-1.0.6/tests/test-open.c:329:3: warning: Assert statement calls a function which may have desired side effects: 'g_queue_get_length'. [assertWithSideEffect] flatpak-xdg-utils-1.0.6/tests/test-open.c:47:7: style: struct member 'Config::dummy' is never used. [unusedStructMember] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:120:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:412:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:474:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSubprocessLauncher [valueFlowBailoutIncompleteVar] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:509:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSubprocessLauncher [valueFlowBailoutIncompleteVar] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:1000:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:1270:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:673:7: warning: Assert statement calls a function which may have desired side effects: 'g_test_timer_elapsed'. [assertWithSideEffect] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:695:7: warning: Assert statement calls a function which may have desired side effects: 'g_test_timer_elapsed'. [assertWithSideEffect] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:701:7: warning: Assert statement calls a function which may have desired side effects: 'g_queue_get_length'. [assertWithSideEffect] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:708:3: warning: Assert statement calls a function which may have desired side effects: 'g_queue_get_length'. [assertWithSideEffect] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:757:7: warning: Assert statement modifies 'i'. [assignmentInAssert] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:758:7: warning: Assert statement modifies 'i'. [assignmentInAssert] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:759:7: warning: Assert statement modifies 'i'. [assignmentInAssert] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:763:11: warning: Assert statement modifies 'i'. [assignmentInAssert] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:764:11: warning: Assert statement modifies 'i'. [assignmentInAssert] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:765:11: warning: Assert statement modifies 'i'. [assignmentInAssert] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:766:11: warning: Assert statement modifies 'i'. [assignmentInAssert] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:772:7: warning: Assert statement modifies 'i'. [assignmentInAssert] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:776:7: warning: Assert statement modifies 'i'. [assignmentInAssert] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:781:7: warning: Assert statement modifies 'i'. [assignmentInAssert] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:782:7: warning: Assert statement modifies 'i'. [assignmentInAssert] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:785:3: warning: Assert statement modifies 'i'. [assignmentInAssert] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:828:11: warning: Assert statement modifies 'i'. [assignmentInAssert] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:829:11: warning: Assert statement modifies 'i'. [assignmentInAssert] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:830:11: warning: Assert statement modifies 'i'. [assignmentInAssert] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:836:11: warning: Assert statement modifies 'i'. [assignmentInAssert] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:837:11: warning: Assert statement modifies 'i'. [assignmentInAssert] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:838:11: warning: Assert statement modifies 'i'. [assignmentInAssert] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:863:11: warning: Assert statement modifies 'i'. [assignmentInAssert] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:864:11: warning: Assert statement modifies 'i'. [assignmentInAssert] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:873:11: warning: Assert statement calls a function which may have desired side effects: 'g_strerror'. [assertWithSideEffect] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:877:11: warning: Assert statement calls a function which may have desired side effects: 'fstat'. [assertWithSideEffect] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:877:11: warning: Assert statement calls a function which may have desired side effects: 'g_strerror'. [assertWithSideEffect] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:888:11: warning: Assert statement calls a function which may have desired side effects: 'g_strerror'. [assertWithSideEffect] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:892:11: warning: Assert statement calls a function which may have desired side effects: 'fstat'. [assertWithSideEffect] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:892:11: warning: Assert statement calls a function which may have desired side effects: 'g_strerror'. [assertWithSideEffect] flatpak-xdg-utils-1.0.6/tests/test-spawn.c:154:12: style: Variable 'f' can be declared as pointer to const [constVariablePointer] diff: head flatpak-xdg-utils-1.0.6/src/backport-autoptr.h:34:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [syntaxError] 2.18.0 flatpak-xdg-utils-1.0.6/src/flatpak-spawn.c:217:18: error: There is an unknown macro here somewhere. Configuration is required. If G_GSIZE_FORMAT is a macro then please configure it. [unknownMacro] 2.18.0 flatpak-xdg-utils-1.0.6/src/xdg-email.c:100:7: error: Memory leak: context [memleak] 2.18.0 flatpak-xdg-utils-1.0.6/src/xdg-email.c:107:7: error: Memory leak: context [memleak] 2.18.0 flatpak-xdg-utils-1.0.6/src/xdg-email.c:116:7: error: Memory leak: context [memleak] 2.18.0 flatpak-xdg-utils-1.0.6/src/xdg-email.c:198:42: error: Null pointer dereference [nullPointer] 2.18.0 flatpak-xdg-utils-1.0.6/src/xdg-email.c:365:13: style: Variable 'path' can be declared as pointer to const [constVariablePointer] 2.18.0 flatpak-xdg-utils-1.0.6/src/xdg-email.c:79:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 flatpak-xdg-utils-1.0.6/src/xdg-open.c:51:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GOptionContext [valueFlowBailoutIncompleteVar] 2.18.0 flatpak-xdg-utils-1.0.6/tests/test-email.c:104:12: style: Variable 'f' can be declared as pointer to const [constVariablePointer] head flatpak-xdg-utils-1.0.6/tests/test-email.c:115:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [syntaxError] 2.18.0 flatpak-xdg-utils-1.0.6/tests/test-email.c:266:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 flatpak-xdg-utils-1.0.6/tests/test-email.c:319:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSubprocessLauncher [valueFlowBailoutIncompleteVar] 2.18.0 flatpak-xdg-utils-1.0.6/tests/test-email.c:353:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSubprocessLauncher [valueFlowBailoutIncompleteVar] 2.18.0 flatpak-xdg-utils-1.0.6/tests/test-email.c:382:3: warning: Assert statement calls a function which may have desired side effects: 'g_queue_get_length'. [assertWithSideEffect] 2.18.0 flatpak-xdg-utils-1.0.6/tests/test-email.c:420:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSubprocessLauncher [valueFlowBailoutIncompleteVar] 2.18.0 flatpak-xdg-utils-1.0.6/tests/test-email.c:460:3: warning: Assert statement calls a function which may have desired side effects: 'g_queue_get_length'. [assertWithSideEffect] 2.18.0 flatpak-xdg-utils-1.0.6/tests/test-email.c:515:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSubprocessLauncher [valueFlowBailoutIncompleteVar] 2.18.0 flatpak-xdg-utils-1.0.6/tests/test-email.c:548:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSubprocessLauncher [valueFlowBailoutIncompleteVar] 2.18.0 flatpak-xdg-utils-1.0.6/tests/test-email.c:579:3: warning: Assert statement calls a function which may have desired side effects: 'g_queue_get_length'. [assertWithSideEffect] 2.18.0 flatpak-xdg-utils-1.0.6/tests/test-email.c:599:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSubprocessLauncher [valueFlowBailoutIncompleteVar] 2.18.0 flatpak-xdg-utils-1.0.6/tests/test-email.c:629:3: warning: Assert statement calls a function which may have desired side effects: 'g_queue_get_length'. [assertWithSideEffect] 2.18.0 flatpak-xdg-utils-1.0.6/tests/test-email.c:64:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 flatpak-xdg-utils-1.0.6/tests/test-email.c:668:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSubprocessLauncher [valueFlowBailoutIncompleteVar] 2.18.0 flatpak-xdg-utils-1.0.6/tests/test-email.c:724:3: warning: Assert statement calls a function which may have desired side effects: 'g_queue_get_length'. [assertWithSideEffect] 2.18.0 flatpak-xdg-utils-1.0.6/tests/test-email.c:778:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSubprocessLauncher [valueFlowBailoutIncompleteVar] 2.18.0 flatpak-xdg-utils-1.0.6/tests/test-email.c:832:3: warning: Assert statement calls a function which may have desired side effects: 'g_queue_get_length'. [assertWithSideEffect] 2.18.0 flatpak-xdg-utils-1.0.6/tests/test-email.c:885:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] DONE