2025-09-17 08:37 ftp://ftp.de.debian.org/debian/pool/main/x/xdg-desktop-portal/xdg-desktop-portal_1.20.3+ds.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-6.12.43+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 3e169d6 (2025-09-15 13:38:15 +0200) count: 216 788 elapsed-time: 0.5 1.3 head-timing-info: old-timing-info: head results: xdg-desktop-portal-1.20.3/document-portal/document-store.c:61:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-store.c:115:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-store.c:139:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-store.c:147:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-store.c:155:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal-fuse.c:3177:0: error: #error "Not implemented for your platform" [preprocessorErrorDirective] xdg-desktop-portal-1.20.3/document-portal/document-portal-fuse.c:3177:2: error: #error "Not implemented for your platform" [preprocessorErrorDirective] xdg-desktop-portal-1.20.3/document-portal/file-transfer.c:105:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_ptr_array_unref [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/file-transfer.c:115:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable finalize [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/file-transfer.c:180:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_GUINT64_FORMAT [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/file-transfer.c:200:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOURCE_REMOVE [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/file-transfer.c:254:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/file-transfer.c:344:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/file-transfer.c:371:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/file-transfer.c:464:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/file-transfer.c:511:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable auto_unlock_unref [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/file-transfer.c:526:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-reader.c:108:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXUINT [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/file-transfer.c:584:45: style:inconclusive: Function 'stop_file_transfers_for_sender' argument 1 names different: declaration 'name' definition 'sender'. [funcArgNamesDifferent] xdg-desktop-portal-1.20.3/document-portal/file-transfer.h:29:50: note: Function 'stop_file_transfers_for_sender' argument 1 names different: declaration 'name' definition 'sender'. xdg-desktop-portal-1.20.3/document-portal/file-transfer.c:584:45: note: Function 'stop_file_transfers_for_sender' argument 1 names different: declaration 'name' definition 'sender'. xdg-desktop-portal-1.20.3/document-portal/file-transfer.c:231:38: style: Parameter 'st_buf' can be declared as pointer to const [constParameterPointer] xdg-desktop-portal-1.20.3/document-portal/file-transfer.c:232:38: style: Parameter 'parent_st_buf' can be declared as pointer to const [constParameterPointer] xdg-desktop-portal-1.20.3/document-portal/file-transfer.c:559:51: style: Parameter 'task_data' can be declared as pointer to const. However it seems that 'stop_file_transfers_in_thread_func' is a callback function, if 'task_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/document-portal/file-transfer.c:590:31: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/document-portal/file-transfer.c:559:51: note: Parameter 'task_data' can be declared as pointer to const xdg-desktop-portal-1.20.3/document-portal/document-portal.c:109:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:138:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:201:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:263:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:313:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:382:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:451:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable old_entry [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:494:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:537:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GKeyFile [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:579:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:634:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:677:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:774:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPtrArray [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:949:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:1101:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:1177:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:1211:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:1294:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:1314:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:1327:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:1365:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:1409:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:1468:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:1531:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_INTERFACE_SKELETON_FLAGS_HANDLE_METHOD_INVOCATIONS_IN_THREAD [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:1578:104: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:1616:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOURCE_REMOVE [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:1670:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:1698:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:1715:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:1724:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-builder.c:518:42: error: Dereferencing 'str' after it is deallocated / released [deallocuse] xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-builder.c:70:35: style:inconclusive: Function 'gvdb_hash_table_new' argument 2 names different: declaration 'key' definition 'name_in_parent'. [funcArgNamesDifferent] xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-builder.h:29:89: note: Function 'gvdb_hash_table_new' argument 2 names different: declaration 'key' definition 'name_in_parent'. xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-builder.c:70:35: note: Function 'gvdb_hash_table_new' argument 2 names different: declaration 'key' definition 'name_in_parent'. xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-builder.c:189:29: style: Parameter 'key' can be declared as pointer to const. However it seems that 'hash_table_insert' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-builder.c:364:32: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-builder.c:189:29: note: Parameter 'key' can be declared as pointer to const xdg-desktop-portal-1.20.3/document-portal/permission-db.c:347:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:397:17: debug: Scope::checkVariable found variable '_value' with varid 0. [varid0] xdg-desktop-portal-1.20.3/document-portal/permission-store.c:74:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/permission-store.c:83:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/permission-store.c:93:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/permission-store.c:125:7: error: Memory leak: context [memleak] xdg-desktop-portal-1.20.3/document-portal/permission-store.c:154:3: error: Memory leak: loop [memleak] xdg-desktop-portal-1.20.3/document-portal/permission-store.c:154:3: error: Memory leak: context [memleak] xdg-desktop-portal-1.20.3/document-portal/permission-store.c:41:36: style: Parameter 'connection' can be declared as pointer to const. However it seems that 'on_name_acquired' is a callback function, if 'connection' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/document-portal/permission-store.c:144:30: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/document-portal/permission-store.c:41:36: note: Parameter 'connection' can be declared as pointer to const xdg-desktop-portal-1.20.3/document-portal/permission-store.c:43:36: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'on_name_acquired' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/document-portal/permission-store.c:144:30: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/document-portal/permission-store.c:43:36: note: Parameter 'user_data' can be declared as pointer to const xdg-desktop-portal-1.20.3/document-portal/permission-store.c:48:32: style: Parameter 'connection' can be declared as pointer to const. However it seems that 'on_name_lost' is a callback function, if 'connection' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/document-portal/permission-store.c:145:30: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/document-portal/permission-store.c:48:32: note: Parameter 'connection' can be declared as pointer to const xdg-desktop-portal-1.20.3/document-portal/permission-store.c:50:32: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'on_name_lost' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/document-portal/permission-store.c:145:30: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/document-portal/permission-store.c:50:32: note: Parameter 'user_data' can be declared as pointer to const xdg-desktop-portal-1.20.3/document-portal/permission-store.c:71:33: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'message_handler' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/document-portal/permission-store.c:135:57: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/document-portal/permission-store.c:71:33: note: Parameter 'user_data' can be declared as pointer to const xdg-desktop-portal-1.20.3/document-portal/permission-db.c:148:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_bytes_unref [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:221:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:241:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_ptr_array_unref [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:252:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:276:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFile [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:347:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:397:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _value [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:489:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:536:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:649:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable old_entry [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:729:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GHashTable [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:832:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTask [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:854:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTask [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:897:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:967:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:978:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:1012:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:1056:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:1069:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:1083:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:1095:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:1156:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:1250:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:1269:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-reader.c:492:31: style:inconclusive: Function 'gvdb_table_list' argument 1 names different: declaration 'table' definition 'file'. [funcArgNamesDifferent] xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-reader.h:43:88: note: Function 'gvdb_table_list' argument 1 names different: declaration 'table' definition 'file'. xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-reader.c:492:31: note: Function 'gvdb_table_list' argument 1 names different: declaration 'table' definition 'file'. xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-reader.c:548:37: style:inconclusive: Function 'gvdb_table_has_value' argument 1 names different: declaration 'table' definition 'file'. [funcArgNamesDifferent] xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-reader.h:56:88: note: Function 'gvdb_table_has_value' argument 1 names different: declaration 'table' definition 'file'. xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-reader.c:548:37: note: Function 'gvdb_table_has_value' argument 1 names different: declaration 'table' definition 'file'. xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-reader.c:601:37: style:inconclusive: Function 'gvdb_table_get_value' argument 1 names different: declaration 'table' definition 'file'. [funcArgNamesDifferent] xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-reader.h:52:88: note: Function 'gvdb_table_get_value' argument 1 names different: declaration 'table' definition 'file'. xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-reader.c:601:37: note: Function 'gvdb_table_get_value' argument 1 names different: declaration 'table' definition 'file'. xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-reader.c:667:36: style:inconclusive: Function 'gvdb_table_get_table' argument 1 names different: declaration 'table' definition 'file'. [funcArgNamesDifferent] xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-reader.h:46:88: note: Function 'gvdb_table_get_table' argument 1 names different: declaration 'table' definition 'file'. xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-reader.c:667:36: note: Function 'gvdb_table_get_table' argument 1 names different: declaration 'table' definition 'file'. xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-reader.c:697:29: style:inconclusive: Function 'gvdb_table_free' argument 1 names different: declaration 'table' definition 'file'. [funcArgNamesDifferent] xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-reader.h:38:88: note: Function 'gvdb_table_free' argument 1 names different: declaration 'table' definition 'file'. xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-reader.c:697:29: note: Function 'gvdb_table_free' argument 1 names different: declaration 'table' definition 'file'. xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-reader.c:514:40: style: Local variable 'item' shadows outer variable [shadowVariable] xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-reader.c:495:32: note: Shadowed declaration xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-reader.c:514:40: note: Shadow variable xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-reader.c:46:55: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-reader.c:63:52: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-reader.c:216:37: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xdg-desktop-portal-1.20.3/document-portal/gvdb/gvdb-reader.c:233:47: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] xdg-desktop-portal-1.20.3/document-portal/xdg-permission-store.c:59:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/xdg-permission-store.c:98:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/xdg-permission-store.c:154:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/xdg-permission-store.c:170:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/xdg-permission-store.c:197:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/xdg-permission-store.c:230:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/xdg-permission-store.c:250:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/xdg-permission-store.c:271:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/xdg-permission-store.c:303:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/xdg-permission-store.c:337:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/xdg-permission-store.c:373:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/xdg-permission-store.c:429:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/xdg-permission-store.c:471:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/src/glib-backports.h:29:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] xdg-desktop-portal-1.20.3/src/glib-backports.h:29:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:915:9: error: Return value of allocation function 'permission_db_entry_print_string' is not stored. [leakReturnValNotUsed] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:92:33: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:112:39: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:145:17: style: Variable 'self' can be declared as pointer to const [constVariablePointer] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:163:41: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'permission_db_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:212:32: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/document-portal/permission-db.c:163:41: note: Parameter 'pspec' can be declared as pointer to const xdg-desktop-portal-1.20.3/document-portal/permission-db.c:165:17: style: Variable 'self' can be declared as pointer to const [constVariablePointer] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:186:43: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'permission_db_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:213:32: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/document-portal/permission-db.c:186:43: note: Parameter 'pspec' can be declared as pointer to const xdg-desktop-portal-1.20.3/document-portal/permission-db.c:384:14: style: Variable 'array' can be declared as pointer to const [constVariablePointer] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:409:18: style: Variable 'value' can be declared as pointer to const [constVariablePointer] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:636:39: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:795:42: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:807:11: style: Variable 'content' can be declared as pointer to const [constVariablePointer] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:1110:23: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] xdg-desktop-portal-1.20.3/document-portal/permission-db.c:1111:23: style: Parameter 'app_permissions' can be declared as pointer to const [constParameterPointer] xdg-desktop-portal-1.20.3/src/flatpak-instance.c:117:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flatpak_instance_parent_class [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/src/flatpak-instance.c:337:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/src/flatpak-instance.c:356:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/src/flatpak-instance.c:394:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/src/flatpak-instance.c:453:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/src/flatpak-instance.c:472:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPtrArray [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/src/flatpak-instance.c:129:41: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] xdg-desktop-portal-1.20.3/src/flatpak-instance.c:147:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] xdg-desktop-portal-1.20.3/src/flatpak-instance.c:167:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] xdg-desktop-portal-1.20.3/src/flatpak-instance.c:185:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] xdg-desktop-portal-1.20.3/src/flatpak-instance.c:203:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] xdg-desktop-portal-1.20.3/src/flatpak-instance.c:221:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] xdg-desktop-portal-1.20.3/src/flatpak-instance.c:239:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] xdg-desktop-portal-1.20.3/src/flatpak-instance.c:257:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] xdg-desktop-portal-1.20.3/src/flatpak-instance.c:278:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] xdg-desktop-portal-1.20.3/src/flatpak-instance.c:329:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] xdg-desktop-portal-1.20.3/src/flatpak-instance.c:517:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] xdg-desktop-portal-1.20.3/src/pipewire.c:55:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parent_id [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/src/pipewire.c:108:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PW_ID_CORE [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/src/pipewire.c:136:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PW_ID_CORE [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/src/pipewire.c:227:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pw_proxy_destroy [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/src/pipewire.c:264:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/src/pipewire.c:332:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PW_VERSION_REGISTRY [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/src/sd-escape.c:24:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/src/sd-escape.c:48:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/src/sd-escape.c:64:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/src/sd-escape.c:283:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/src/validate-sound.c:41:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GKeyFile [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/src/validate-sound.c:328:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GOptionContext [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:377:27: style:inconclusive: Function 'validate_fd' argument 5 names different: declaration 'real_parent_st_buf' definition 'real_dir_st_buf'. [funcArgNamesDifferent] xdg-desktop-portal-1.20.3/document-portal/document-portal.h:38:37: note: Function 'validate_fd' argument 5 names different: declaration 'real_parent_st_buf' definition 'real_dir_st_buf'. xdg-desktop-portal-1.20.3/document-portal/document-portal.c:377:27: note: Function 'validate_fd' argument 5 names different: declaration 'real_parent_st_buf' definition 'real_dir_st_buf'. xdg-desktop-portal-1.20.3/document-portal/document-portal.c:311:29: style: Parameter 'parent_st_buf' can be declared as pointer to const [constParameterPointer] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:444:40: style: Parameter 'st_buf' can be declared as pointer to const [constParameterPointer] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:763:46: style: Parameter 'fd' can be declared as pointer to const [constParameterPointer] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:764:46: style: Parameter 'parent_dev' can be declared as pointer to const [constParameterPointer] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:765:46: style: Parameter 'parent_ino' can be declared as pointer to const [constParameterPointer] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:766:46: style: Parameter 'documents_flags' can be declared as pointer to const [constParameterPointer] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:54:26: style: struct member 'XdpDocUpdate::doc_id' is never used. [unusedStructMember] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:55:26: style: struct member 'XdpDocUpdate::fd' is never used. [unusedStructMember] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:56:26: style: struct member 'XdpDocUpdate::owner' is never used. [unusedStructMember] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:57:26: style: struct member 'XdpDocUpdate::flags' is never used. [unusedStructMember] xdg-desktop-portal-1.20.3/document-portal/document-portal.c:59:26: style: struct member 'XdpDocUpdate::finish_invocation' is never used. [unusedStructMember] xdg-desktop-portal-1.20.3/src/xdp-app-launch-context.c:59:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdp_app_launch_context_parent_class [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/src/xdp-app-launch-context.c:55:24: style: Variable 'self' can be declared as pointer to const [constVariablePointer] xdg-desktop-portal-1.20.3/src/xdp-app-launch-context.c:73:51: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] xdg-desktop-portal-1.20.3/src/xdp-background-monitor.c:50:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] xdg-desktop-portal-1.20.3/src/xdp-background-monitor.c:50:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] xdg-desktop-portal-1.20.3/src/xdp-permissions.c:36:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/src/xdp-permissions.c:69:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/src/xdp-permissions.c:125:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/src/xdp-permissions.c:146:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/src/xdp-permissions.c:161:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/src/xdp-permissions.c:172:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_PROXY_FLAGS_NONE [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/src/xdp-portal-impl.c:330:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] xdg-desktop-portal-1.20.3/src/xdp-portal-impl.c:330:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] xdg-desktop-portal-1.20.3/src/xdp-permissions.c:169:46: style:inconclusive: Function 'xdp_init_permission_store' argument 2 names different: declaration 'err' definition 'error'. [funcArgNamesDifferent] xdg-desktop-portal-1.20.3/src/xdp-permissions.h:59:55: note: Function 'xdp_init_permission_store' argument 2 names different: declaration 'err' definition 'error'. xdg-desktop-portal-1.20.3/src/xdp-permissions.c:169:46: note: Function 'xdp_init_permission_store' argument 2 names different: declaration 'err' definition 'error'. xdg-desktop-portal-1.20.3/src/xdp-usb-query.c:145:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usb_rule [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/src/xdp-usb-query.c:179:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_ptr_array_unref [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/src/xdp-usb-query.c:187:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usb_query [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/tests/test-xdp-utils.c:107:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/tests/test-permission-db.c:20:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PermissionDbEntry [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/tests/test-permission-db.c:70:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/tests/test-permission-db.c:159:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TEST_DIST [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/tests/test-permission-db.c:180:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PermissionDb [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/tests/test-permission-db.c:229:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PermissionDb [valueFlowBailoutIncompleteVar] xdg-desktop-portal-1.20.3/tests/test-permission-db.c:76:3: warning: Assert statement calls a function which may have desired side effects: 'g_strv_length'. [assertWithSideEffect] xdg-desktop-portal-1.20.3/tests/test-permission-db.c:95:5: warning: Assert statement calls a function which may have desired side effects: 'g_strv_length'. [assertWithSideEffect] xdg-desktop-portal-1.20.3/tests/test-permission-db.c:100:5: warning: Assert statement calls a function which may have desired side effects: 'g_strv_length'. [assertWithSideEffect] xdg-desktop-portal-1.20.3/tests/test-permission-db.c:104:5: warning: Assert statement calls a function which may have desired side effects: 'g_strv_length'. [assertWithSideEffect] xdg-desktop-portal-1.20.3/tests/test-permission-db.c:107:5: warning: Assert statement calls a function which may have desired side effects: 'g_strv_length'. [assertWithSideEffect] xdg-desktop-portal-1.20.3/tests/test-permission-db.c:112:5: warning: Assert statement calls a function which may have desired side effects: 'g_strv_length'. [assertWithSideEffect] xdg-desktop-portal-1.20.3/tests/test-permission-db.c:128:5: warning: Assert statement calls a function which may have desired side effects: 'g_strv_length'. [assertWithSideEffect] xdg-desktop-portal-1.20.3/tests/test-permission-db.c:132:5: warning: Assert statement calls a function which may have desired side effects: 'g_strv_length'. [assertWithSideEffect] xdg-desktop-portal-1.20.3/tests/test-permission-db.c:135:5: warning: Assert statement calls a function which may have desired side effects: 'g_strv_length'. [assertWithSideEffect] xdg-desktop-portal-1.20.3/tests/test-permission-db.c:146:3: warning: Assert statement calls a function which may have desired side effects: 'g_strv_length'. [assertWithSideEffect] xdg-desktop-portal-1.20.3/tests/test-permission-db.c:160:3: warning: Assert statement calls a function which may have desired side effects: 'g_error_matches'. [assertWithSideEffect] xdg-desktop-portal-1.20.3/tests/test-permission-db.c:278:5: warning: Assert statement calls a function which may have desired side effects: 'g_strv_length'. [assertWithSideEffect] xdg-desktop-portal-1.20.3/tests/test-permission-db.c:285:5: warning: Assert statement calls a function which may have desired side effects: 'g_strv_length'. [assertWithSideEffect] xdg-desktop-portal-1.20.3/tests/test-permission-db.c:289:5: warning: Assert statement calls a function which may have desired side effects: 'g_strv_length'. [assertWithSideEffect] xdg-desktop-portal-1.20.3/tests/test-permission-db.c:295:5: warning: Assert statement calls a function which may have desired side effects: 'g_strv_length'. [assertWithSideEffect] xdg-desktop-portal-1.20.3/tests/test-permission-db.c:299:5: warning: Assert statement calls a function which may have desired side effects: 'g_strv_length'. [assertWithSideEffect] xdg-desktop-portal-1.20.3/tests/test-permission-db.c:321:5: warning: Assert statement calls a function which may have desired side effects: 'g_strv_length'. [assertWithSideEffect] xdg-desktop-portal-1.20.3/tests/test-permission-db.c:328:5: warning: Assert statement calls a function which may have desired side effects: 'g_strv_length'. [assertWithSideEffect] xdg-desktop-portal-1.20.3/tests/test-permission-db.c:332:5: warning: Assert statement calls a function which may have desired side effects: 'g_strv_length'. [assertWithSideEffect] xdg-desktop-portal-1.20.3/tests/test-permission-db.c:338:5: warning: Assert statement calls a function which may have desired side effects: 'g_strv_length'. [assertWithSideEffect] xdg-desktop-portal-1.20.3/tests/test-permission-db.c:342:5: warning: Assert statement calls a function which may have desired side effects: 'g_strv_length'. [assertWithSideEffect] diff: 2.18.0 xdg-desktop-portal-1.20.3/src/account.c:129:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/account.c:184:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/account.c:241:35: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/account.c:249:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/account.c:75:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantBuilder [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/background.c:1026:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/background.c:1051:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/background.c:114:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/background.c:1159:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/background.c:1227:41: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/background.c:1236:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/background.c:138:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/background.c:179:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/background.c:192:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/background.c:243:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/background.c:327:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPtrArray [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/background.c:347:13: style: Variable 'handle' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/background.c:355:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantBuilder [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/background.c:368:19: style: Local variable 'id' shadows outer variable [shadowVariable] xdg-desktop-portal-1.20.3/src/background.c:359:9: note: Shadowed declaration xdg-desktop-portal-1.20.3/src/background.c:368:19: note: Shadow variable 2.18.0 xdg-desktop-portal-1.20.3/src/background.c:399:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/background.c:439:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/background.c:507:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/background.c:657:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_hash_table_unref [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/background.c:666:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GThread [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/background.c:698:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/background.c:790:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/background.c:928:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/background.c:974:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/camera.c:171:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request_auto_unlock [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/camera.c:181:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 xdg-desktop-portal-1.20.3/src/camera.c:206:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTask [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/camera.c:257:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PW_PERM_R [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/camera.c:275:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XdpAppInfo [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/camera.c:353:11: style: Local variable 'camera' shadows outer variable [shadowVariable] xdg-desktop-portal-1.20.3/src/camera.c:61:16: note: Shadowed declaration xdg-desktop-portal-1.20.3/src/camera.c:353:11: note: Shadow variable 2.18.0 xdg-desktop-portal-1.20.3/src/camera.c:357:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PW_TYPE_INTERFACE_Node [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/camera.c:387:11: style: Local variable 'camera' shadows outer variable [shadowVariable] xdg-desktop-portal-1.20.3/src/camera.c:61:16: note: Shadowed declaration xdg-desktop-portal-1.20.3/src/camera.c:387:11: note: Shadow variable 2.18.0 xdg-desktop-portal-1.20.3/src/camera.c:399:11: style: Local variable 'camera' shadows outer variable [shadowVariable] xdg-desktop-portal-1.20.3/src/camera.c:61:16: note: Shadowed declaration xdg-desktop-portal-1.20.3/src/camera.c:399:11: note: Shadow variable 2.18.0 xdg-desktop-portal-1.20.3/src/camera.c:400:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/camera.c:432:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/camera.c:464:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/camera.c:485:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/camera.c:513:11: style: Local variable 'camera' shadows outer variable [shadowVariable] xdg-desktop-portal-1.20.3/src/camera.c:61:16: note: Shadowed declaration xdg-desktop-portal-1.20.3/src/camera.c:513:11: note: Shadow variable 2.18.0 xdg-desktop-portal-1.20.3/src/camera.c:513:11: style: Variable 'camera' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/camera.c:517:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_hash_table_unref [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/camera.c:525:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/camera.c:546:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/camera.c:85:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantBuilder [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/clipboard.c:117:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantBuilder [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/clipboard.c:176:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDBusMethodInvocation [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/clipboard.c:248:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_METHOD_INVOCATION_HANDLED [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/clipboard.c:299:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_METHOD_INVOCATION_HANDLED [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/clipboard.c:335:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDBusMethodInvocation [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/clipboard.c:403:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_METHOD_INVOCATION_HANDLED [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/clipboard.c:455:39: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/clipboard.c:477:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_auto_unlock_unref [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/clipboard.c:499:39: style: Parameter 'arg_options' can be declared as pointer to const. However it seems that 'selection_owner_changed_cb' is a callback function, if 'arg_options' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/src/clipboard.c:557:3: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/src/clipboard.c:499:39: note: Parameter 'arg_options' can be declared as pointer to const 2.18.0 xdg-desktop-portal-1.20.3/src/clipboard.c:513:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_auto_unlock_unref [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/clipboard.c:536:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/clipboard.c:78:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_METHOD_INVOCATION_HANDLED [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/dynamic-launcher.c:231:42: error: There is an unknown macro here somewhere. Configuration is required. If G_DIR_SEPARATOR_S is a macro then please configure it. [unknownMacro] 2.18.0 xdg-desktop-portal-1.20.3/src/email.c:154:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/email.c:214:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/email.c:324:31: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/email.c:332:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/email.c:76:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request_auto_unlock [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/email.c:97:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/file-chooser.c:167:13: style: Variable 'q' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/file-chooser.c:196:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/file-chooser.c:210:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/file-chooser.c:258:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/file-chooser.c:337:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/file-chooser.c:355:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/file-chooser.c:405:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/file-chooser.c:499:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/file-chooser.c:531:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/file-chooser.c:626:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/file-chooser.c:660:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/file-chooser.c:76:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantBuilder [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/file-chooser.c:785:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/file-chooser.c:819:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/file-chooser.c:84:13: style: Variable 'choices' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/file-chooser.c:85:13: style: Variable 'current_filter' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/file-chooser.c:891:44: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/file-chooser.c:898:39: style:inconclusive: Function 'file_chooser_create' argument 3 names different: declaration 'lockdown' definition 'lockdown_proxy'. [funcArgNamesDifferent] xdg-desktop-portal-1.20.3/src/file-chooser.h:29:64: note: Function 'file_chooser_create' argument 3 names different: declaration 'lockdown' definition 'lockdown_proxy'. xdg-desktop-portal-1.20.3/src/file-chooser.c:898:39: note: Function 'file_chooser_create' argument 3 names different: declaration 'lockdown' definition 'lockdown_proxy'. 2.18.0 xdg-desktop-portal-1.20.3/src/file-chooser.c:900:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/gamemode.c:154:38: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/gamemode.c:163:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/gamemode.c:272:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/gamemode.c:376:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTask [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/gamemode.c:407:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTask [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/gamemode.c:439:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_METHOD_INVOCATION_HANDLED [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/gamemode.c:448:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_METHOD_INVOCATION_HANDLED [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/gamemode.c:457:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_METHOD_INVOCATION_HANDLED [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/gamemode.c:471:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_METHOD_INVOCATION_HANDLED [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/gamemode.c:485:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_METHOD_INVOCATION_HANDLED [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/gamemode.c:499:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_METHOD_INVOCATION_HANDLED [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/gamemode.c:515:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_METHOD_INVOCATION_HANDLED [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/gamemode.c:530:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_METHOD_INVOCATION_HANDLED [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/gamemode.c:545:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_METHOD_INVOCATION_HANDLED [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/gamemode.c:560:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/gamemode.c:573:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/gamemode.c:587:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] head xdg-desktop-portal-1.20.3/src/glib-backports.h:29:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head xdg-desktop-portal-1.20.3/src/glib-backports.h:29:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 xdg-desktop-portal-1.20.3/src/global-shortcuts.c:100:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable global_shortcuts_session_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/global-shortcuts.c:104:56: style: Parameter 'global_shortcuts_session' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/global-shortcuts.c:157:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/global-shortcuts.c:229:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/global-shortcuts.c:294:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/global-shortcuts.c:334:40: style: Parameter 'filtered' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/global-shortcuts.c:339:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantIter [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/global-shortcuts.c:382:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XdpDbusImplRequest [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/global-shortcuts.c:464:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/global-shortcuts.c:509:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XdpDbusImplRequest [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/global-shortcuts.c:584:52: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/global-shortcuts.c:595:25: style: Parameter 'options' can be declared as pointer to const. However it seems that 'activated_cb' is a callback function, if 'options' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/src/global-shortcuts.c:687:3: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/src/global-shortcuts.c:595:25: note: Parameter 'options' can be declared as pointer to const 2.18.0 xdg-desktop-portal-1.20.3/src/global-shortcuts.c:599:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/global-shortcuts.c:600:27: style: Variable 'global_shortcuts_session' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/global-shortcuts.c:622:27: style: Parameter 'options' can be declared as pointer to const. However it seems that 'deactivated_cb' is a callback function, if 'options' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/src/global-shortcuts.c:688:3: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/src/global-shortcuts.c:622:27: note: Parameter 'options' can be declared as pointer to const 2.18.0 xdg-desktop-portal-1.20.3/src/global-shortcuts.c:626:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/global-shortcuts.c:627:27: style: Variable 'global_shortcuts_session' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/global-shortcuts.c:647:33: style: Parameter 'shortcuts' can be declared as pointer to const. However it seems that 'shortcuts_changed_cb' is a callback function, if 'shortcuts' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/src/global-shortcuts.c:689:3: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/src/global-shortcuts.c:647:33: note: Parameter 'shortcuts' can be declared as pointer to const 2.18.0 xdg-desktop-portal-1.20.3/src/global-shortcuts.c:651:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/global-shortcuts.c:652:27: style: Variable 'global_shortcuts_session' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/global-shortcuts.c:671:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/global-shortcuts.c:83:39: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/inhibit.c:103:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/inhibit.c:129:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 xdg-desktop-portal-1.20.3/src/inhibit.c:146:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request_auto_unlock [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/inhibit.c:158:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 xdg-desktop-portal-1.20.3/src/inhibit.c:200:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/inhibit.c:274:30: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/inhibit.c:292:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inhibit_session_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/inhibit.c:296:39: style: Parameter 'inhibit_session' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/inhibit.c:346:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/inhibit.c:409:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/inhibit.c:458:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/inhibit.c:492:35: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/inhibit.c:503:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/inhibit.c:504:19: style: Variable 'inhibit_session' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/inhibit.c:527:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/inhibit.c:76:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/input-capture.c:1006:39: style: Parameter 'options' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/input-capture.c:1010:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/input-capture.c:1027:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/input-capture.c:1060:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/input-capture.c:1092:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/input-capture.c:1124:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/input-capture.c:1125:24: style: Variable 'input_capture_session' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/input-capture.c:1167:46: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/input-capture.c:1186:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable input_capture_session_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/input-capture.c:1190:50: style: Parameter 'input_capture_session' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/input-capture.c:1211:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/input-capture.c:135:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/input-capture.c:236:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XdpDbusImplRequest [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/input-capture.c:302:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/input-capture.c:359:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XdpDbusImplRequest [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/input-capture.c:360:24: style: Variable 'input_capture_session' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/input-capture.c:457:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/input-capture.c:515:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XdpDbusImplRequest [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/input-capture.c:516:24: style: Variable 'input_capture_session' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/input-capture.c:622:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/input-capture.c:722:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/input-capture.c:823:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/input-capture.c:921:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUnixFDList [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/input-capture.c:94:36: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/location.c:116:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable location_session_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/location.c:162:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/location.c:208:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDBusConnection [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/location.c:247:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 xdg-desktop-portal-1.20.3/src/location.c:247:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 xdg-desktop-portal-1.20.3/src/location.c:320:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCLUE_ACCURACY_LEVEL_NONE [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/location.c:344:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/location.c:380:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/location.c:425:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/location.c:506:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/location.c:638:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 xdg-desktop-portal-1.20.3/src/location.c:662:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTask [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/location.c:744:37: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/location.c:752:27: style:inconclusive: Function 'location_create' argument 3 names different: declaration 'lockdown' definition 'lockdown_proxy'. [funcArgNamesDifferent] xdg-desktop-portal-1.20.3/src/location.h:30:52: note: Function 'location_create' argument 3 names different: declaration 'lockdown' definition 'lockdown_proxy'. xdg-desktop-portal-1.20.3/src/location.c:752:27: note: Function 'location_create' argument 3 names different: declaration 'lockdown' definition 'lockdown_proxy'. 2.18.0 xdg-desktop-portal-1.20.3/src/location.c:754:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/location.c:83:31: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/location.c:93:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCLUE_ACCURACY_LEVEL_EXACT [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/memory-monitor.c:100:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_monitor_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/memory-monitor.c:65:55: style: Parameter 'iface' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/network-monitor.c:104:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_METHOD_INVOCATION_HANDLED [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/network-monitor.c:128:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_METHOD_INVOCATION_HANDLED [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/network-monitor.c:147:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantBuilder [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/network-monitor.c:173:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDBusMethodInvocation [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/network-monitor.c:199:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSocketConnectable [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/network-monitor.c:237:50: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/network-monitor.c:80:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_METHOD_INVOCATION_HANDLED [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/notification.c:1024:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/notification.c:1046:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantBuilder [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/notification.c:1095:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTask [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/notification.c:1116:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CallData [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/notification.c:1158:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_METHOD_INVOCATION_HANDLED [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/notification.c:1239:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BINDING_SYNC_CREATE [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/notification.c:1243:45: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/notification.c:1251:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/notification.c:164:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable call_data_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/notification.c:188:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CallData [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/notification.c:258:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXSSIZE [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/notification.c:293:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/notification.c:367:38: style: Parameter 'builder' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/notification.c:371:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GMarkupParseContext [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/notification.c:389:14: style: Variable 'stripped' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/notification.c:404:35: style: Parameter 'builder' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/notification.c:465:33: style: Parameter 'builder' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/notification.c:470:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/notification.c:568:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/notification.c:586:42: style: Parameter 'builder' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/notification.c:593:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/notification.c:703:27: style: Variable 'bytes_icon' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/notification.c:745:43: style: Parameter 'builder' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/notification.c:752:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/notification.c:832:39: style: Parameter 'builder' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/notification.c:837:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/notification.c:884:35: style: Parameter 'builder' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/notification.c:939:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/open-uri.c:1003:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTask [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/open-uri.c:1072:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTask [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/open-uri.c:110:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/open-uri.c:1141:36: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/open-uri.c:1148:27: style:inconclusive: Function 'open_uri_create' argument 3 names different: declaration 'lockdown' definition 'lockdown_proxy'. [funcArgNamesDifferent] xdg-desktop-portal-1.20.3/src/open-uri.h:30:60: note: Function 'open_uri_create' argument 3 names different: declaration 'lockdown' definition 'lockdown_proxy'. xdg-desktop-portal-1.20.3/src/open-uri.c:1148:27: note: Function 'open_uri_create' argument 3 names different: declaration 'lockdown' definition 'lockdown_proxy'. 2.18.0 xdg-desktop-portal-1.20.3/src/open-uri.c:1150:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/open-uri.c:133:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/open-uri.c:196:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/open-uri.c:225:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/open-uri.c:243:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/open-uri.c:296:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/open-uri.c:321:36: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] 2.18.0 xdg-desktop-portal-1.20.3/src/open-uri.c:322:40: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] 2.18.0 xdg-desktop-portal-1.20.3/src/open-uri.c:358:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request_auto_unlock [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/open-uri.c:405:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/open-uri.c:435:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/open-uri.c:458:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/open-uri.c:511:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAppInfo [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/open-uri.c:559:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/open-uri.c:578:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDesktopAppInfo [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/open-uri.c:598:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/open-uri.c:925:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAppInfo [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/open-uri.c:952:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTask [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/power-profile-monitor.c:100:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable power_profile_monitor_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/power-profile-monitor.c:65:68: style: Parameter 'iface' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/print.c:114:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/print.c:123:30: debug: Scope::checkVariable found variable 'strv' with varid 0. [varid0] 2.18.0 xdg-desktop-portal-1.20.3/src/print.c:153:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/print.c:215:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/print.c:267:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/print.c:331:31: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/print.c:338:24: style:inconclusive: Function 'print_create' argument 3 names different: declaration 'lockdown' definition 'lockdown_proxy'. [funcArgNamesDifferent] xdg-desktop-portal-1.20.3/src/print.h:29:57: note: Function 'print_create' argument 3 names different: declaration 'lockdown' definition 'lockdown_proxy'. xdg-desktop-portal-1.20.3/src/print.c:338:24: note: Function 'print_create' argument 3 names different: declaration 'lockdown' definition 'lockdown_proxy'. 2.18.0 xdg-desktop-portal-1.20.3/src/print.c:340:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/print.c:72:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/proxy-resolver.c:105:48: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/proxy-resolver.c:76:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/realtime.c:101:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/realtime.c:122:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/realtime.c:173:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/realtime.c:237:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable realtime_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/realtime.c:256:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/realtime.c:299:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/registry.c:105:37: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/registry.c:63:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XdpAppInfo [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:1039:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantBuilder [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:1097:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantBuilder [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:113:66: style: Parameter 'session' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:1155:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantBuilder [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:1213:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantBuilder [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:1273:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantBuilder [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:131:66: style: Parameter 'session' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:1343:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantBuilder [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:1410:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantBuilder [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:1470:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUnixFDList [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:149:69: style: Parameter 'session' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:1608:48: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:1616:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:1655:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable remote_desktop_session_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:1659:52: style: Parameter 'remote_desktop_session' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:170:59: style: Parameter 'session' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:182:68: style: Parameter 'session' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:229:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:295:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:352:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:476:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:502:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:563:7: style: Condition '!replace_remote_desktop_restore_token_with_data(session,&options,&error)' is always false [knownConditionTrueFalse] xdg-desktop-portal-1.20.3/src/remote-desktop.c:563:55: note: Calling function 'replace_remote_desktop_restore_token_with_data' returns 1 xdg-desktop-portal-1.20.3/src/remote-desktop.c:563:7: note: Condition '!replace_remote_desktop_restore_token_with_data(session,&options,&error)' is always false 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:605:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantIter [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:633:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:665:15: style: Condition '!process_results(remote_desktop_session,&results,&error)' is always false [knownConditionTrueFalse] xdg-desktop-portal-1.20.3/src/remote-desktop.c:665:32: note: Calling function 'process_results' returns 1 xdg-desktop-portal-1.20.3/src/remote-desktop.c:665:15: note: Condition '!process_results(remote_desktop_session,&results,&error)' is always false 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:709:25: style: Variable 'remote_desktop_session' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:710:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:793:25: style: Variable 'remote_desktop_session' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:824:25: style: Local variable 'stream' shadows outer argument [shadowArgument] xdg-desktop-portal-1.20.3/src/remote-desktop.c:815:26: note: Shadowed declaration xdg-desktop-portal-1.20.3/src/remote-desktop.c:824:25: note: Shadow variable 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:850:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantBuilder [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:908:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantBuilder [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.c:976:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantBuilder [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/remote-desktop.h:39:37: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/rewrite-launchers.c:79:64: error: There is an unknown macro here somewhere. Configuration is required. If G_DIR_SEPARATOR_S is a macro then please configure it. [unknownMacro] 2.18.0 xdg-desktop-portal-1.20.3/src/screen-cast.c:1089:42: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/screen-cast.c:1099:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/screen-cast.c:1149:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable screen_cast_session_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/screen-cast.c:1153:46: style: Parameter 'screen_cast_session' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/screen-cast.c:119:34: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/screen-cast.c:160:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/screen-cast.c:226:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/screen-cast.c:283:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/screen-cast.c:439:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/screen-cast.c:486:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/screen-cast.c:508:26: style: Variable 'screen_cast_session' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/screen-cast.c:620:60: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/screen-cast.c:638:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable id [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/screen-cast.c:650:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GArray [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/screen-cast.c:695:48: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/screen-cast.c:714:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/screen-cast.c:749:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantIter [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/screen-cast.c:769:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/screen-cast.c:847:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/screen-cast.c:946:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUnixFDList [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/screenshot.c:161:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/screenshot.c:199:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/screenshot.c:357:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTask [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/screenshot.c:382:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/screenshot.c:418:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/screenshot.c:476:41: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/screenshot.c:485:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/screenshot.c:80:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 xdg-desktop-portal-1.20.3/src/screenshot.c:98:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantBuilder [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/secret.c:132:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/secret.c:190:33: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/secret.c:198:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/secret.c:78:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantBuilder [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/secret.c:99:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/settings.c:102:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantBuilder [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/settings.c:130:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GHashTable [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/settings.c:168:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/settings.c:204:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/settings.c:263:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable settings_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/settings.c:276:35: style:inconclusive: Function 'settings_create' argument 2 names different: declaration 'impls' definition 'implementations'. [funcArgNamesDifferent] xdg-desktop-portal-1.20.3/src/settings.h:29:60: note: Function 'settings_create' argument 2 names different: declaration 'impls' definition 'implementations'. xdg-desktop-portal-1.20.3/src/settings.c:276:35: note: Function 'settings_create' argument 2 names different: declaration 'impls' definition 'implementations'. 2.18.0 xdg-desktop-portal-1.20.3/src/settings.c:278:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable settings [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/settings.c:72:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/trash.c:109:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofd [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/trash.c:146:31: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/trash.c:72:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/usb.c:1072:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantIter [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/usb.c:1157:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XdpDbusImplRequest [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/usb.c:1247:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sender_info [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/usb.c:1422:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sender_info [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/usb.c:1475:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_hash_table_unref [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/usb.c:1493:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUdevDevice [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/usb.c:1543:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/usb.c:164:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GString [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/usb.c:183:53: style: Parameter 'acquire_data' can be declared as pointer to const. However it seems that 'usb_device_acquire_data_free' is a callback function, if 'acquire_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/src/usb.c:987:48: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/src/usb.c:183:53: note: Parameter 'acquire_data' can be declared as pointer to const 2.18.0 xdg-desktop-portal-1.20.3/src/usb.c:223:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_hash_table_destroy [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/usb.c:233:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sender_info [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/usb.c:254:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sender_info [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/usb.c:294:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable owned_device [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/usb.c:297:3: warning: Assert statement calls a function which may have desired side effects: 'g_hash_table_contains'. [assertWithSideEffect] 2.18.0 xdg-desktop-portal-1.20.3/src/usb.c:324:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/usb.c:338:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/usb.c:395:11: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] 2.18.0 xdg-desktop-portal-1.20.3/src/usb.c:456:3: warning: Assert statement calls a function which may have desired side effects: 'g_hash_table_contains'. [assertWithSideEffect] 2.18.0 xdg-desktop-portal-1.20.3/src/usb.c:463:18: style: Variable 'usb_session' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/usb.c:465:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_hash_table_destroy [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/usb.c:513:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantDict [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/usb.c:587:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/usb.c:618:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/usb.c:672:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/usb.c:727:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sender_info [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/usb.c:789:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/usb.c:864:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sender_info [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/usb.c:899:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/usb.c:950:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sender_info [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/validate-icon.c:104:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GBytes [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/validate-icon.c:341:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GOptionContext [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/wallpaper.c:131:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/wallpaper.c:313:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTask [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/wallpaper.c:343:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTask [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/wallpaper.c:396:39: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/wallpaper.c:405:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/wallpaper.c:71:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantBuilder [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/wallpaper.c:74:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 xdg-desktop-portal-1.20.3/src/wallpaper.c:88:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdg-desktop-portal.c:114:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdg-desktop-portal.c:141:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XdpAppInfo [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdg-desktop-portal.c:166:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdg-desktop-portal.c:203:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdg-desktop-portal.c:246:28: style: Variable 'implementation' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdg-desktop-portal.c:248:28: style: Variable 'access_impl' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdg-desktop-portal.c:251:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdg-desktop-portal.c:324:32: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdg-desktop-portal.c:416:36: style: Parameter 'connection' can be declared as pointer to const. However it seems that 'on_name_acquired' is a callback function, if 'connection' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/src/xdg-desktop-portal.c:536:30: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/src/xdg-desktop-portal.c:416:36: note: Parameter 'connection' can be declared as pointer to const 2.18.0 xdg-desktop-portal-1.20.3/src/xdg-desktop-portal.c:418:36: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'on_name_acquired' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/src/xdg-desktop-portal.c:536:30: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/src/xdg-desktop-portal.c:418:36: note: Parameter 'user_data' can be declared as pointer to const 2.18.0 xdg-desktop-portal-1.20.3/src/xdg-desktop-portal.c:436:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOURCE_REMOVE [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdg-desktop-portal.c:443:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdg-desktop-portal.c:97:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-flatpak.c:195:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-flatpak.c:252:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPtrArray [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-flatpak.c:296:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-flatpak.c:349:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-flatpak.c:380:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPtrArray [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-flatpak.c:392:48: debug: Scope::checkVariable found variable 'enumerable_devices' with varid 0. [varid0] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-flatpak.c:406:44: debug: Scope::checkVariable found variable 'hidden_devices' with varid 0. [varid0] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-flatpak.c:432:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-flatpak.c:488:22: style: Variable 'app_info' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-flatpak.c:490:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_key_file_free [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-flatpak.c:517:47: style: Parameter 'app_info_flatpak' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-flatpak.c:531:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-flatpak.c:562:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JsonParser [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-flatpak.c:608:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JsonNode [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-flatpak.c:646:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-flatpak.c:650:15: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-flatpak.c:705:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-flatpak.c:725:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XdpAppInfoFlatpak [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-host.c:103:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable query [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-host.c:193:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XdpAppInfoHost [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-host.c:213:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XdpAppInfoHost [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-host.c:42:19: style: Variable 'app_info_host' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-host.c:48:52: style: Parameter 'app_info' can be declared as pointer to const. However it seems that 'xdp_app_info_host_is_valid_sub_app_id' is a callback function, if 'app_info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/src/xdp-app-info-host.c:97:5: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/src/xdp-app-info-host.c:48:52: note: Parameter 'app_info' can be declared as pointer to const 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-host.c:55:60: style: Parameter 'app_info' can be declared as pointer to const. However it seems that 'xdp_app_info_host_validate_autostart' is a callback function, if 'app_info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/src/xdp-app-info-host.c:93:5: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/src/xdp-app-info-host.c:55:60: note: Parameter 'app_info' can be declared as pointer to const 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-host.c:56:60: style: Parameter 'keyfile' can be declared as pointer to const. However it seems that 'xdp_app_info_host_validate_autostart' is a callback function, if 'keyfile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/src/xdp-app-info-host.c:93:5: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/src/xdp-app-info-host.c:56:60: note: Parameter 'keyfile' can be declared as pointer to const 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-host.c:58:60: style: Parameter 'cancellable' can be declared as pointer to const. However it seems that 'xdp_app_info_host_validate_autostart' is a callback function, if 'cancellable' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/src/xdp-app-info-host.c:93:5: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/src/xdp-app-info-host.c:58:60: note: Parameter 'cancellable' can be declared as pointer to const 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-host.c:65:59: style: Parameter 'app_info' can be declared as pointer to const. However it seems that 'xdp_app_info_host_validate_dynamic_launcher' is a callback function, if 'app_info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/src/xdp-app-info-host.c:95:5: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/src/xdp-app-info-host.c:65:59: note: Parameter 'app_info' can be declared as pointer to const 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-host.c:66:59: style: Parameter 'key_file' can be declared as pointer to const. However it seems that 'xdp_app_info_host_validate_dynamic_launcher' is a callback function, if 'key_file' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/src/xdp-app-info-host.c:95:5: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/src/xdp-app-info-host.c:66:59: note: Parameter 'key_file' can be declared as pointer to const 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-host.c:75:19: style: Variable 'app_info' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-host.c:77:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_ptr_array_unref [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-snap.c:130:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-snap.c:137:41: style: Parameter 'app_info_snap' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-snap.c:146:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-snap.c:186:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-snap.c:232:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-snap.c:258:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XdpAppInfoSnap [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-snap.c:279:71: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-snap.c:286:7: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-snap.c:57:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAppInfo [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-snap.c:68:19: style: Variable 'app_info_snap' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-snap.c:72:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdp_app_info_snap_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-snap.c:79:45: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'xdp_app_info_snap_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/src/xdp-app-info-snap.c:121:32: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/src/xdp-app-info-snap.c:79:45: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-snap.c:81:19: style: Variable 'app_info_snap' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-snap.c:98:47: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'xdp_app_info_snap_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/src/xdp-app-info-snap.c:122:32: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/src/xdp-app-info-snap.c:98:47: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-test.c:104:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPtrArray [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-test.c:134:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XdpAppInfoTest [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-test.c:36:60: style: Parameter 'app_info' can be declared as pointer to const. However it seems that 'xdp_app_info_test_validate_autostart' is a callback function, if 'app_info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/src/xdp-app-info-test.c:87:5: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/src/xdp-app-info-test.c:36:60: note: Parameter 'app_info' can be declared as pointer to const 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-test.c:37:60: style: Parameter 'keyfile' can be declared as pointer to const. However it seems that 'xdp_app_info_test_validate_autostart' is a callback function, if 'keyfile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/src/xdp-app-info-test.c:87:5: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/src/xdp-app-info-test.c:37:60: note: Parameter 'keyfile' can be declared as pointer to const 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-test.c:39:60: style: Parameter 'cancellable' can be declared as pointer to const. However it seems that 'xdp_app_info_test_validate_autostart' is a callback function, if 'cancellable' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/src/xdp-app-info-test.c:87:5: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/src/xdp-app-info-test.c:39:60: note: Parameter 'cancellable' can be declared as pointer to const 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-test.c:46:59: style: Parameter 'app_info' can be declared as pointer to const. However it seems that 'xdp_app_info_test_validate_dynamic_launcher' is a callback function, if 'app_info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/src/xdp-app-info-test.c:89:5: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/src/xdp-app-info-test.c:46:59: note: Parameter 'app_info' can be declared as pointer to const 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-test.c:47:59: style: Parameter 'key_file' can be declared as pointer to const. However it seems that 'xdp_app_info_test_validate_dynamic_launcher' is a callback function, if 'key_file' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/src/xdp-app-info-test.c:89:5: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/src/xdp-app-info-test.c:47:59: note: Parameter 'key_file' can be declared as pointer to const 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-test.c:56:19: style: Variable 'app_info_test' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-test.c:62:52: style: Parameter 'app_info' can be declared as pointer to const. However it seems that 'xdp_app_info_test_is_valid_sub_app_id' is a callback function, if 'app_info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/src/xdp-app-info-test.c:93:5: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/src/xdp-app-info-test.c:62:52: note: Parameter 'app_info' can be declared as pointer to const 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-test.c:71:19: style: Variable 'app_info' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-test.c:73:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_ptr_array_unref [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info-test.c:97:41: style: Parameter 'app_info_test' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info.c:1024:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XdpAppInfo [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info.c:1078:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XdpAppInfo [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info.c:126:22: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info.c:127:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAppInfo [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info.c:141:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info.c:158:40: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'xdp_app_info_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/src/xdp-app-info.c:241:32: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/src/xdp-app-info.c:158:40: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info.c:198:42: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'xdp_app_info_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/src/xdp-app-info.c:242:32: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/src/xdp-app-info.c:198:42: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info.c:250:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info.c:301:22: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info.c:313:22: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info.c:325:22: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info.c:337:22: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info.c:360:22: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info.c:375:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GMutexLocker [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info.c:416:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info.c:477:32: style: Parameter 'expected_st_buf' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info.c:485:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info.c:515:22: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info.c:516:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info.c:688:22: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info.c:710:22: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info.c:728:22: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info.c:747:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info.c:776:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info.c:867:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable app_infos [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info.c:884:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable app_infos [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info.c:905:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable app_infos [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info.c:915:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable app_infos [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-app-info.c:957:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XdpAppInfo [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-background-monitor.c:140:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdp_background_monitor_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-background-monitor.c:45:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] head xdg-desktop-portal-1.20.3/src/xdp-background-monitor.c:50:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head xdg-desktop-portal-1.20.3/src/xdp-background-monitor.c:50:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-background-monitor.c:85:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-documents.c:224:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-documents.c:252:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-documents.c:48:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-documents.c:76:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-portal-impl.c:124:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SEARCHPATH_SEPARATOR_S [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-portal-impl.c:176:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable impl [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-portal-impl.c:290:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFileEnumerator [valueFlowBailoutIncompleteVar] head xdg-desktop-portal-1.20.3/src/xdp-portal-impl.c:330:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head xdg-desktop-portal-1.20.3/src/xdp-portal-impl.c:330:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-portal-impl.c:358:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GHashTable [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-portal-impl.c:416:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GKeyFile [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-portal-impl.c:487:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable conf [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-portal-impl.c:524:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-portal-impl.c:724:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-portal-impl.c:845:24: style: Variable 'iface' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-portal-impl.c:888:20: style: Variable 'iface' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-portal-impl.c:890:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPtrArray [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-request.c:127:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdp_request_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-request.c:177:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-request.c:211:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-request.c:259:42: style: Parameter 'request' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-request.c:268:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-request.c:307:50: style: Parameter 'task_data' can be declared as pointer to const. However it seems that 'xdp_close_requests_in_thread_func' is a callback function, if 'task_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/src/xdp-request.c:354:31: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/src/xdp-request.c:307:50: note: Parameter 'task_data' can be declared as pointer to const 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-request.c:330:19: style: Local variable 'request' shadows outer variable [shadowVariable] xdg-desktop-portal-1.20.3/src/xdp-request.c:314:15: note: Shadowed declaration xdg-desktop-portal-1.20.3/src/xdp-request.c:330:19: note: Shadow variable 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-request.c:332:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request_auto_unlock [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-request.c:39:49: style: Parameter 'arg_results' can be declared as pointer to const. However it seems that 'xdp_request_on_signal_response' is a callback function, if 'arg_results' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/src/xdp-request.c:100:21: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/src/xdp-request.c:39:49: note: Parameter 'arg_results' can be declared as pointer to const 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-request.c:71:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-request.h:64:26: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-sealed-fd.c:117:40: style: Parameter 'bytes' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-sealed-fd.c:120:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GOutputStream [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-sealed-fd.c:126:19: style: Variable 'saved_errno' is assigned a value that is never used. [unreadVariable] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-sealed-fd.c:133:11: style: Local variable 'saved_errno' shadows outer variable [shadowVariable] xdg-desktop-portal-1.20.3/src/xdp-sealed-fd.c:126:7: note: Shadowed declaration xdg-desktop-portal-1.20.3/src/xdp-sealed-fd.c:133:11: note: Shadow variable 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-sealed-fd.c:147:11: style: Local variable 'saved_errno' shadows outer variable [shadowVariable] xdg-desktop-portal-1.20.3/src/xdp-sealed-fd.c:126:7: note: Shadowed declaration xdg-desktop-portal-1.20.3/src/xdp-sealed-fd.c:147:11: note: Shadow variable 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-sealed-fd.c:160:11: style: Local variable 'saved_errno' shadows outer variable [shadowVariable] xdg-desktop-portal-1.20.3/src/xdp-sealed-fd.c:126:7: note: Shadowed declaration xdg-desktop-portal-1.20.3/src/xdp-sealed-fd.c:160:11: note: Shadow variable 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-sealed-fd.c:170:11: warning: If memory allocation fails, then there is a possible null pointer dereference: shm [nullPointerOutOfMemory] xdg-desktop-portal-1.20.3/src/xdp-sealed-fd.c:157:14: note: Assuming allocation function fails xdg-desktop-portal-1.20.3/src/xdp-sealed-fd.c:157:14: note: Assignment 'shm=mmap(NULL,bytes_len,PROT_WRITE,MAP_SHARED,fd,0)', assigned value is 0 xdg-desktop-portal-1.20.3/src/xdp-sealed-fd.c:170:11: note: Null pointer dereference 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-sealed-fd.c:172:15: warning: If memory allocation fails, then there is a possible null pointer dereference: shm [nullPointerOutOfMemory] xdg-desktop-portal-1.20.3/src/xdp-sealed-fd.c:157:14: note: Assuming allocation function fails xdg-desktop-portal-1.20.3/src/xdp-sealed-fd.c:157:14: note: Assignment 'shm=mmap(NULL,bytes_len,PROT_WRITE,MAP_SHARED,fd,0)', assigned value is 0 xdg-desktop-portal-1.20.3/src/xdp-sealed-fd.c:172:15: note: Null pointer dereference 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-sealed-fd.c:174:11: style: Local variable 'saved_errno' shadows outer variable [shadowVariable] xdg-desktop-portal-1.20.3/src/xdp-sealed-fd.c:126:7: note: Shadowed declaration xdg-desktop-portal-1.20.3/src/xdp-sealed-fd.c:174:11: note: Shadow variable 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-sealed-fd.c:205:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofd [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-sealed-fd.c:257:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GMappedFile [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-sealed-fd.c:50:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-sealed-fd.c:76:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XdpSealedFd [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session-persistence.c:105:65: style: Parameter 'session' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session-persistence.c:110:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session-persistence.c:139:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session-persistence.c:157:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session-persistence.c:189:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantBuilder [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session-persistence.c:323:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session-persistence.c:33:64: style: Parameter 'session' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session-persistence.c:37:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GMutexLocker [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session-persistence.c:52:67: style: Parameter 'session' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session-persistence.c:55:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GMutexLocker [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session-persistence.c:69:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GMutexLocker [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session-persistence.c:89:64: style: Parameter 'session' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session-persistence.c:92:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GMutexLocker [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session.c:119:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session.c:172:32: style:inconclusive: Function 'xdp_session_close' argument 2 names different: declaration 'notify_close' definition 'notify_closed'. [funcArgNamesDifferent] xdg-desktop-portal-1.20.3/src/xdp-session.h:90:37: note: Function 'xdp_session_close' argument 2 names different: declaration 'notify_close' definition 'notify_closed'. xdg-desktop-portal-1.20.3/src/xdp-session.c:172:32: note: Function 'xdp_session_close' argument 2 names different: declaration 'notify_close' definition 'notify_closed'. 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session.c:181:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantBuilder [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session.c:222:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_auto_unlock_unref [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session.c:240:41: style: Parameter 'task_data' can be declared as pointer to const. However it seems that 'close_sessions_in_thread_func' is a callback function, if 'task_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/src/xdp-session.c:280:31: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/src/xdp-session.c:240:41: note: Parameter 'task_data' can be declared as pointer to const 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session.c:263:19: style: Local variable 'session' shadows outer variable [shadowVariable] xdg-desktop-portal-1.20.3/src/xdp-session.c:247:15: note: Shadowed declaration xdg-desktop-portal-1.20.3/src/xdp-session.c:263:19: note: Shadow variable 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session.c:265:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_auto_unlock [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session.c:276:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTask [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session.c:288:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session_auto_unlock_unref [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session.c:317:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session.c:337:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session.c:404:41: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'xdp_session_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/src/xdp-session.c:517:33: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/src/xdp-session.c:404:41: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session.c:443:39: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'xdp_session_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xdg-desktop-portal-1.20.3/src/xdp-session.c:518:33: note: You might need to cast the function pointer here xdg-desktop-portal-1.20.3/src/xdp-session.c:443:39: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session.c:483:3: warning: Assert statement calls a function which may have desired side effects: 'g_hash_table_lookup'. [assertWithSideEffect] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session.c:498:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdp_session_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session.c:524:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session.c:72:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session.c:96:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable session [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-session.h:65:26: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-utils.c:1043:18: style: Parameter 'pids' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-utils.c:1069:18: style: Variable 'de' can be declared as pointer to const [constVariablePointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-utils.c:1072:9: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-utils.c:1077:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofd [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-utils.c:1137:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-utils.c:1167:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-utils.c:1196:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-utils.c:163:31: style:inconclusive: Function 'xdp_filter_options' argument 1 names different: declaration 'options_in' definition 'options'. [funcArgNamesDifferent] xdg-desktop-portal-1.20.3/src/xdp-utils.h:82:40: note: Function 'xdp_filter_options' argument 1 names different: declaration 'options_in' definition 'options'. xdg-desktop-portal-1.20.3/src/xdp-utils.c:163:31: note: Function 'xdp_filter_options' argument 1 names different: declaration 'options_in' definition 'options'. 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-utils.c:164:38: style: Parameter 'filtered' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-utils.c:164:38: style:inconclusive: Function 'xdp_filter_options' argument 2 names different: declaration 'options_out' definition 'filtered'. [funcArgNamesDifferent] xdg-desktop-portal-1.20.3/src/xdp-utils.h:83:47: note: Function 'xdp_filter_options' argument 2 names different: declaration 'options_out' definition 'filtered'. xdg-desktop-portal-1.20.3/src/xdp-utils.c:164:38: note: Function 'xdp_filter_options' argument 2 names different: declaration 'options_out' definition 'filtered'. 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-utils.c:174:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-utils.c:376:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-utils.c:455:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSubprocessLauncher [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-utils.c:45:23: style: Parameter 'tmpl' can be declared as pointer to const [constParameterPointer] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-utils.c:522:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFile [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-utils.c:585:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-utils.c:652:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-utils.c:65:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-utils.c:704:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariant [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-utils.c:727:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-utils.c:779:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-utils.c:853:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-utils.c:924:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-utils.c:948:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] 2.18.0 xdg-desktop-portal-1.20.3/src/xdp-utils.c:973:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] DONE