2026-05-01 10:51 ftp://ftp.de.debian.org/debian/pool/main/c/clutter-imcontext/clutter-imcontext_0.1.4.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --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 -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: 43 43 elapsed-time: 0.4 0.3 head-timing-info: old-timing-info: head results: clutter-imcontext-0.1.4/clutter-imcontext/clutter-imcontext.c:133:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] clutter-imcontext-0.1.4/clutter-imcontext/clutter-imcontext.c:301:23: style:inconclusive: Function 'clutter_im_context_filter_keypress' argument 2 names different: declaration 'event' definition 'key'. [funcArgNamesDifferent] clutter-imcontext-0.1.4/clutter-imcontext/clutter-imcontext.h:113:35: note: Function 'clutter_im_context_filter_keypress' argument 2 names different: declaration 'event' definition 'key'. clutter-imcontext-0.1.4/clutter-imcontext/clutter-imcontext.c:301:23: note: Function 'clutter_im_context_filter_keypress' argument 2 names different: declaration 'event' definition 'key'. clutter-imcontext-0.1.4/clutter-imcontext/clutter-imcontext.c:166:44: style: Parameter 'im_context' can be declared as pointer to const [constParameterPointer] clutter-imcontext-0.1.4/clutter-imcontext/clutter-imcontext.c:185:66: style: Parameter 'context' can be declared as pointer to const. However it seems that 'clutter_im_context_real_filter_keypress' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] clutter-imcontext-0.1.4/clutter-imcontext/clutter-imcontext.c:76:28: note: You might need to cast the function pointer here clutter-imcontext-0.1.4/clutter-imcontext/clutter-imcontext.c:185:66: note: Parameter 'context' can be declared as pointer to const clutter-imcontext-0.1.4/clutter-imcontext/clutter-imcontext.c:186:34: style: Parameter 'event' can be declared as pointer to const. However it seems that 'clutter_im_context_real_filter_keypress' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] clutter-imcontext-0.1.4/clutter-imcontext/clutter-imcontext.c:76:28: note: You might need to cast the function pointer here clutter-imcontext-0.1.4/clutter-imcontext/clutter-imcontext.c:186:34: note: Parameter 'event' can be declared as pointer to const clutter-imcontext-0.1.4/clutter-imcontext/clutter-imcontextsimple.c:69:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clutter_im_context_simple_parent_class [valueFlowBailoutIncompleteVar] clutter-imcontext-0.1.4/clutter-imcontext/clutter-imcontextsimple.c:117:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_UNDERLINE_SINGLE [valueFlowBailoutIncompleteVar] clutter-imcontext-0.1.4/clutter-imcontext/clutter-imcontextsimple.c:115:11: style: Condition 'len' is always false [knownConditionTrueFalse] clutter-imcontext-0.1.4/clutter-imcontext/clutter-imcontextsimple.c:104:13: note: Assignment 'len=0', assigned value is 0 clutter-imcontext-0.1.4/clutter-imcontext/clutter-imcontextsimple.c:115:11: note: Condition 'len' is always false clutter-imcontext-0.1.4/clutter-imcontext/clutter-imcontextsimple.c:87:30: style:inconclusive: Function 'clutter_im_context_simple_filter_keypress' argument 2 names different: declaration 'key' definition 'event'. [funcArgNamesDifferent] clutter-imcontext-0.1.4/clutter-imcontext/clutter-imcontextsimple.c:40:40: note: Function 'clutter_im_context_simple_filter_keypress' argument 2 names different: declaration 'key' definition 'event'. clutter-imcontext-0.1.4/clutter-imcontext/clutter-imcontextsimple.c:87:30: note: Function 'clutter_im_context_simple_filter_keypress' argument 2 names different: declaration 'key' definition 'event'. clutter-imcontext-0.1.4/clutter-imcontext/clutter-imcontextsimple.c:62:57: style: Parameter 'im_context_simple' can be declared as pointer to const [constParameterPointer] clutter-imcontext-0.1.4/clutter-imcontext/clutter-imcontextsimple.c:86:62: style: Parameter 'context' can be declared as pointer to const. However it seems that 'clutter_im_context_simple_filter_keypress' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] clutter-imcontext-0.1.4/clutter-imcontext/clutter-imcontextsimple.c:55:39: note: You might need to cast the function pointer here clutter-imcontext-0.1.4/clutter-imcontext/clutter-imcontextsimple.c:86:62: note: Parameter 'context' can be declared as pointer to const clutter-imcontext-0.1.4/clutter-imcontext/clutter-imcontextsimple.c:87:30: style: Parameter 'event' can be declared as pointer to const. However it seems that 'clutter_im_context_simple_filter_keypress' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] clutter-imcontext-0.1.4/clutter-imcontext/clutter-imcontextsimple.c:55:39: note: You might need to cast the function pointer here clutter-imcontext-0.1.4/clutter-imcontext/clutter-imcontextsimple.c:87:30: note: Parameter 'event' can be declared as pointer to const clutter-imcontext-0.1.4/clutter-imcontext/clutter-imcontextsimple.c:93:52: style: Parameter 'context' can be declared as pointer to const. However it seems that 'clutter_im_context_simple_reset' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] clutter-imcontext-0.1.4/clutter-imcontext/clutter-imcontextsimple.c:56:29: note: You might need to cast the function pointer here clutter-imcontext-0.1.4/clutter-imcontext/clutter-imcontextsimple.c:93:52: note: Parameter 'context' can be declared as pointer to const clutter-imcontext-0.1.4/clutter-imcontext/clutter-immodule.c:96:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLUTTER_IMCONTEXT_SYSCONFDIR [valueFlowBailoutIncompleteVar] clutter-imcontext-0.1.4/clutter-imcontext/clutter-immodule.c:110:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MODULE_BIND_LAZY [valueFlowBailoutIncompleteVar] clutter-imcontext-0.1.4/clutter-imcontext/clutter-immodule.c:496:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLUTTER_IMCONTEXT_LIBDIR [valueFlowBailoutIncompleteVar] clutter-imcontext-0.1.4/clutter-imcontext/clutter-immodule.c:488:10: style: Condition 'context_id' is always false [knownConditionTrueFalse] clutter-imcontext-0.1.4/clutter-imcontext/clutter-immodule.c:475:29: note: Assignment 'context_id=NULL', assigned value is 0 clutter-imcontext-0.1.4/clutter-imcontext/clutter-immodule.c:483:14: note: Assuming condition is false clutter-imcontext-0.1.4/clutter-imcontext/clutter-immodule.c:488:10: note: Condition 'context_id' is always false clutter-imcontext-0.1.4/clutter-imcontext/clutter-immodule.c:190:42: style: Parameter 'object' can be declared as pointer to const [constParameterPointer] clutter-imcontext-0.1.4/clutter-imcontext/clutter-immodule.c:399:15: style: Variable 'tmp_list' can be declared as pointer to const [constVariablePointer] clutter-imcontext-0.1.4/clutter-imcontext/clutter-immulticontext.c:156:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clutter_im_multicontext_parent_class [valueFlowBailoutIncompleteVar] clutter-imcontext-0.1.4/clutter-imcontext/clutter-immulticontext.c:218:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable actor [valueFlowBailoutIncompleteVar] clutter-imcontext-0.1.4/clutter-imcontext/clutter-immulticontext.c:121: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] clutter-imcontext-0.1.4/clutter-imcontext/clutter-immulticontext.c:367:29: style: Parameter 'area' can be declared as pointer to const. However it seems that 'clutter_im_multicontext_set_cursor_location' is a callback function, if 'area' is declared with const you might also need to cast function pointer(s). [constParameterCallback] clutter-imcontext-0.1.4/clutter-imcontext/clutter-immulticontext.c:114:43: note: You might need to cast the function pointer here clutter-imcontext-0.1.4/clutter-imcontext/clutter-immulticontext.c:367:29: note: Parameter 'area' can be declared as pointer to const clutter-imcontext-0.1.4/clutter-imcontext/clutter-imtext.c:176:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clutter_imtext_parent_class [valueFlowBailoutIncompleteVar] clutter-imcontext-0.1.4/clutter-imcontext/clutter-imtext.c:198:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clutter_imtext_parent_class [valueFlowBailoutIncompleteVar] clutter-imcontext-0.1.4/clutter-imcontext/clutter-imtext.c:218:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clutter_imtext_parent_class [valueFlowBailoutIncompleteVar] clutter-imcontext-0.1.4/clutter-imcontext/clutter-imtext.c:230: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] clutter-imcontext-0.1.4/clutter-imcontext/clutter-imtext.c:129:25: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] clutter-imcontext-0.1.4/clutter-imcontext/clutter-imtext.c:227:17: style: Variable 'gobject_class' can be declared as pointer to const [constVariablePointer] clutter-imcontext-0.1.4/clutter-imcontext/clutter-imtext.c:129:30: style: Variable 'priv' is assigned a value that is never used. [unreadVariable] clutter-imcontext-0.1.4/clutter-imcontext/clutter-imtext.c:227:31: style: Variable 'gobject_class' is assigned a value that is never used. [unreadVariable] clutter-imcontext-0.1.4/tests/test-imtext.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] clutter-imcontext-0.1.4/tests/test-imtext.c:49:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] clutter-imcontext-0.1.4/tests/test-imtext.c:55:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] clutter-imcontext-0.1.4/tests/test-imtext.c:61:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] clutter-imcontext-0.1.4/tests/test-imtext.c:41:30: style: Parameter 'actor' can be declared as pointer to const. However it seems that 'stage_focus_in' is a callback function, if 'actor' is declared with const you might also need to cast function pointer(s). [constParameterCallback] clutter-imcontext-0.1.4/tests/test-imtext.c:162:3: note: You might need to cast the function pointer here clutter-imcontext-0.1.4/tests/test-imtext.c:41:30: note: Parameter 'actor' can be declared as pointer to const clutter-imcontext-0.1.4/tests/test-imtext.c:47:31: style: Parameter 'actor' can be declared as pointer to const. However it seems that 'on_key_focus_in' is a callback function, if 'actor' is declared with const you might also need to cast function pointer(s). [constParameterCallback] clutter-imcontext-0.1.4/tests/test-imtext.c:154:3: note: You might need to cast the function pointer here clutter-imcontext-0.1.4/tests/test-imtext.c:47:31: note: Parameter 'actor' can be declared as pointer to const clutter-imcontext-0.1.4/tests/test-imtext.c:53:23: style: Parameter 'actor' can be declared as pointer to const. However it seems that 'on_show' is a callback function, if 'actor' is declared with const you might also need to cast function pointer(s). [constParameterCallback] clutter-imcontext-0.1.4/tests/test-imtext.c:157:3: note: You might need to cast the function pointer here clutter-imcontext-0.1.4/tests/test-imtext.c:53:23: note: Parameter 'actor' can be declared as pointer to const clutter-imcontext-0.1.4/tests/test-imtext.c:59:32: style: Parameter 'actor' can be declared as pointer to const. However it seems that 'on_key_focus_out' is a callback function, if 'actor' is declared with const you might also need to cast function pointer(s). [constParameterCallback] clutter-imcontext-0.1.4/tests/test-imtext.c:155:3: note: You might need to cast the function pointer here clutter-imcontext-0.1.4/tests/test-imtext.c:59:32: note: Parameter 'actor' can be declared as pointer to const clutter-imcontext-0.1.4/tests/test-imtext.c:65:28: style: Parameter 'actor' can be declared as pointer to const. However it seems that 'on_key_press' is a callback function, if 'actor' is declared with const you might also need to cast function pointer(s). [constParameterCallback] clutter-imcontext-0.1.4/tests/test-imtext.c:159:3: note: You might need to cast the function pointer here clutter-imcontext-0.1.4/tests/test-imtext.c:65:28: note: Parameter 'actor' can be declared as pointer to const clutter-imcontext-0.1.4/tests/test-imtext.c:65:52: style: Parameter 'event' can be declared as pointer to const. However it seems that 'on_key_press' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] clutter-imcontext-0.1.4/tests/test-imtext.c:159:3: note: You might need to cast the function pointer here clutter-imcontext-0.1.4/tests/test-imtext.c:65:52: note: Parameter 'event' can be declared as pointer to const clutter-imcontext-0.1.4/tests/test-imtext.c:99:17: style: Unused variable: group [unusedVariable] clutter-imcontext-0.1.4/tools/scan-immodules.c:106:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diff: DONE