2026-05-16 08:27 ftp://ftp.de.debian.org/debian/pool/main/p/purple-mm-sms/purple-mm-sms_0.1.7.orig.tar.gz 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 -j2 platform: Linux-6.12.86+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.70 compiler: g++ (20250906) 15.2.0 cppcheck: head 2.20.0 head-info: 7a91746 (2026-05-15 22:45:04 +0200) count: 44 44 elapsed-time: 0.2 0.2 head-timing-info: old-timing-info: head results: purple-mm-sms-0.1.7/itu-e212-iso.h:279:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:172:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PURPLE_MESSAGE_SYSTEM [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:202:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:213:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:222:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:240:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:263:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:289:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MM_SMS_STATE_RECEIVED [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:307:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:343:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:411:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MM_MODEM_STATE_ENABLED [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:424:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:441:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:462:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MM_MODEM_LOCK_SIM_PIN [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:565:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MM_SMS_STATE_RECEIVED [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:628:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:644:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:670:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:697:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:760:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:827:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:911:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:1039:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PURPLE_STATUS_MOBILE [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:1139:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PURPLE_CONNECTED [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:1172:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MM_MODEM_STATE_LOCKED [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:1288:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PURPLE_CONNECTING [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:1300:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PURPLE_DISCONNECTED [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:1312:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PURPLE_MESSAGE_NOTIFY [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:1348:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_bus_unwatch_name [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:1416:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PurpleKeyValuePair [valueFlowBailoutIncompleteVar] purple-mm-sms-0.1.7/mm-sms.c:1393:29: style: Local variable 'info' shadows outer variable [shadowVariable] purple-mm-sms-0.1.7/mm-sms.c:1569:25: note: Shadowed variable purple-mm-sms-0.1.7/mm-sms.c:1393:29: note: Shadow local variable purple-mm-sms-0.1.7/mm-sms.c:1394:29: style: Local variable 'prpl_info' shadows outer variable [shadowVariable] purple-mm-sms-0.1.7/mm-sms.c:1482:33: note: Shadowed variable purple-mm-sms-0.1.7/mm-sms.c:1394:29: note: Shadow local variable purple-mm-sms-0.1.7/mm-sms.c:209:48: style: Parameter 'device' can be declared as pointer to const. However it seems that 'cb_dbus_signal_sms_deleted' is a callback function, if 'device' is declared with const you might also need to cast function pointer(s). [constParameterCallback] purple-mm-sms-0.1.7/mm-sms.c:755:3: note: You might need to cast the function pointer here purple-mm-sms-0.1.7/mm-sms.c:209:48: note: Parameter 'device' can be declared as pointer to const purple-mm-sms-0.1.7/mm-sms.c:210:48: style: Parameter 'path' can be declared as pointer to const. However it seems that 'cb_dbus_signal_sms_deleted' is a callback function, if 'path' is declared with const you might also need to cast function pointer(s). [constParameterCallback] purple-mm-sms-0.1.7/mm-sms.c:755:3: note: You might need to cast the function pointer here purple-mm-sms-0.1.7/mm-sms.c:210:48: note: Parameter 'path' can be declared as pointer to const purple-mm-sms-0.1.7/mm-sms.c:211:48: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'cb_dbus_signal_sms_deleted' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] purple-mm-sms-0.1.7/mm-sms.c:755:3: note: You might need to cast the function pointer here purple-mm-sms-0.1.7/mm-sms.c:211:48: note: Parameter 'user_data' can be declared as pointer to const purple-mm-sms-0.1.7/mm-sms.c:528:42: style: Parameter 'sms_props' can be declared as pointer to const. However it seems that 'sms_props_match_by_msg_id' is a callback function, if 'sms_props' is declared with const you might also need to cast function pointer(s). [constParameterCallback] purple-mm-sms-0.1.7/mm-sms.c:591:59: note: You might need to cast the function pointer here purple-mm-sms-0.1.7/mm-sms.c:528:42: note: Parameter 'sms_props' can be declared as pointer to const purple-mm-sms-0.1.7/mm-sms.c:999:18: style: Variable 'mm_sms' can be declared as pointer to const [constVariablePointer] purple-mm-sms-0.1.7/mm-sms.c:1011:34: style: Parameter 'account' can be declared as pointer to const. However it seems that 'pur_mm_list_icon' is a callback function, if 'account' is declared with const you might also need to cast function pointer(s). [constParameterCallback] purple-mm-sms-0.1.7/mm-sms.c:1496:3: note: You might need to cast the function pointer here purple-mm-sms-0.1.7/mm-sms.c:1011:34: note: Parameter 'account' can be declared as pointer to const purple-mm-sms-0.1.7/mm-sms.c:1011:56: style: Parameter 'buddy' can be declared as pointer to const. However it seems that 'pur_mm_list_icon' is a callback function, if 'buddy' is declared with const you might also need to cast function pointer(s). [constParameterCallback] purple-mm-sms-0.1.7/mm-sms.c:1496:3: note: You might need to cast the function pointer here purple-mm-sms-0.1.7/mm-sms.c:1011:56: note: Parameter 'buddy' can be declared as pointer to const purple-mm-sms-0.1.7/mm-sms.c:1018:34: style: Parameter 'buddy' can be declared as pointer to const. However it seems that 'pur_mm_list_emblem' is a callback function, if 'buddy' is declared with const you might also need to cast function pointer(s). [constParameterCallback] purple-mm-sms-0.1.7/mm-sms.c:1497:3: note: You might need to cast the function pointer here purple-mm-sms-0.1.7/mm-sms.c:1018:34: note: Parameter 'buddy' can be declared as pointer to const purple-mm-sms-0.1.7/mm-sms.c:1331:29: style: Parameter 'plugin' can be declared as pointer to const. However it seems that 'plugin_load' is a callback function, if 'plugin' is declared with const you might also need to cast function pointer(s). [constParameterCallback] purple-mm-sms-0.1.7/mm-sms.c:1585:3: note: You might need to cast the function pointer here purple-mm-sms-0.1.7/mm-sms.c:1331:29: note: Parameter 'plugin' can be declared as pointer to const purple-mm-sms-0.1.7/mm-sms.c:1338:30: style: Parameter 'plugin' can be declared as pointer to const. However it seems that 'plugin_unload' is a callback function, if 'plugin' is declared with const you might also need to cast function pointer(s). [constParameterCallback] purple-mm-sms-0.1.7/mm-sms.c:1586:3: note: You might need to cast the function pointer here purple-mm-sms-0.1.7/mm-sms.c:1338:30: note: Parameter 'plugin' can be declared as pointer to const purple-mm-sms-0.1.7/mm-sms.c:1356:44: style: Parameter 'gc' can be declared as pointer to const. However it seems that 'plugin_can_receive_file' is a callback function, if 'gc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] purple-mm-sms-0.1.7/mm-sms.c:1547:3: note: You might need to cast the function pointer here purple-mm-sms-0.1.7/mm-sms.c:1356:44: note: Parameter 'gc' can be declared as pointer to const purple-mm-sms-0.1.7/mm-sms.c:1390:29: style: Parameter 'plugin' can be declared as pointer to const. However it seems that 'init_plugin' is a callback function, if 'plugin' is declared with const you might also need to cast function pointer(s). [constParameterCallback] purple-mm-sms-0.1.7/mm-sms.c:1598:29: note: You might need to cast the function pointer here purple-mm-sms-0.1.7/mm-sms.c:1390:29: note: Parameter 'plugin' can be declared as pointer to const diff: 2.20.0 purple-mm-sms-0.1.7/mm-sms.c:1393:29: style: Local variable 'info' shadows outer variable [shadowVariable] purple-mm-sms-0.1.7/mm-sms.c:1569:25: note: Shadowed declaration purple-mm-sms-0.1.7/mm-sms.c:1393:29: note: Shadow variable head purple-mm-sms-0.1.7/mm-sms.c:1393:29: style: Local variable 'info' shadows outer variable [shadowVariable] purple-mm-sms-0.1.7/mm-sms.c:1569:25: note: Shadowed variable purple-mm-sms-0.1.7/mm-sms.c:1393:29: note: Shadow local variable 2.20.0 purple-mm-sms-0.1.7/mm-sms.c:1394:29: style: Local variable 'prpl_info' shadows outer variable [shadowVariable] purple-mm-sms-0.1.7/mm-sms.c:1482:33: note: Shadowed declaration purple-mm-sms-0.1.7/mm-sms.c:1394:29: note: Shadow variable head purple-mm-sms-0.1.7/mm-sms.c:1394:29: style: Local variable 'prpl_info' shadows outer variable [shadowVariable] purple-mm-sms-0.1.7/mm-sms.c:1482:33: note: Shadowed variable purple-mm-sms-0.1.7/mm-sms.c:1394:29: note: Shadow local variable DONE