2026-05-02 13:33 ftp://ftp.de.debian.org/debian/pool/main/i/ibus-libthai/ibus-libthai_0.1.5.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 -j1 platform: Linux-6.8.0-1047-aws-aarch64-with-glibc2.35 python: 3.10.12 client-version: 1.4.0 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 14 14 elapsed-time: 0.2 0.1 head-timing-info: old-timing-info: head results: ibus-libthai-0.1.5/setup/dlg_setup.c:247:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable THAI_KB_MANOONCHAI [valueFlowBailoutIncompleteVar] ibus-libthai-0.1.5/setup/setup.c:74:39: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] ibus-libthai-0.1.5/src/engine.c:114:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IBUS_TYPE_ENGINE [valueFlowBailoutIncompleteVar] ibus-libthai-0.1.5/src/engine.c:177:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IBUS_CAP_SURROUNDING_TEXT [valueFlowBailoutIncompleteVar] ibus-libthai-0.1.5/src/engine.c:300:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IBUS_BackSpace [valueFlowBailoutIncompleteVar] ibus-libthai-0.1.5/src/engine.c:325:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IBUS_Shift_L [valueFlowBailoutIncompleteVar] ibus-libthai-0.1.5/src/engine.c:377:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IBUS_RELEASE_MASK [valueFlowBailoutIncompleteVar] ibus-libthai-0.1.5/src/engine.c:134:38: style: Parameter 'key' can be declared as pointer to const. However it seems that 'config_value_changed_cb' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ibus-libthai-0.1.5/src/engine.c:170:3: note: You might need to cast the function pointer here ibus-libthai-0.1.5/src/engine.c:134:38: note: Parameter 'key' can be declared as pointer to const ibus-libthai-0.1.5/src/engine.c:175:44: style: Parameter 'engine' can be declared as pointer to const [constParameterPointer] ibus-libthai-0.1.5/src/engine.c:245:10: error: Uninitialized variable: c [legacyUninitvar] ibus-libthai-0.1.5/src/main.c:99:7: error: Memory leak: context [memleak] ibus-libthai-0.1.5/src/main.c:42:33: style: Parameter 'bus' can be declared as pointer to const. However it seems that 'ibus_disconnected_cb' is a callback function, if 'bus' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ibus-libthai-0.1.5/src/main.c:56:3: note: You might need to cast the function pointer here ibus-libthai-0.1.5/src/main.c:42:33: note: Parameter 'bus' can be declared as pointer to const ibus-libthai-0.1.5/src/main.c:43:33: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'ibus_disconnected_cb' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ibus-libthai-0.1.5/src/main.c:56:3: note: You might need to cast the function pointer here ibus-libthai-0.1.5/src/main.c:43:33: note: Parameter 'user_data' can be declared as pointer to const ibus-libthai-0.1.5/src/utils.c:33:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMPONENTDIR [valueFlowBailoutIncompleteVar] diff: DONE