2025-11-26 10:50 ftp://ftp.de.debian.org/debian/pool/main/f/folks/folks_0.15.9.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.57+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: 9486fde (2025-11-26 08:20:02 +0100) count: 173 173 elapsed-time: 0.2 0.2 head-timing-info: old-timing-info: head results: folks-0.15.9/backends/telepathy/lib/tp-lowlevel.c:69:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTask [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/haze-remove-directory.c:31:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/gtestdbus.c:178:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/gtestdbus.c:475:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable folks_test_dbus_parent_class [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/gtestdbus.c:486:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable folks_test_dbus_parent_class [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/gtestdbus.c:549:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/gtestdbus.c:844:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BUS_TYPE_SESSION [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/gtestdbus.c:903:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BUS_TYPE_SESSION [valueFlowBailoutIncompleteVar] folks-0.15.9/folks/small-set.c:205:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOLKS_SMALL_SET_FLAG_READ_ONLY [valueFlowBailoutIncompleteVar] folks-0.15.9/folks/small-set.c:250:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXINT [valueFlowBailoutIncompleteVar] folks-0.15.9/folks/small-set.c:262:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOLKS_SMALL_SET_FLAG_READ_ONLY [valueFlowBailoutIncompleteVar] folks-0.15.9/folks/small-set.c:309:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOLKS_SMALL_SET_FLAG_READ_ONLY [valueFlowBailoutIncompleteVar] folks-0.15.9/folks/small-set.c:331:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOLKS_SMALL_SET_FLAG_READ_ONLY [valueFlowBailoutIncompleteVar] folks-0.15.9/folks/small-set.c:356:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOLKS_TYPE_SMALL_SET [valueFlowBailoutIncompleteVar] folks-0.15.9/folks/small-set.c:433:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOLKS_SMALL_SET_FLAG_READ_ONLY [valueFlowBailoutIncompleteVar] folks-0.15.9/folks/small-set.c:452:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable folks_small_set_parent_class [valueFlowBailoutIncompleteVar] folks-0.15.9/folks/small-set.c:558:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOLKS_SMALL_SET_FLAG_READ_ONLY [valueFlowBailoutIncompleteVar] folks-0.15.9/folks/small-set.c:584:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOLKS_SMALL_SET_FLAG_READ_ONLY [valueFlowBailoutIncompleteVar] folks-0.15.9/folks/small-set.c:615:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOLKS_SMALL_SET_FLAG_READ_ONLY [valueFlowBailoutIncompleteVar] folks-0.15.9/folks/small-set.c:701:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXUINT [valueFlowBailoutIncompleteVar] folks-0.15.9/folks/small-set.c:719:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOLKS_SMALL_SET_FLAG_READ_ONLY [valueFlowBailoutIncompleteVar] folks-0.15.9/folks/small-set.c:753:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable folks_small_set_iterator_parent_class [valueFlowBailoutIncompleteVar] folks-0.15.9/folks/small-set.c:767:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_STATIC_STRINGS [valueFlowBailoutIncompleteVar] folks-0.15.9/folks/small-set.c:805:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXUINT [valueFlowBailoutIncompleteVar] folks-0.15.9/folks/small-set.c:833:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INVALID [valueFlowBailoutIncompleteVar] folks-0.15.9/folks/small-set.c:923:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOLKS_SMALL_SET_FLAG_READ_ONLY [valueFlowBailoutIncompleteVar] folks-0.15.9/folks/small-set.c:959:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOLKS_SMALL_SET_FLAG_READ_ONLY [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/backend.c:71:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tp_tests_backend_parent_class [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/backend.c:141:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_ACCOUNT_MANAGER_BUS_NAME [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/backend.c:179:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_CONNECTION_FEATURE_CONNECTED [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/backend.c:288:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_ACCOUNT_OBJECT_PATH_BASE [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/backend.c:363:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_ACCOUNT_MANAGER_BUS_NAME [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contact-list-manager.c:140:15: debug: Scope::checkVariable found variable 'v' with varid 0. [varid0] folks-0.15.9/tests/lib/telepathy/contactlist/contact-list-manager.c:262:15: debug: Scope::checkVariable found variable 'v' with varid 0. [varid0] folks-0.15.9/tests/lib/telepathy/contactlist/backend.c:150:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] folks-0.15.9/tests/lib/telepathy/contactlist/backend.c:274:29: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] folks-0.15.9/tests/lib/telepathy/contactlist/backend.c:287:35: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] folks-0.15.9/tests/lib/telepathy/contactlist/backend.c:55:40: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] folks-0.15.9/tests/lib/telepathy/contactlist/backend.c:62:19: style: Variable 'self' can be declared as pointer to const [constVariablePointer] folks-0.15.9/tests/lib/telepathy/contactlist/backend.c:179:10: style: Variable 'conn_features' can be declared as const array [constVariable] folks-0.15.9/tests/lib/gtestdbus.c:606:3: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] folks-0.15.9/tests/lib/gtestdbus.c:202:15: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] folks-0.15.9/tests/lib/gtestdbus.c:219:11: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] folks-0.15.9/tests/lib/gtestdbus.c:223:16: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] folks-0.15.9/tests/lib/gtestdbus.c:236:15: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] folks-0.15.9/tests/lib/gtestdbus.c:312:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] folks-0.15.9/tests/lib/gtestdbus.c:322:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] folks-0.15.9/tests/lib/gtestdbus.c:680:3: error: Memory pointed to by 'channel' is freed twice. [doubleFree] folks-0.15.9/tests/lib/gtestdbus.c:678:3: note: Memory pointed to by 'channel' is freed twice. folks-0.15.9/tests/lib/gtestdbus.c:680:3: note: Memory pointed to by 'channel' is freed twice. folks-0.15.9/tests/lib/gtestdbus.c:493:17: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'folks_test_dbus_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] folks-0.15.9/tests/lib/gtestdbus.c:534:32: note: You might need to cast the function pointer here folks-0.15.9/tests/lib/gtestdbus.c:493:17: note: Parameter 'pspec' can be declared as pointer to const folks-0.15.9/tests/lib/gtestdbus.c:512:17: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'folks_test_dbus_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] folks-0.15.9/tests/lib/gtestdbus.c:535:32: note: You might need to cast the function pointer here folks-0.15.9/tests/lib/gtestdbus.c:512:17: note: Parameter 'pspec' can be declared as pointer to const folks-0.15.9/folks/small-set.c:258:18: style: Variable 'self' can be declared as pointer to const [constVariablePointer] folks-0.15.9/folks/small-set.c:422:38: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] folks-0.15.9/folks/small-set.c:458:18: style: Variable 'self' can be declared as pointer to const [constVariablePointer] folks-0.15.9/folks/small-set.c:466:18: style: Variable 'self' can be declared as pointer to const [constVariablePointer] folks-0.15.9/folks/small-set.c:474:18: style: Variable 'self' can be declared as pointer to const [constVariablePointer] folks-0.15.9/folks/small-set.c:673:40: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] folks-0.15.9/folks/small-set.c:708:17: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'folks_small_set_iterator_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] folks-0.15.9/folks/small-set.c:761:32: note: You might need to cast the function pointer here folks-0.15.9/folks/small-set.c:708:17: note: Parameter 'pspec' can be declared as pointer to const folks-0.15.9/folks/small-set.c:728:49: style: Parameter 'obj' can be declared as pointer to const. However it seems that 'folks_small_set_iterator_set_property' is a callback function, if 'obj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] folks-0.15.9/folks/small-set.c:762:32: note: You might need to cast the function pointer here folks-0.15.9/folks/small-set.c:728:49: note: Parameter 'obj' can be declared as pointer to const folks-0.15.9/folks/small-set.c:731:17: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'folks_small_set_iterator_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] folks-0.15.9/folks/small-set.c:762:32: note: You might need to cast the function pointer here folks-0.15.9/folks/small-set.c:731:17: note: Parameter 'pspec' can be declared as pointer to const folks-0.15.9/tests/lib/telepathy/contactlist/contact-list-manager.c:86:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_SUBSCRIPTION_STATE_NO [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contact-list-manager.c:119:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_hash_table_unref [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contact-list-manager.c:130:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tp_tests_contact_list_manager_parent_class [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contact-list-manager.c:140:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contact-list-manager.c:171:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_SUBSCRIPTION_STATE_NO [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contact-list-manager.c:262:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contact-list-manager.c:539:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tp_tests_contact_list_manager_parent_class [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contact-list-manager.c:691:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_SUBSCRIPTION_STATE_YES [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contact-list-manager.c:725:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_SUBSCRIPTION_STATE_REMOVED_REMOTELY [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contact-list-manager.c:748:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_SUBSCRIPTION_STATE_YES [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contact-list-manager.c:790:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_SUBSCRIPTION_STATE_NO [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contact-list-manager.c:815:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_SUBSCRIPTION_STATE_ASK [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contact-list-manager.c:841:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_SUBSCRIPTION_STATE_NO [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contact-list-manager.c:888:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_CONNECTION_STATUS_DISCONNECTED [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/room-list-chan.c:78:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tp_tests_room_list_chan_parent_class [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/room-list-chan.c:91:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tp_tests_room_list_chan_parent_class [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/room-list-chan.c:104:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tp_tests_room_list_chan_parent_class [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/room-list-chan.c:137:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_IFACE_CHANNEL_TYPE_ROOM_LIST [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/room-list-chan.c:169:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/room-list-chan.c:195:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_value_array_free [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/room-list-chan.c:153:3: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] folks-0.15.9/tests/lib/telepathy/contactlist/room-list-chan.c:38:17: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'tp_tests_room_list_chan_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] folks-0.15.9/tests/lib/telepathy/contactlist/room-list-chan.c:132:26: note: You might need to cast the function pointer here folks-0.15.9/tests/lib/telepathy/contactlist/room-list-chan.c:38:17: note: Parameter 'pspec' can be declared as pointer to const folks-0.15.9/tests/lib/telepathy/contactlist/room-list-chan.c:40:24: style: Variable 'self' can be declared as pointer to const [constVariablePointer] folks-0.15.9/tests/lib/telepathy/contactlist/room-list-chan.c:57:17: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'tp_tests_room_list_chan_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] folks-0.15.9/tests/lib/telepathy/contactlist/room-list-chan.c:133:26: note: You might need to cast the function pointer here folks-0.15.9/tests/lib/telepathy/contactlist/room-list-chan.c:57:17: note: Parameter 'pspec' can be declared as pointer to const folks-0.15.9/tests/lib/telepathy/contactlist/simple-account-manager.c:62:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_ACCOUNT_OBJECT_PATH_BASE [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/simple-account-manager.c:140:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_hash_table_unref [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/simple-account-manager.c:187:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_STATIC_STRINGS [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/simple-account-manager.c:180:3: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:757:20: debug: Scope::checkVariable found variable 'caps' with varid 0. [varid0] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:907:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] folks-0.15.9/tests/lib/telepathy/contactlist/simple-account-manager.c:106:27: style: Parameter 'spec' can be declared as pointer to const. However it seems that 'tp_tests_simple_account_manager_get_property' is a callback function, if 'spec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] folks-0.15.9/tests/lib/telepathy/contactlist/simple-account-manager.c:182:32: note: You might need to cast the function pointer here folks-0.15.9/tests/lib/telepathy/contactlist/simple-account-manager.c:106:27: note: Parameter 'spec' can be declared as pointer to const folks-0.15.9/tests/lib/telepathy/contactlist/contact-list-manager.c:598:3: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] folks-0.15.9/tests/lib/telepathy/contactlist/simple-account.c:132:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_CONNECTION_PRESENCE_TYPE_AWAY [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/simple-account.c:151:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/simple-account.c:277:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tp_tests_simple_account_parent_class [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/simple-account.c:363:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_STATIC_STRINGS [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/simple-account.c:536:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_STRUCT_TYPE_SIMPLE_PRESENCE [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contact-list-manager.c:147:23: style: Variable 'd' can be declared as pointer to const [constVariablePointer] folks-0.15.9/tests/lib/telepathy/contactlist/contact-list-manager.c:865:23: style: Variable 'd' can be declared as pointer to const [constVariablePointer] folks-0.15.9/tests/lib/telepathy/contactlist/simple-account.c:356:3: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] folks-0.15.9/tests/lib/telepathy/contactlist/simple-account.c:146:27: style: Parameter 'spec' can be declared as pointer to const. However it seems that 'tp_tests_simple_account_get_property' is a callback function, if 'spec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] folks-0.15.9/tests/lib/telepathy/contactlist/simple-account.c:357:32: note: You might need to cast the function pointer here folks-0.15.9/tests/lib/telepathy/contactlist/simple-account.c:146:27: note: Parameter 'spec' can be declared as pointer to const folks-0.15.9/tests/lib/telepathy/contactlist/simple-conn.c:140:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tp_tests_simple_connection_parent_class [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/simple-conn.c:161:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tp_tests_simple_connection_parent_class [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/simple-conn.c:199:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_HANDLE_TYPE_CONTACT [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/simple-conn.c:225:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_HANDLE_TYPE_CONTACT [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/simple-conn.c:313:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/simple-conn.c:344:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_HANDLE_TYPE_CONTACT [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/simple-conn.c:378:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_HANDLE_TYPE_CONTACT [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/simple-conn.c:301:3: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] folks-0.15.9/tests/lib/telepathy/contactlist/simple-conn.c:395:15: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] folks-0.15.9/tests/lib/telepathy/contactlist/simple-conn.c:439:36: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:145:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_ARRAY_TYPE_REQUESTABLE_CHANNEL_CLASS_LIST [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:162:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_hash_table_unref [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:186:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tp_tests_contacts_connection_parent_class [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:198:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_HANDLE_TYPE_CONTACT [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:234:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_IFACE_CONNECTION_INTERFACE_AVATARS [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:257:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_IFACE_CONNECTION_INTERFACE_LOCATION [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:280:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_IFACE_CONNECTION_INTERFACE_CONTACT_CAPABILITIES [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:304:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_IFACE_CONNECTION_INTERFACE_CONTACT_INFO [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:335:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/simple-conn.c:83:27: style: Parameter 'spec' can be declared as pointer to const. However it seems that 'get_property' is a callback function, if 'spec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] folks-0.15.9/tests/lib/telepathy/contactlist/simple-conn.c:297:32: note: You might need to cast the function pointer here folks-0.15.9/tests/lib/telepathy/contactlist/simple-conn.c:83:27: note: Parameter 'spec' can be declared as pointer to const folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:400:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tp_tests_contacts_connection_parent_class [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/simple-conn.c:115:27: style: Parameter 'spec' can be declared as pointer to const. However it seems that 'set_property' is a callback function, if 'spec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] folks-0.15.9/tests/lib/telepathy/contactlist/simple-conn.c:298:32: note: You might need to cast the function pointer here folks-0.15.9/tests/lib/telepathy/contactlist/simple-conn.c:115:27: note: Parameter 'spec' can be declared as pointer to const folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:467:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tp_presence_status_free [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/simple-conn.c:206:45: style: Parameter 'conn' can be declared as pointer to const. However it seems that 'create_channel_factories' is a callback function, if 'conn' is declared with const you might also need to cast function pointer(s). [constParameterCallback] folks-0.15.9/tests/lib/telepathy/contactlist/simple-conn.c:305:42: note: You might need to cast the function pointer here folks-0.15.9/tests/lib/telepathy/contactlist/simple-conn.c:206:45: note: Parameter 'conn' can be declared as pointer to const folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:633:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:665:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tp_presence_status_free [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:708:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:741:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:757:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable caps [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:803:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_CONNECTION_ALIAS_FLAG_USER_SET [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:814:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_HANDLE_TYPE_CONTACT [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:857:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_HANDLE_TYPE_CONTACT [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:902:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_HANDLE_TYPE_CONTACT [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:968:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_HANDLE_TYPE_CONTACT [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:1019:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_HANDLE_TYPE_CONTACT [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:1059:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_HANDLE_TYPE_CONTACT [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:1132:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_HANDLE_TYPE_CONTACT [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:1185:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_HANDLE_TYPE_CONTACT [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:1259:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_HANDLE_TYPE_CONTACT [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:1294:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_HANDLE_TYPE_CONTACT [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:1329:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_value_array_free [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/util.c:215:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_CONNECTION_FEATURE_CONNECTED [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/util.c:356:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_SOCKET_ADDRESS_TYPE_IPV4 [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/textchan-null.c:98:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tp_tests_text_channel_null_parent_class [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/textchan-null.c:136:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_IFACE_CHANNEL_TYPE_TEXT [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/textchan-null.c:239:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tp_tests_text_channel_null_parent_class [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/textchan-null.c:247:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_HANDLE_TYPE_CONTACT [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/textchan-null.c:282:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/textchan-null.c:344:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tp_tests_props_text_channel_parent_class [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/textchan-null.c:386:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable conn [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/textchan-null.c:405:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tp_tests_props_group_text_channel_parent_class [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/textchan-null.c:477:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_IFACE_CHANNEL_TYPE_TEXT [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/textchan-null.c:488:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_HANDLE_TYPE_CONTACT [valueFlowBailoutIncompleteVar] folks-0.15.9/tests/lib/telepathy/contactlist/textchan-null.c:263:3: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] folks-0.15.9/tests/lib/telepathy/contactlist/textchan-null.c:126:27: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] folks-0.15.9/tests/lib/telepathy/contactlist/textchan-null.c:267:32: note: You might need to cast the function pointer here folks-0.15.9/tests/lib/telepathy/contactlist/textchan-null.c:126:27: note: Parameter 'pspec' can be declared as pointer to const folks-0.15.9/tests/lib/telepathy/contactlist/textchan-null.c:186:27: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] folks-0.15.9/tests/lib/telepathy/contactlist/textchan-null.c:266:32: note: You might need to cast the function pointer here folks-0.15.9/tests/lib/telepathy/contactlist/textchan-null.c:186:27: note: Parameter 'pspec' can be declared as pointer to const folks-0.15.9/tests/lib/telepathy/contactlist/textchan-null.c:379:71: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] folks-0.15.9/tests/lib/telepathy/contactlist/textchan-null.c:409:35: style: Parameter 'obj' can be declared as pointer to const. However it seems that 'dummy_add_remove_member' is a callback function, if 'obj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] folks-0.15.9/tests/lib/telepathy/contactlist/textchan-null.c:452:7: note: You might need to cast the function pointer here folks-0.15.9/tests/lib/telepathy/contactlist/textchan-null.c:409:35: note: Parameter 'obj' can be declared as pointer to const folks-0.15.9/tests/lib/telepathy/contactlist/textchan-null.c:541:58: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] folks-0.15.9/tests/lib/telepathy/contactlist/util.c:258:3: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] folks-0.15.9/tests/lib/telepathy/contactlist/util.c:200:29: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] folks-0.15.9/tests/lib/telepathy/contactlist/util.c:141:43: warning: Function '_tp_tests_assert_strv_equals' argument order different: declaration 'file, line, actual_desc, actual_strv, expected_desc, expected_strv' definition 'file, line, expected_desc, expected_strv, actual_desc, actual_strv' [funcArgOrderDifferent] folks-0.15.9/tests/lib/telepathy/contactlist/util.h:35:48: note: Function '_tp_tests_assert_strv_equals' argument order different: declaration 'file, line, actual_desc, actual_strv, expected_desc, expected_strv' definition 'file, line, expected_desc, expected_strv, actual_desc, actual_strv' folks-0.15.9/tests/lib/telepathy/contactlist/util.c:141:43: note: Function '_tp_tests_assert_strv_equals' argument order different: declaration 'file, line, actual_desc, actual_strv, expected_desc, expected_strv' definition 'file, line, expected_desc, expected_strv, actual_desc, actual_strv' folks-0.15.9/tests/lib/telepathy/contactlist/util.c:215:14: style: Variable 'conn_features' can be declared as const array [constVariable] folks-0.15.9/tests/lib/telepathy/contactlist/util.c:276:18: style: Variable 'value' can be declared as pointer to const [constVariablePointer] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:580:3: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:323:47: style: Parameter 'getter_data' can be declared as pointer to const. However it seems that 'conn_contact_info_properties_getter' is a callback function, if 'getter_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:571:11: note: You might need to cast the function pointer here folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:323:47: note: Parameter 'getter_data' can be declared as pointer to const folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:397:30: style: Variable 'self' can be declared as pointer to const [constVariablePointer] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:524:51: style: Parameter 'obj' can be declared as pointer to const. However it seems that 'my_get_maximum_status_message_length_cb' is a callback function, if 'obj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:594:7: note: You might need to cast the function pointer here folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:524:51: note: Parameter 'obj' can be declared as pointer to const folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:1091:42: style: Parameter 'getter_data' can be declared as pointer to const. However it seems that 'conn_avatars_properties_getter' is a callback function, if 'getter_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:566:11: note: You might need to cast the function pointer here folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:1091:42: note: Parameter 'getter_data' can be declared as pointer to const folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:1366:51: style: Parameter 'object' can be declared as pointer to const. However it seems that 'legacy_contacts_connection_get_property' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:1407:32: note: You might need to cast the function pointer here folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:1366:51: note: Parameter 'object' can be declared as pointer to const folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:1369:17: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'legacy_contacts_connection_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:1407:32: note: You might need to cast the function pointer here folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:1369:17: note: Parameter 'pspec' can be declared as pointer to const folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:1385:76: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] folks-0.15.9/tests/lib/telepathy/contactlist/contacts-conn.c:1421:68: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] diff: DONE