2026-05-04 07:55 ftp://ftp.de.debian.org/debian/pool/main/p/pidgin-hotkeys/pidgin-hotkeys_0.2.4.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=motif --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 -j1 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 34 34 elapsed-time: 0.3 0.2 head-timing-info: old-timing-info: head results: pidgin-hotkeys-0.2.4/src/hotkeys.c:219:14: debug: Scope::checkVariable found variable 'bool' with varid 0. [varid0] pidgin-hotkeys-0.2.4/src/hotkeys.c:98:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMask [valueFlowBailoutIncompleteVar] pidgin-hotkeys-0.2.4/src/hotkeys.c:329:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] pidgin-hotkeys-0.2.4/src/hotkeys.c:398:109: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_TYPE_HINT_NORMAL [valueFlowBailoutIncompleteVar] pidgin-hotkeys-0.2.4/src/hotkeys.c:415:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PURPLE_DEBUG_INFO [valueFlowBailoutIncompleteVar] pidgin-hotkeys-0.2.4/src/hotkeys.c:458:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PURPLE_DEBUG_INFO [valueFlowBailoutIncompleteVar] pidgin-hotkeys-0.2.4/src/hotkeys.c:487:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] pidgin-hotkeys-0.2.4/src/hotkeys.c:471:13: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] pidgin-hotkeys-0.2.4/src/hotkeys.c:578:24: style: Redundant assignment of 'plugin->info->name' to itself. [selfAssignment] pidgin-hotkeys-0.2.4/src/hotkeys.c:579:27: style: Redundant assignment of 'plugin->info->summary' to itself. [selfAssignment] pidgin-hotkeys-0.2.4/src/hotkeys.c:580:31: style: Redundant assignment of 'plugin->info->description' to itself. [selfAssignment] pidgin-hotkeys-0.2.4/src/hotkeys.c:384:36: style:inconclusive: Function 'reconfig_blist_cb' argument 1 names different: declaration 'list' definition 'blist'. [funcArgNamesDifferent] pidgin-hotkeys-0.2.4/src/hotkeys.c:73:48: note: Function 'reconfig_blist_cb' argument 1 names different: declaration 'list' definition 'blist'. pidgin-hotkeys-0.2.4/src/hotkeys.c:384:36: note: Function 'reconfig_blist_cb' argument 1 names different: declaration 'list' definition 'blist'. pidgin-hotkeys-0.2.4/src/hotkeys.c:89:25: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] pidgin-hotkeys-0.2.4/src/hotkeys.c:91:18: style: Variable 'keyname' can be declared as pointer to const [constVariablePointer] pidgin-hotkeys-0.2.4/src/hotkeys.c:315:40: style: Parameter 'event' can be declared as pointer to const. However it seems that 'on_entry_key_press_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pidgin-hotkeys-0.2.4/src/hotkeys.c:507:9: note: You might need to cast the function pointer here pidgin-hotkeys-0.2.4/src/hotkeys.c:315:40: note: Parameter 'event' can be declared as pointer to const pidgin-hotkeys-0.2.4/src/hotkeys.c:322:12: style: Variable 'keyname' can be declared as pointer to const [constVariablePointer] pidgin-hotkeys-0.2.4/src/hotkeys_win32.c:27:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNDCLASSEX [valueFlowBailoutIncompleteVar] pidgin-hotkeys-0.2.4/src/hotkeys_win32.c:50:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOD_ALT [valueFlowBailoutIncompleteVar] pidgin-hotkeys-0.2.4/src/hotkeys_win32.c:95:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_VoidSymbol [valueFlowBailoutIncompleteVar] pidgin-hotkeys-0.2.4/src/hotkeys_win32.c:42:23: style: Parameter 'hotkeys' can be declared as pointer to const [constParameterPointer] pidgin-hotkeys-0.2.4/src/hotkeys_win32.c:112:50: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] pidgin-hotkeys-0.2.4/src/hotkeys_win32.c:186:37: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] pidgin-hotkeys-0.2.4/src/hotkeys_win32.c:191:25: style: Parameter 'root' can be declared as pointer to const [constParameterPointer] pidgin-hotkeys-0.2.4/src/hotkeys_win32.c:205:7: style: Variable 'hwnd' is assigned a value that is never used. [unreadVariable] pidgin-hotkeys-0.2.4/src/hotkeys_x11.c:17:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeyPress [valueFlowBailoutIncompleteVar] pidgin-hotkeys-0.2.4/src/hotkeys_x11.c:40:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoSymbol [valueFlowBailoutIncompleteVar] pidgin-hotkeys-0.2.4/src/hotkeys_x11.c:60:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoSymbol [valueFlowBailoutIncompleteVar] pidgin-hotkeys-0.2.4/src/hotkeys_x11.c:90:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Mod2Mask [valueFlowBailoutIncompleteVar] pidgin-hotkeys-0.2.4/src/hotkeys_x11.c:127:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Mod2Mask [valueFlowBailoutIncompleteVar] pidgin-hotkeys-0.2.4/src/hotkeys_x11.c:153:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] pidgin-hotkeys-0.2.4/src/hotkeys_x11.c:191:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_FILTER_REMOVE [valueFlowBailoutIncompleteVar] pidgin-hotkeys-0.2.4/src/hotkeys_x11.c:11:18: style: Parameter 'hotkeys' can be declared as pointer to const [constParameterPointer] pidgin-hotkeys-0.2.4/src/hotkeys_x11.c:71:63: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] pidgin-hotkeys-0.2.4/src/hotkeys_x11.c:114:63: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] diff: DONE