2025-07-02 19:51 ftp://ftp.de.debian.org/debian/pool/main/f/fcitx/fcitx_4.2.9.9.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=cairo --library=motif --library=qt --library=lua --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 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: 90b0e14 (2025-07-02 15:41:51 +0200) count: 966 959 elapsed-time: 5.0 5.0 head-timing-info: old-timing-info: head results: fcitx-4.2.9.9/src/core/fcitx.c:60:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/core/errorhandler.c:151:32: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/frontend/ipcportal/ipcportal.c:105:26: error: There is an unknown macro here somewhere. Configuration is required. If DBUS_INTERFACE_INTROSPECTABLE is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/frontend/qt/fcitxqtdbustypes.cpp:45:56: style:inconclusive: Function 'operator<<' argument 2 names different: declaration 'im' definition 'preedit'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/frontend/qt/fcitxqtdbustypes.h:46:56: note: Function 'operator<<' argument 2 names different: declaration 'im' definition 'preedit'. fcitx-4.2.9.9/src/frontend/qt/fcitxqtdbustypes.cpp:45:56: note: Function 'operator<<' argument 2 names different: declaration 'im' definition 'preedit'. fcitx-4.2.9.9/src/frontend/qt/fcitxqtdbustypes.cpp:54:56: style:inconclusive: Function 'operator>>' argument 2 names different: declaration 'im' definition 'preedit'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/frontend/qt/fcitxqtdbustypes.h:48:56: note: Function 'operator>>' argument 2 names different: declaration 'im' definition 'preedit'. fcitx-4.2.9.9/src/frontend/qt/fcitxqtdbustypes.cpp:54:56: note: Function 'operator>>' argument 2 names different: declaration 'im' definition 'preedit'. fcitx-4.2.9.9/src/frontend/qt/fcitxqtdbustypes.cpp:84:60: style:inconclusive: Function 'operator<<' argument 2 names different: declaration 'im' definition 'arg'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/frontend/qt/fcitxqtdbustypes.h:71:60: note: Function 'operator<<' argument 2 names different: declaration 'im' definition 'arg'. fcitx-4.2.9.9/src/frontend/qt/fcitxqtdbustypes.cpp:84:60: note: Function 'operator<<' argument 2 names different: declaration 'im' definition 'arg'. fcitx-4.2.9.9/src/frontend/qt/fcitxqtdbustypes.cpp:93:60: style:inconclusive: Function 'operator>>' argument 2 names different: declaration 'im' definition 'arg'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/frontend/qt/fcitxqtdbustypes.h:73:60: note: Function 'operator>>' argument 2 names different: declaration 'im' definition 'arg'. fcitx-4.2.9.9/src/frontend/qt/fcitxqtdbustypes.cpp:93:60: note: Function 'operator>>' argument 2 names different: declaration 'im' definition 'arg'. fcitx-4.2.9.9/src/frontend/ipc/ipc.c:121:26: error: There is an unknown macro here somewhere. Configuration is required. If DBUS_INTERFACE_INTROSPECTABLE is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/frontend/qt/fcitxinputcontextproxy.cpp:37:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WatchForUnregistration [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/qt/fcitxinputcontextproxy.cpp:162:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QString [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/qt/fcitxinputcontextproxy.cpp:210:38: style:inconclusive: Function 'updateFormattedPreeditWrapper' argument 1 names different: declaration 'str' definition 'list'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/frontend/qt/fcitxinputcontextproxy.h:72:73: note: Function 'updateFormattedPreeditWrapper' argument 1 names different: declaration 'str' definition 'list'. fcitx-4.2.9.9/src/frontend/qt/fcitxinputcontextproxy.cpp:210:38: note: Function 'updateFormattedPreeditWrapper' argument 1 names different: declaration 'str' definition 'list'. fcitx-4.2.9.9/src/frontend/qt/fcitxwatcher.cpp:33:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/qt/fcitxwatcher.cpp:162:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/qt/fcitxwatcher.cpp:250:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QString [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/qt/fcitxwatcher.cpp:259:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QString [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:310:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_IM_CONTEXT [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:353:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_type [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:419:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:530:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:579:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:587:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_RELEASE [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:623:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:698:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxKeyState_IgnoredMask [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:709:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:854:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:906:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:942:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:1034:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:1117:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAPACITY_PASSWORD [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:1154:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAPACITY_PREEDIT [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:1188:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:1206:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:1309:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:1323:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:1331:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:1357:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FCITX_RELEASE_KEY [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:1553:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT_IDLE [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:1561:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:1597:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxKeyState_HandledMask [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.h:62:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XEvent [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontextplugin.cpp:94:35: style:inconclusive: Either there is a missing 'override', or the member function 'QFcitxInputContextPlugin::displayName' can be const. [functionConst] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontextplugin.cpp:46:13: note: Either there is a missing 'override', or the member function 'QFcitxInputContextPlugin::displayName' can be const. fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontextplugin.cpp:94:35: note: Either there is a missing 'override', or the member function 'QFcitxInputContextPlugin::displayName' can be const. fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.h:43:24: warning: Struct 'FcitxQtICData' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.h:43:24: warning: Struct 'FcitxQtICData' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.h:42:5: style: Struct 'FcitxQtICData' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontextplugin.cpp:34:5: style: Class 'QFcitxInputContextPlugin' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.h:63:10: warning: If memory allocation fails, then there is a possible null pointer dereference: event [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.h:62:45: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.h:62:38: note: Assignment 'event=static_cast(malloc(sizeof(XEvent)))', assigned value is 0 fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.h:63:10: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/qt/qtkey.cpp:32:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key_Space [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/qt/qtkey.cpp:358:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XK_dead_currency [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:310:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_IM_CONTEXT [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:353:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_type [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:419:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:530:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:579:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:587:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_RELEASE [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:623:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:698:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxKeyState_IgnoredMask [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:709:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:854:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:906:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:942:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:1034:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:1117:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAPACITY_PASSWORD [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:1154:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAPACITY_PREEDIT [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:1188:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:1206:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:1309:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:1323:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:1331:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:1357:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FCITX_RELEASE_KEY [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:1553:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT_IDLE [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:1561:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:1597:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxKeyState_HandledMask [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/qt/fcitxwatcher.cpp:181:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] fcitx-4.2.9.9/src/frontend/qt/fcitxwatcher.cpp:208:25: style: Local variable 'connection' shadows outer function [shadowFunction] fcitx-4.2.9.9/src/frontend/qt/fcitxwatcher.h:43:21: note: Shadowed declaration fcitx-4.2.9.9/src/frontend/qt/fcitxwatcher.cpp:208:25: note: Shadow variable fcitx-4.2.9.9/src/frontend/qt/fcitxwatcher.cpp:181:12: style: Variable 'ppid' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.cpp:74:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XKB_CONTEXT_NO_FLAGS [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.cpp:113:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XKB_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.cpp:194:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ImhNoAutoUppercase [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.cpp:273:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ImMicroFocus [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.cpp:287:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MouseButtonPress [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.cpp:307:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QString [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.cpp:359:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WA_WState_Created [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.cpp:437:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxKeyState_IgnoredMask [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.cpp:447:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FCITX_RELEASE_KEY [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.cpp:475:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAPACITY_PREEDIT [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.cpp:529:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DashUnderline [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.cpp:638:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxKeyState_IgnoredMask [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.cpp:646:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XEvent [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.cpp:699:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FCITX_RELEASE_KEY [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.cpp:732:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WA_WState_Created [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/IC.c:73:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XNInputStyle [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/IC.c:184:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShareState_PerProgram [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/IC.c:231:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMPreeditCallbacks [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/IC.c:259:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XNFilterEvents [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:569:23: style: Condition 'client_window!=NULL' is always true [knownConditionTrueFalse] fcitx-4.2.9.9/src/frontend/xim/IC.c:261:14: warning: If memory allocation fails, then there is a possible null pointer dereference: (CARD32*)ic_attr->value [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/xim/IC.c:260:45: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/xim/IC.c:260:30: note: Assignment 'ic_attr->value=(void*)malloc(sizeof(CARD32))', assigned value is 0 fcitx-4.2.9.9/src/frontend/xim/IC.c:261:14: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/xim/IC.c:270:14: warning: If memory allocation fails, then there is a possible null pointer dereference: (XRectangle*)pre_attr->value [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/xim/IC.c:269:46: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/xim/IC.c:269:31: note: Assignment 'pre_attr->value=(void*)malloc(sizeof(XRectangle))', assigned value is 0 fcitx-4.2.9.9/src/frontend/xim/IC.c:270:14: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/xim/IC.c:275:14: warning: If memory allocation fails, then there is a possible null pointer dereference: (XRectangle*)pre_attr->value [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/xim/IC.c:274:46: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/xim/IC.c:274:31: note: Assignment 'pre_attr->value=(void*)malloc(sizeof(XRectangle))', assigned value is 0 fcitx-4.2.9.9/src/frontend/xim/IC.c:275:14: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/xim/IC.c:280:14: warning: If memory allocation fails, then there is a possible null pointer dereference: (XPoint*)pre_attr->value [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/xim/IC.c:279:46: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/xim/IC.c:279:31: note: Assignment 'pre_attr->value=(void*)malloc(sizeof(XPoint))', assigned value is 0 fcitx-4.2.9.9/src/frontend/xim/IC.c:280:14: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/xim/IC.c:290:20: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/xim/IC.c:288:46: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/xim/IC.c:288:31: note: Assignment 'pre_attr->value=(void*)malloc(total_len)', assigned value is 0 fcitx-4.2.9.9/src/frontend/xim/IC.c:289:15: note: p is assigned '(char*)pre_attr->value' here. fcitx-4.2.9.9/src/frontend/xim/IC.c:290:20: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:880:29: warning: Either the condition '!fcitxcontext' is redundant or there is possible null pointer dereference: fcitxcontext. [nullPointerRedundantCheck] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:895:9: note: Assuming that condition '!fcitxcontext' is not redundant fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:880:29: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/xim/IC.c:297:14: warning: If memory allocation fails, then there is a possible null pointer dereference: (long*)pre_attr->value [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/xim/IC.c:296:46: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/xim/IC.c:296:31: note: Assignment 'pre_attr->value=(void*)malloc(sizeof(long))', assigned value is 0 fcitx-4.2.9.9/src/frontend/xim/IC.c:297:14: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:886:22: warning: Either the condition '!fcitxcontext' is redundant or there is possible null pointer dereference: fcitxcontext. [nullPointerRedundantCheck] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:895:9: note: Assuming that condition '!fcitxcontext' is not redundant fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:886:22: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/xim/IC.c:302:14: warning: If memory allocation fails, then there is a possible null pointer dereference: (long*)pre_attr->value [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/xim/IC.c:301:46: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/xim/IC.c:301:31: note: Assignment 'pre_attr->value=(void*)malloc(sizeof(long))', assigned value is 0 fcitx-4.2.9.9/src/frontend/xim/IC.c:302:14: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:894:22: warning: Either the condition '!fcitxcontext' is redundant or there is possible null pointer dereference: fcitxcontext. [nullPointerRedundantCheck] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:895:9: note: Assuming that condition '!fcitxcontext' is not redundant fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:894:22: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/xim/IC.c:307:14: warning: If memory allocation fails, then there is a possible null pointer dereference: (long*)pre_attr->value [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/xim/IC.c:306:46: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/xim/IC.c:306:31: note: Assignment 'pre_attr->value=(void*)malloc(sizeof(long))', assigned value is 0 fcitx-4.2.9.9/src/frontend/xim/IC.c:307:14: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/xim/IC.c:316:14: warning: If memory allocation fails, then there is a possible null pointer dereference: (XRectangle*)sts_attr->value [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/xim/IC.c:315:46: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/xim/IC.c:315:31: note: Assignment 'sts_attr->value=(void*)malloc(sizeof(XRectangle))', assigned value is 0 fcitx-4.2.9.9/src/frontend/xim/IC.c:316:14: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/xim/IC.c:321:14: warning: If memory allocation fails, then there is a possible null pointer dereference: (XRectangle*)sts_attr->value [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/xim/IC.c:320:46: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/xim/IC.c:320:31: note: Assignment 'sts_attr->value=(void*)malloc(sizeof(XRectangle))', assigned value is 0 fcitx-4.2.9.9/src/frontend/xim/IC.c:321:14: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/xim/IC.c:331:20: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/xim/IC.c:329:46: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/xim/IC.c:329:31: note: Assignment 'sts_attr->value=(void*)malloc(total_len)', assigned value is 0 fcitx-4.2.9.9/src/frontend/xim/IC.c:330:15: note: p is assigned '(char*)sts_attr->value' here. fcitx-4.2.9.9/src/frontend/xim/IC.c:331:20: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/xim/IC.c:338:14: warning: If memory allocation fails, then there is a possible null pointer dereference: (long*)sts_attr->value [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/xim/IC.c:337:46: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/xim/IC.c:337:31: note: Assignment 'sts_attr->value=(void*)malloc(sizeof(long))', assigned value is 0 fcitx-4.2.9.9/src/frontend/xim/IC.c:338:14: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/xim/IC.c:343:14: warning: If memory allocation fails, then there is a possible null pointer dereference: (long*)sts_attr->value [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/xim/IC.c:342:46: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/xim/IC.c:342:31: note: Assignment 'sts_attr->value=(void*)malloc(sizeof(long))', assigned value is 0 fcitx-4.2.9.9/src/frontend/xim/IC.c:343:14: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/xim/IC.c:348:14: warning: If memory allocation fails, then there is a possible null pointer dereference: (long*)sts_attr->value [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/xim/IC.c:347:46: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/xim/IC.c:347:31: note: Assignment 'sts_attr->value=(void*)malloc(sizeof(long))', assigned value is 0 fcitx-4.2.9.9/src/frontend/xim/IC.c:348:14: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/xim/IC.c:54:51: style:inconclusive: Function 'XimCheckIC' argument 2 names different: declaration 'arg1' definition 'context'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/frontend/xim/IC.h:92:51: note: Function 'XimCheckIC' argument 2 names different: declaration 'arg1' definition 'context'. fcitx-4.2.9.9/src/frontend/xim/IC.c:54:51: note: Function 'XimCheckIC' argument 2 names different: declaration 'arg1' definition 'context'. fcitx-4.2.9.9/src/frontend/xim/IC.c:54:66: style:inconclusive: Function 'XimCheckIC' argument 3 names different: declaration 'arg2' definition 'priv'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/frontend/xim/IC.h:92:63: note: Function 'XimCheckIC' argument 3 names different: declaration 'arg2' definition 'priv'. fcitx-4.2.9.9/src/frontend/xim/IC.c:54:66: note: Function 'XimCheckIC' argument 3 names different: declaration 'arg2' definition 'priv'. fcitx-4.2.9.9/src/frontend/xim/IC.c:201:49: style:inconclusive: Function 'XimDestroyIC' argument 2 names different: declaration 'arg1' definition 'context'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/frontend/xim/IC.h:91:53: note: Function 'XimDestroyIC' argument 2 names different: declaration 'arg1' definition 'context'. fcitx-4.2.9.9/src/frontend/xim/IC.c:201:49: note: Function 'XimDestroyIC' argument 2 names different: declaration 'arg1' definition 'context'. fcitx-4.2.9.9/src/frontend/xim/IC.c:49:21: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/frontend/xim/IC.c:49:42: style: Parameter 'attr_list' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/frontend/xim/IC.c:57:13: style: Variable 'picid' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/frontend/xim/IC.c:58:17: style: Variable 'rec' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/frontend/xim/IC.c:65:58: style: Parameter 'call_data' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/frontend/xim/IC.c:174:24: style: Variable 'config' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/frontend/xim/IC.c:357:17: style: Variable 'ximictoCheck' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/frontend/xim/IC.c:358:17: style: Variable 'ximic' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:418:51: style:inconclusive: Function 'fcitx_im_context_init' argument 1 names different: declaration 'im_context' definition 'context'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:105:51: note: Function 'fcitx_im_context_init' argument 1 names different: declaration 'im_context' definition 'context'. fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:418:51: note: Function 'fcitx_im_context_init' argument 1 names different: declaration 'im_context' definition 'context'. fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:622:63: style:inconclusive: Function 'fcitx_im_context_filter_keypress' argument 2 names different: declaration 'key' definition 'event'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:110:63: note: Function 'fcitx_im_context_filter_keypress' argument 2 names different: declaration 'key' definition 'event'. fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:622:63: note: Function 'fcitx_im_context_filter_keypress' argument 2 names different: declaration 'key' definition 'event'. fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:1101:70: style:inconclusive: Function 'fcitx_im_context_set_surrounding' argument 3 names different: declaration 'len' definition 'l'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:119:70: note: Function 'fcitx_im_context_set_surrounding' argument 3 names different: declaration 'len' definition 'l'. fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:1101:70: note: Function 'fcitx_im_context_set_surrounding' argument 3 names different: declaration 'len' definition 'l'. fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:1302:50: style:inconclusive: Function '_fcitx_im_context_enable_im_cb' argument 1 names different: declaration 'client' definition 'im'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:142:57: note: Function '_fcitx_im_context_enable_im_cb' argument 1 names different: declaration 'client' definition 'im'. fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:1302:50: note: Function '_fcitx_im_context_enable_im_cb' argument 1 names different: declaration 'client' definition 'im'. fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:1307:49: style:inconclusive: Function '_fcitx_im_context_close_im_cb' argument 1 names different: declaration 'client' definition 'im'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:144:56: note: Function '_fcitx_im_context_close_im_cb' argument 1 names different: declaration 'client' definition 'im'. fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:1307:49: note: Function '_fcitx_im_context_close_im_cb' argument 1 names different: declaration 'client' definition 'im'. fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:1320:54: style:inconclusive: Function '_fcitx_im_context_commit_string_cb' argument 1 names different: declaration 'client' definition 'im'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:145:61: note: Function '_fcitx_im_context_commit_string_cb' argument 1 names different: declaration 'client' definition 'im'. fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:1320:54: note: Function '_fcitx_im_context_commit_string_cb' argument 1 names different: declaration 'client' definition 'im'. fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:1328:52: style:inconclusive: Function '_fcitx_im_context_forward_key_cb' argument 1 names different: declaration 'client' definition 'im'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:147:59: note: Function '_fcitx_im_context_forward_key_cb' argument 1 names different: declaration 'client' definition 'im'. fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:1328:52: note: Function '_fcitx_im_context_forward_key_cb' argument 1 names different: declaration 'client' definition 'im'. fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:1341:18: style:inconclusive: Function '_fcitx_im_context_delete_surrounding_text_cb' argument 1 names different: declaration 'client' definition 'im'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:151:59: note: Function '_fcitx_im_context_delete_surrounding_text_cb' argument 1 names different: declaration 'client' definition 'im'. fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:1341:18: note: Function '_fcitx_im_context_delete_surrounding_text_cb' argument 1 names different: declaration 'client' definition 'im'. fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:1543:48: style:inconclusive: Function '_fcitx_im_context_connect_cb' argument 1 names different: declaration 'client' definition 'im'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:154:55: note: Function '_fcitx_im_context_connect_cb' argument 1 names different: declaration 'client' definition 'im'. fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:1543:48: note: Function '_fcitx_im_context_connect_cb' argument 1 names different: declaration 'client' definition 'im'. fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:736:27: style: Variable 'preedit' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/frontend/xim/lib/IMConn.c:79:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPointer [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/lib/IMConn.c:86:37: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/frontend/xim/lib/IMConn.c:103:20: style: Parameter 'modifiers' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:569:23: style: Condition 'client_window!=NULL' is always true [knownConditionTrueFalse] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:880:29: warning: Either the condition '!fcitxcontext' is redundant or there is possible null pointer dereference: fcitxcontext. [nullPointerRedundantCheck] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:895:9: note: Assuming that condition '!fcitxcontext' is not redundant fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:880:29: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:886:22: warning: Either the condition '!fcitxcontext' is redundant or there is possible null pointer dereference: fcitxcontext. [nullPointerRedundantCheck] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:895:9: note: Assuming that condition '!fcitxcontext' is not redundant fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:886:22: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:894:22: warning: Either the condition '!fcitxcontext' is redundant or there is possible null pointer dereference: fcitxcontext. [nullPointerRedundantCheck] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:895:9: note: Assuming that condition '!fcitxcontext' is not redundant fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:894:22: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:418:51: style:inconclusive: Function 'fcitx_im_context_init' argument 1 names different: declaration 'im_context' definition 'context'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:105:51: note: Function 'fcitx_im_context_init' argument 1 names different: declaration 'im_context' definition 'context'. fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:418:51: note: Function 'fcitx_im_context_init' argument 1 names different: declaration 'im_context' definition 'context'. fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:622:63: style:inconclusive: Function 'fcitx_im_context_filter_keypress' argument 2 names different: declaration 'key' definition 'event'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:110:63: note: Function 'fcitx_im_context_filter_keypress' argument 2 names different: declaration 'key' definition 'event'. fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:622:63: note: Function 'fcitx_im_context_filter_keypress' argument 2 names different: declaration 'key' definition 'event'. fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:1101:70: style:inconclusive: Function 'fcitx_im_context_set_surrounding' argument 3 names different: declaration 'len' definition 'l'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:119:70: note: Function 'fcitx_im_context_set_surrounding' argument 3 names different: declaration 'len' definition 'l'. fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:1101:70: note: Function 'fcitx_im_context_set_surrounding' argument 3 names different: declaration 'len' definition 'l'. fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:1302:50: style:inconclusive: Function '_fcitx_im_context_enable_im_cb' argument 1 names different: declaration 'client' definition 'im'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:142:57: note: Function '_fcitx_im_context_enable_im_cb' argument 1 names different: declaration 'client' definition 'im'. fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:1302:50: note: Function '_fcitx_im_context_enable_im_cb' argument 1 names different: declaration 'client' definition 'im'. fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:1307:49: style:inconclusive: Function '_fcitx_im_context_close_im_cb' argument 1 names different: declaration 'client' definition 'im'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:144:56: note: Function '_fcitx_im_context_close_im_cb' argument 1 names different: declaration 'client' definition 'im'. fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:1307:49: note: Function '_fcitx_im_context_close_im_cb' argument 1 names different: declaration 'client' definition 'im'. fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:1320:54: style:inconclusive: Function '_fcitx_im_context_commit_string_cb' argument 1 names different: declaration 'client' definition 'im'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:145:61: note: Function '_fcitx_im_context_commit_string_cb' argument 1 names different: declaration 'client' definition 'im'. fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:1320:54: note: Function '_fcitx_im_context_commit_string_cb' argument 1 names different: declaration 'client' definition 'im'. fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:1328:52: style:inconclusive: Function '_fcitx_im_context_forward_key_cb' argument 1 names different: declaration 'client' definition 'im'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:147:59: note: Function '_fcitx_im_context_forward_key_cb' argument 1 names different: declaration 'client' definition 'im'. fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:1328:52: note: Function '_fcitx_im_context_forward_key_cb' argument 1 names different: declaration 'client' definition 'im'. fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:1341:18: style:inconclusive: Function '_fcitx_im_context_delete_surrounding_text_cb' argument 1 names different: declaration 'client' definition 'im'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:151:59: note: Function '_fcitx_im_context_delete_surrounding_text_cb' argument 1 names different: declaration 'client' definition 'im'. fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:1341:18: note: Function '_fcitx_im_context_delete_surrounding_text_cb' argument 1 names different: declaration 'client' definition 'im'. fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:1543:48: style:inconclusive: Function '_fcitx_im_context_connect_cb' argument 1 names different: declaration 'client' definition 'im'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:154:55: note: Function '_fcitx_im_context_connect_cb' argument 1 names different: declaration 'client' definition 'im'. fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:1543:48: note: Function '_fcitx_im_context_connect_cb' argument 1 names different: declaration 'client' definition 'im'. fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:736:27: style: Variable 'preedit' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/frontend/xim/lib/IMValues.c:70:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPointer [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/lib/i18nAttr.c:115:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XNPreeditAttributes [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/lib/i18nAttr.c:84:41: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/frontend/xim/xim.h:55:1: error: There is an unknown macro here somewhere. Configuration is required. If CONFIG_BINDING_DECLARE is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.h:111:18: style: Virtual function 'reset' is called from destructor '~QFcitxInputContext()' at line 124. Dynamic binding is not used. [virtualCallInConstructor] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.cpp:124:5: note: Calling cleanUp fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.cpp:141:5: note: Calling reset fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.h:111:18: note: reset is a virtual function fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.cpp:206:10: style: The scope of the variable 'setSurrounding' can be reduced. [variableScope] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.cpp:571:65: style:inconclusive: Function 'deleteSurroundingText' argument 2 names different: declaration 'nchar' definition '_nchar'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.h:128:49: note: Function 'deleteSurroundingText' argument 2 names different: declaration 'nchar' definition '_nchar'. fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.cpp:571:65: note: Function 'deleteSurroundingText' argument 2 names different: declaration 'nchar' definition '_nchar'. fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.cpp:410:28: style: Variable 'watcher' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.cpp:163:24: style: Variable 'text' is assigned a value that is never used. [unreadVariable] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.cpp:163:19: style: Variable 'text' is assigned a value that is never used. [unreadVariable] fcitx-4.2.9.9/src/frontend/xim/lib/i18nIc.c:54:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD8 [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/lib/i18nIc.c:126:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPoint [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/lib/i18nIc.c:158:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XRectangle [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/lib/i18nIc.c:230:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/lib/i18nIc.c:262:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/lib/i18nIc.c:280:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/lib/i18nIc.c:299:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/lib/i18nIc.c:344:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/lib/i18nIc.c:413:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/lib/i18nIc.c:737:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeyPressMask [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/lib/i18nIc.c:815:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/xim.c:60:1: error: There is an unknown macro here somewhere. Configuration is required. If DECLARE_ADDFUNCTIONS is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:64:12: warning: If memory allocation fails, then there is a possible null pointer dereference: client [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:60:40: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:60:18: note: Assignment 'client=(struct Xi18nClient*)malloc(sizeof(struct Xi18nClient))', assigned value is 0 fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:64:12: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:65:5: warning: If memory allocation fails, then there is a possible null pointer dereference: client [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:60:40: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:60:18: note: Assignment 'client=(struct Xi18nClient*)malloc(sizeof(struct Xi18nClient))', assigned value is 0 fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:65:5: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:66:5: warning: If memory allocation fails, then there is a possible null pointer dereference: client [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:60:40: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:60:18: note: Assignment 'client=(struct Xi18nClient*)malloc(sizeof(struct Xi18nClient))', assigned value is 0 fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:66:5: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:67:5: warning: If memory allocation fails, then there is a possible null pointer dereference: client [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:60:40: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:60:18: note: Assignment 'client=(struct Xi18nClient*)malloc(sizeof(struct Xi18nClient))', assigned value is 0 fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:67:5: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:68:5: warning: If memory allocation fails, then there is a possible null pointer dereference: client [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:60:40: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:60:18: note: Assignment 'client=(struct Xi18nClient*)malloc(sizeof(struct Xi18nClient))', assigned value is 0 fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:68:5: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:70:5: warning: If memory allocation fails, then there is a possible null pointer dereference: client [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:60:40: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:60:18: note: Assignment 'client=(struct Xi18nClient*)malloc(sizeof(struct Xi18nClient))', assigned value is 0 fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:70:5: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:155:12: warning: If memory allocation fails, then there is a possible null pointer dereference: reply [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:153:37: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:153:13: note: Assignment 'reply=(unsigned char*)malloc(reply_length)', assigned value is 0 fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:155:12: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:161:11: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: reply [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:153:37: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:153:13: note: Assignment 'reply=(unsigned char*)malloc(reply_length)', assigned value is 0 fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:161:11: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:44:18: style: Variable 'client' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/frontend/xim/lib/i18nUtil.c:121:39: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/frontend/xim/ximhandler.c:149:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XNSpotLocation [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/ximhandler.c:219:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxKeyState_NumLock [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/ximhandler.c:272:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMForwardEventStruct [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/ximhandler.c:287:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMPreeditCBStruct [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/ximhandler.c:301:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMPreeditCBStruct [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/ximhandler.c:327:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMFeedback [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/lib/i18nX.c:97:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/lib/i18nX.c:197:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/lib/i18nX.c:273:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/lib/i18nX.c:347:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/lib/i18nPtHdr.c:566:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XNQueryInputStyle [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/lib/i18nPtHdr.c:667:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/lib/i18nPtHdr.c:713:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/lib/i18nPtHdr.c:1056:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/lib/i18nPtHdr.c:1107:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeyPress [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/im/keyboard/isocodes.c:47:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_array [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/im/keyboard/isocodes.c:82:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_string [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/im/keyboard/isocodes.c:133:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_string [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/im/keyboard/isocodes.c:149:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh1 [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/im/keyboard/isocodes.c:161:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh1 [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/ximhandler.c:65:24: style: Variable 'oldic' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/frontend/xim/ximhandler.c:85:69: style: Parameter 'call_data' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/frontend/xim/ximhandler.c:87:24: style: Variable 'ic' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/frontend/xim/ximhandler.c:96:65: style: Parameter 'call_data' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/frontend/xim/ximhandler.c:98:24: style: Variable 'ic' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/frontend/xim/ximhandler.c:268:40: style: Parameter 'ic' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/frontend/xim/ximhandler.c:269:36: style: Parameter 'xEvent' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/im/keyboard/keyboard.c:76:1: error: There is an unknown macro here somewhere. Configuration is required. If CONFIG_DESC_DEFINE is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/im/pinyin/py.c:81:1: error: There is an unknown macro here somewhere. Configuration is required. If DECLARE_ADDFUNCTIONS is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/frontend/xim/lib/i18nX.c:154:20: style: The statement 'if (length!=nitems) length=nitems' is logically equivalent to 'length=nitems'. [duplicateConditionalAssign] fcitx-4.2.9.9/src/frontend/xim/lib/i18nX.c:155:20: note: Assignment 'length=nitems' fcitx-4.2.9.9/src/frontend/xim/lib/i18nX.c:154:20: note: Condition 'length!=nitems' is redundant fcitx-4.2.9.9/src/frontend/xim/lib/i18nX.c:54:5: warning: If memory allocation fails, then there is a possible null pointer dereference: x_client [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/xim/lib/i18nX.c:53:34: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/xim/lib/i18nX.c:53:16: note: Assignment 'x_client=(struct XClient*)malloc(sizeof(struct XClient))', assigned value is 0 fcitx-4.2.9.9/src/frontend/xim/lib/i18nX.c:54:5: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/xim/lib/i18nX.c:55:5: warning: If memory allocation fails, then there is a possible null pointer dereference: x_client [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/xim/lib/i18nX.c:53:34: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/xim/lib/i18nX.c:53:16: note: Assignment 'x_client=(struct XClient*)malloc(sizeof(struct XClient))', assigned value is 0 fcitx-4.2.9.9/src/frontend/xim/lib/i18nX.c:55:5: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/xim/lib/i18nX.c:174:15: style: Variable 'spec' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/frontend/xim/lib/i18nX.c:269:15: style: Variable 'spec' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/frontend/xim/lib/i18nX.c:342:35: style: Parameter 'display' can be declared as pointer to const. However it seems that 'CheckCMEvent' is a callback function, if 'display' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fcitx-4.2.9.9/src/frontend/xim/lib/i18nX.c:375:18: note: You might need to cast the function pointer here fcitx-4.2.9.9/src/frontend/xim/lib/i18nX.c:342:35: note: Parameter 'display' can be declared as pointer to const fcitx-4.2.9.9/src/frontend/xim/lib/i18nX.c:342:52: style: Parameter 'event' can be declared as pointer to const. However it seems that 'CheckCMEvent' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fcitx-4.2.9.9/src/frontend/xim/lib/i18nX.c:375:18: note: You might need to cast the function pointer here fcitx-4.2.9.9/src/frontend/xim/lib/i18nX.c:342:52: note: Parameter 'event' can be declared as pointer to const fcitx-4.2.9.9/src/frontend/xim/lib/i18nX.c:345:15: style: Variable 'spec' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/frontend/xim/lib/i18nX.c:366:14: style: Variable 'x_client' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/frontend/xim/lib/i18nX.c:370:22: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/frontend/xim/lib/i18nX.c:446:15: style: Variable 'spec' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/frontend/xim/lib/i18nX.c:465:15: style: Variable 'spec' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/im/pinyin/pyconfig.c:38:1: error: There is an unknown macro here somewhere. Configuration is required. If CONFIG_BINDING_BEGIN is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/frontend/xim/lib/FrameMgr.c:1040:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] fcitx-4.2.9.9/src/frontend/xim/lib/FrameMgr.c:1653:26: style: Local variable 'dr' shadows outer variable [shadowVariable] fcitx-4.2.9.9/src/frontend/xim/lib/FrameMgr.c:1637:22: note: Shadowed declaration fcitx-4.2.9.9/src/frontend/xim/lib/FrameMgr.c:1653:26: note: Shadow variable fcitx-4.2.9.9/src/frontend/xim/lib/FrameMgr.c:1681:26: style: Local variable 'dr' shadows outer variable [shadowVariable] fcitx-4.2.9.9/src/frontend/xim/lib/FrameMgr.c:1667:22: note: Shadowed declaration fcitx-4.2.9.9/src/frontend/xim/lib/FrameMgr.c:1681:26: note: Shadow variable fcitx-4.2.9.9/src/frontend/xim/lib/FrameMgr.c:1711:26: style: Local variable 'dr' shadows outer variable [shadowVariable] fcitx-4.2.9.9/src/frontend/xim/lib/FrameMgr.c:1697:22: note: Shadowed declaration fcitx-4.2.9.9/src/frontend/xim/lib/FrameMgr.c:1711:26: note: Shadow variable fcitx-4.2.9.9/src/frontend/xim/lib/FrameMgr.c:837:23: style: Variable 'd' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/frontend/xim/lib/FrameMgr.c:968:23: style: Variable 'd' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/frontend/xim/lib/FrameMgr.c:1493:23: style: Variable 'd' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/frontend/xim/lib/FrameMgr.c:1569:23: style: Variable 'd' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/frontend/xim/lib/FrameMgr.c:1905:23: style: Variable 'd' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/im/pinyin/PYFA.c:1180:24: style: Parameter 'MHPY_C' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/im/pinyin/PYFA.c:1196:25: style: Parameter 'MHPY_C' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/im/pinyin/PYFA.c:1213:25: style: Parameter 'MHPY_S' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/frontend/xim/lib/FrameMgr.c:737:19: style: Variable 'next_type' is assigned a value that is never used. [unreadVariable] fcitx-4.2.9.9/src/im/qw/qw.c:84:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTEXT_IM_KEYBOARD_LAYOUT [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/im/qw/qw.c:95:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IRV_TO_PROCESS [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/im/qw/qw.c:138:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IRV_COMMIT_STRING [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/im/qw/qw.c:149:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIGIT_STR_CHOOSE [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/im/qw/qw.c:180:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UTF8_MAX_LENGTH [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/im/qw/qw.c:131:65: style: Parameter 'candWord' can be declared as pointer to const. However it seems that 'QWGetCandWord' is a callback function, if 'candWord' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fcitx-4.2.9.9/src/im/qw/qw.c:157:33: note: You might need to cast the function pointer here fcitx-4.2.9.9/src/im/qw/qw.c:131:65: note: Parameter 'candWord' can be declared as pointer to const fcitx-4.2.9.9/src/im/table/tableconfig.c:26:1: error: There is an unknown macro here somewhere. Configuration is required. If CONFIG_BINDING_BEGIN is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/im/table/table.c:299:1: error: There is an unknown macro here somewhere. Configuration is required. If CONFIG_DESC_DEFINE is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/frontend/xim/lib/i18nIc.c:816:12: warning: If memory allocation fails, then there is a possible null pointer dereference: attrID_list [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/xim/lib/i18nIc.c:815:36: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/xim/lib/i18nIc.c:815:19: note: Assignment 'attrID_list=(CARD16*)malloc(sizeof(CARD16)*64)', assigned value is 0 fcitx-4.2.9.9/src/frontend/xim/lib/i18nIc.c:816:12: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:481:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxKey_9 [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:493:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxKey_Z [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:505:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxKey_asciitilde [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:517:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxKey_z [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:533:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxKeyState_Ctrl_Alt_Shift [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:545:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxKey_Left [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:570:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxKey_Control_L [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:587:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxKeyState_Shift [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:621:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxKeyState_Ctrl [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:693:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxKeyState_Ctrl [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:747:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxKeyState_Ctrl [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:803:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxKey_asciitilde [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:880:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxKey_space [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:930:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxKeyState_Ctrl [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/im/pinyin/pyParser.c:553:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable py [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/im/pinyin/pyParser.c:561:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable py [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:154:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cgdesc [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:256:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:894:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:1030:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable groupdesc [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:1057:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable groupdesc [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:1136:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WARNING [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:1161:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable groupdesc [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:1236:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WARNING [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:1352:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cgdesc [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/im/pinyin/sp.c:211:11: style: Variable 'SPMap_C' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/im/pinyin/sp.c:212:11: style: Variable 'SPMap_S' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/im/pinyin/sp.c:312:55: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/im/pinyin/sp.c:315:11: style: Variable 'SPMap_S' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/im/pinyin/sp.c:329:55: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/im/pinyin/sp.c:332:11: style: Variable 'SPMap_C' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/im/pinyin/sp.c:349:11: style: Variable 'SPMap_S' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/im/pinyin/sp.c:366:11: style: Variable 'SPMap_C' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:746:16: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:847:25: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:847:25: note: Assignment 'strKey=strndup(p,i)', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:851:33: note: Calling function 'FcitxHotkeyParseKey', 1st argument 'strKey' value is 0 fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:744:9: note: Assignment 'p=strKey', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:746:16: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:756:16: warning: If memory allocation fails, then there is a possible null pointer dereference: strKey [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:847:25: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:847:25: note: Assignment 'strKey=strndup(p,i)', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:851:33: note: Calling function 'FcitxHotkeyParseKey', 1st argument 'strKey' value is 0 fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:756:16: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:761:16: warning: If memory allocation fails, then there is a possible null pointer dereference: strKey [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:847:25: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:847:25: note: Assignment 'strKey=strndup(p,i)', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:851:33: note: Calling function 'FcitxHotkeyParseKey', 1st argument 'strKey' value is 0 fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:761:16: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:806:9: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:805:19: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:805:19: note: Assignment 'p=malloc(sizeof(char)*2)', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:806:9: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:807:9: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:805:19: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:805:19: note: Assignment 'p=malloc(sizeof(char)*2)', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:807:9: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:849:9: warning: If memory allocation fails, then there is a possible null pointer dereference: strKey [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:847:25: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:847:25: note: Assignment 'strKey=strndup(p,i)', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:849:9: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:830:36: style:inconclusive: Function 'FcitxHotkeySetKey' argument 1 names different: declaration 'strKey' definition 'str'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.h:72:40: note: Function 'FcitxHotkeySetKey' argument 1 names different: declaration 'strKey' definition 'str'. fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:830:36: note: Function 'FcitxHotkeySetKey' argument 1 names different: declaration 'strKey' definition 'str'. fcitx-4.2.9.9/src/lib/fcitx-config/hotkey.c:834:23: style: Variable 'i' is assigned a value that is never used. [unreadVariable] fcitx-4.2.9.9/src/lib/fcitx-config/sprintf.c:39:19: error: va_list 'ap2' was opened but not closed by va_end(). [va_end_missing] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxclient.c:69:28: error: There is an unknown macro here somewhere. Configuration is required. If FCITX_IM_DBUS_INTERFACE is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/frontend/xim/lib/i18nPtHdr.c:714:12: warning: If memory allocation fails, then there is a possible null pointer dereference: im_attrID_list [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/xim/lib/i18nPtHdr.c:713:39: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/xim/lib/i18nPtHdr.c:713:22: note: Assignment 'im_attrID_list=(CARD16*)malloc(sizeof(CARD16)*20)', assigned value is 0 fcitx-4.2.9.9/src/frontend/xim/lib/i18nPtHdr.c:714:12: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/xim/lib/i18nPtHdr.c:716:12: warning: If memory allocation fails, then there is a possible null pointer dereference: name_list [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/xim/lib/i18nPtHdr.c:715:32: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/xim/lib/i18nPtHdr.c:715:17: note: Assignment 'name_list=(char**)malloc(sizeof(char*)*20)', assigned value is 0 fcitx-4.2.9.9/src/frontend/xim/lib/i18nPtHdr.c:716:12: note: Null pointer dereference fcitx-4.2.9.9/src/frontend/xim/lib/i18nPtHdr.c:1565:47: warning: Either the condition 'hdr==(struct XimProtoHdr*)NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] fcitx-4.2.9.9/src/frontend/xim/lib/i18nPtHdr.c:1573:13: note: Assuming that condition 'hdr==(struct XimProtoHdr*)NULL' is not redundant fcitx-4.2.9.9/src/frontend/xim/lib/i18nPtHdr.c:1565:47: note: Null pointer addition fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:75:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:105:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:287:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:300:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:310:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:370:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxStringHashSet [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxconnection.c:96:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fcitx_connection_parent_class [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxconnection.c:115:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fcitx_connection_parent_class [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxconnection.c:135:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxconnection.c:204:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxconnection.c:238:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxconnection.c:249:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxconnection.c:276:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxconnection.c:305:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxconnection.c:364:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_RUN_LAST [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxconnection.c:427:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_MONITOR_EVENT_DELETED [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/frontend/xim/lib/i18nPtHdr.c:323:42: style: Parameter 'lib_extension' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/frontend/xim/lib/i18nPtHdr.c:561:38: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/frontend/xim/lib/i18nPtHdr.c:614:17: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/frontend/xim/lib/i18nPtHdr.c:1277:58: style: Parameter 'enc_nego' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/frontend/xim/lib/i18nPtHdr.c:1280:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/frontend/xim/lib/i18nPtHdr.c:1495:42: style: Parameter 'call_data' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/frontend/xim/lib/i18nPtHdr.c:1496:45: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxconnection.c:354:5: 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] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxconnection.c:400:53: style:inconclusive: Function 'fcitx_connection_is_valid' argument 1 names different: declaration 'connection' definition 'self'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxconnection.h:63:53: note: Function 'fcitx_connection_is_valid' argument 1 names different: declaration 'connection' definition 'self'. fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxconnection.c:400:53: note: Function 'fcitx_connection_is_valid' argument 1 names different: declaration 'connection' definition 'self'. fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxconnection.c:462:12: style: Variable 'ppid' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxkbd.c:79:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fcitx_kbd_parent_class [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxkbd.c:113:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FCITX_DBUS_SERVICE [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxkbd.c:190:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NO_AUTO_START [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxkbd.c:217:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NO_AUTO_START [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxkbd.c:233:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NO_AUTO_START [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxkbd.c:77:29: style: Variable 'im' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxkbd.c:245:65: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxkbd.c:77:32: style: Variable 'im' is assigned a value that is never used. [unreadVariable] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxkbd.c:77:29: style: Variable 'im' is assigned a value that is never used. [unreadVariable] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:120:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fcitx_input_method_parent_class [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:162:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FCITX_IM_DBUS_PATH [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:213:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FCITX_IM_DBUS_PATH [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:322:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:358:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FCITX_DBUS_SERVICE [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:454:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NO_AUTO_START [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:468:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NO_AUTO_START [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:541:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NO_AUTO_START [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:591:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NO_AUTO_START [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:188:20: warning:inconclusive: Possible null pointer dereference: buf [nullPointer] fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:185:17: note: Assignment 'buf=NULL', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:188:20: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:266:9: warning: If memory allocation fails, then there is a possible null pointer dereference: dirsArray [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:265:27: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:265:27: note: Assignment 'dirsArray=malloc(2*sizeof(char*))', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:266:9: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:267:9: warning: If memory allocation fails, then there is a possible null pointer dereference: dirsArray [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:265:27: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:265:27: note: Assignment 'dirsArray=malloc(2*sizeof(char*))', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:267:9: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:269:31: warning: If memory allocation fails, then there is a possible null pointer dereference: dirsArray [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:265:27: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:265:27: note: Assignment 'dirsArray=malloc(2*sizeof(char*))', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:269:31: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:275:9: warning: If memory allocation fails, then there is a possible null pointer dereference: dirsArray [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:274:27: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:274:27: note: Assignment 'dirsArray=malloc(sizeof(char*))', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:275:9: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:267:29: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:264:22: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:264:22: note: Assignment 'dirs=malloc(orig_len1+dd_len+sg_len+4)', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:267:29: note: Null pointer addition fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:144:13: style: Checking if unsigned expression 'len' is less than zero. [unsignedLessThanZero] fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:200:19: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx-gclient/test/testgclient.c:47:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxKey_a [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-gclient/test/testgclient.c:20:22: style: Variable 'item' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtconfiguifactory_p.h:32:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:225:1: error: Memory leak: value [memleak] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:118:37: style: Variable 'im' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:209:15: style: Variable 'value' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:270:72: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'fcitx_input_method_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:306:35: note: You might need to cast the function pointer here fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:270:72: note: Parameter 'pspec' can be declared as pointer to const fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:284:57: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'fcitx_input_method_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:307:35: note: You might need to cast the function pointer here fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:284:57: note: Parameter 'pspec' can be declared as pointer to const fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:388:53: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:412:18: style: Variable 'item' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:413:22: style: Variable 'builder' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:451:70: style: Parameter 'addon' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:465:67: style: Parameter 'imname' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:537:69: style: Parameter 'imname' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:588:69: style: Parameter 'imname' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:118:40: style: Variable 'im' is assigned a value that is never used. [unreadVariable] fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:118:37: style: Variable 'im' is assigned a value that is never used. [unreadVariable] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtconfiguifactory_p.h:29:5: style: Class 'FcitxQtConfigUIFactoryPrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtconfiguifactory.cpp:31:86: style:inconclusive: Function 'FcitxQtConfigUIFactoryPrivate' argument 1 names different: declaration 'conn' definition 'factory'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtconfiguifactory_p.h:29:59: note: Function 'FcitxQtConfigUIFactoryPrivate' argument 1 names different: declaration 'conn' definition 'factory'. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtconfiguifactory.cpp:31:86: note: Function 'FcitxQtConfigUIFactoryPrivate' argument 1 names different: declaration 'conn' definition 'factory'. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtconfiguifactory.cpp:104:21: style: Variable 'fileName' is assigned a value that is never used. [unreadVariable] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtformattedpreedit.h:28:1: style: The class 'FcitxQtFormattedPreedit' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtformattedpreedit.cpp:58:83: style:inconclusive: Function 'operator<<' argument 2 names different: declaration 'im' definition 'preedit'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtformattedpreedit.h:45:83: note: Function 'operator<<' argument 2 names different: declaration 'im' definition 'preedit'. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtformattedpreedit.cpp:58:83: note: Function 'operator<<' argument 2 names different: declaration 'im' definition 'preedit'. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtformattedpreedit.cpp:68:89: style:inconclusive: Function 'operator>>' argument 2 names different: declaration 'im' definition 'preedit'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtformattedpreedit.h:46:89: note: Function 'operator>>' argument 2 names different: declaration 'im' definition 'preedit'. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtformattedpreedit.cpp:68:89: note: Function 'operator>>' argument 2 names different: declaration 'im' definition 'preedit'. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtinputmethoditem.h:30:1: style: The class 'FcitxQtInputMethodItem' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtinputmethoditem.cpp:43:46: style:inconclusive: Function 'setEnabled' argument 1 names different: declaration 'name' definition 'enable'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtinputmethoditem.h:41:26: note: Function 'setEnabled' argument 1 names different: declaration 'name' definition 'enable'. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtinputmethoditem.cpp:43:46: note: Function 'setEnabled' argument 1 names different: declaration 'name' definition 'enable'. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtinputmethoditem.cpp:47:57: style:inconclusive: Function 'setLangCode' argument 1 names different: declaration 'name' definition 'lang'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtinputmethoditem.h:40:37: note: Function 'setLangCode' argument 1 names different: declaration 'name' definition 'lang'. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtinputmethoditem.cpp:47:57: note: Function 'setLangCode' argument 1 names different: declaration 'name' definition 'lang'. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtconnection_p.h:36:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtconnection.cpp:133:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QString [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtconnection.cpp:142:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QString [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtconnection.cpp:239:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeyboardlayout.cpp:74:81: style:inconclusive: Function 'operator<<' argument 2 names different: declaration 'l' definition 'layout'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeyboardlayout.h:52:81: note: Function 'operator<<' argument 2 names different: declaration 'l' definition 'layout'. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeyboardlayout.cpp:74:81: note: Function 'operator<<' argument 2 names different: declaration 'l' definition 'layout'. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeyboardlayout.cpp:86:87: style:inconclusive: Function 'operator>>' argument 2 names different: declaration 'l' definition 'layout'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeyboardlayout.h:53:87: note: Function 'operator>>' argument 2 names different: declaration 'l' definition 'layout'. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeyboardlayout.cpp:86:87: note: Function 'operator>>' argument 2 names different: declaration 'l' definition 'layout'. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtconnection_p.h:33:5: style: Class 'FcitxQtConnectionPrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtconnection.cpp:181:21: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtconnection.cpp:179:29: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtconnection.cpp:179:29: note: Assignment 'display=strdup(display)', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtconnection.cpp:180:23: note: Assignment 'p=display', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtconnection.cpp:181:21: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtconnection.cpp:258:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtconnection.cpp:60:5: style: Variable 'd' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtconnection.cpp:72:5: style: Variable 'd' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtconnection.cpp:78:5: style: Variable 'd' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtconnection.cpp:178:19: style: Variable 'strDisplayNumber' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtconnection.cpp:258:12: style: Variable 'ppid' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:154:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StrongFocus [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:301:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeyboardModifierMask [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:375:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeyPress [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:406:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHIFT [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:490:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key_Shift [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:567:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeyboardModifierMask [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:593:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoModifier [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:117:34: warning: Member variable 'FcitxQtKeySequenceWidgetPrivate::oldSide' is not initialized in the constructor. [uninitMemberVar] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:193:32: style:inconclusive: Either there is a missing 'override', or the member function 'FcitxQtKeySequenceWidget::isModifierlessAllowed' can be const. [functionConst] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.h:99:10: note: Either there is a missing 'override', or the member function 'FcitxQtKeySequenceWidget::isModifierlessAllowed' can be const. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:193:32: note: Either there is a missing 'override', or the member function 'FcitxQtKeySequenceWidget::isModifierlessAllowed' can be const. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:198:32: style:inconclusive: Either there is a missing 'override', or the member function 'FcitxQtKeySequenceWidget::isModifierOnlyAllowed' can be const. [functionConst] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.h:102:10: note: Either there is a missing 'override', or the member function 'FcitxQtKeySequenceWidget::isModifierOnlyAllowed' can be const. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:198:32: note: Either there is a missing 'override', or the member function 'FcitxQtKeySequenceWidget::isModifierOnlyAllowed' can be const. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:208:47: style:inconclusive: Either there is a missing 'override', or the member function 'FcitxQtKeySequenceWidget::modifierSide' can be const. [functionConst] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.h:108:25: note: Either there is a missing 'override', or the member function 'FcitxQtKeySequenceWidget::modifierSide' can be const. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:208:47: note: Either there is a missing 'override', or the member function 'FcitxQtKeySequenceWidget::modifierSide' can be const. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:65:5: style: Class 'FcitxQtKeySequenceWidgetPrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:232:135: style:inconclusive: Function 'setKeySequence' argument 3 names different: declaration 'val' definition 'validate'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.h:122:100: note: Function 'setKeySequence' argument 3 names different: declaration 'val' definition 'validate'. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:232:135: note: Function 'setKeySequence' argument 3 names different: declaration 'val' definition 'validate'. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:373:47: style:inconclusive: Function 'event' argument 1 names different: declaration 'event' definition 'e'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget_p.h:65:33: note: Function 'event' argument 1 names different: declaration 'event' definition 'e'. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:373:47: note: Function 'event' argument 1 names different: declaration 'event' definition 'e'. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:393:57: style:inconclusive: Function 'keyPressEvent' argument 1 names different: declaration 'event' definition 'e'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget_p.h:66:43: note: Function 'keyPressEvent' argument 1 names different: declaration 'event' definition 'e'. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:393:57: note: Function 'keyPressEvent' argument 1 names different: declaration 'event' definition 'e'. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:476:59: style:inconclusive: Function 'keyReleaseEvent' argument 1 names different: declaration 'event' definition 'e'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget_p.h:67:45: note: Function 'keyReleaseEvent' argument 1 names different: declaration 'event' definition 'e'. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:476:59: note: Function 'keyReleaseEvent' argument 1 names different: declaration 'event' definition 'e'. fcitx-4.2.9.9/src/lib/fcitx-qt/test/testkeysequencewidget.cpp:10:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-utils/handler-table.c:347:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/im/pinyin/pyParser.c:329:34: style: Parameter 'pyconfig' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/im/pinyin/pyParser.c:405:22: style: Parameter 'strMap' can be declared as const array [constParameter] fcitx-4.2.9.9/src/im/pinyin/pyParser.c:487:47: style: Parameter 'map1' can be declared as const array [constParameter] fcitx-4.2.9.9/src/im/pinyin/pyParser.c:487:61: style: Parameter 'map2' can be declared as const array [constParameter] fcitx-4.2.9.9/src/lib/fcitx-qt/qtkeytrans.cpp:55:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeypadModifier [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-qt/qtkeytrans.cpp:807:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxKeyState_Alt [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-utils/handler-table.c:247:9: style: Condition '!key_struct' is always true [knownConditionTrueFalse] fcitx-4.2.9.9/src/lib/fcitx-utils/handler-table.c:246:18: note: Assignment 'key_struct=(fcitx_handler_table_find_key)(table,keysize,key,false)', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-utils/handler-table.c:247:9: note: Condition '!key_struct' is always true fcitx-4.2.9.9/src/lib/fcitx-utils/handler-table.c:258:9: style: Condition '!key_struct' is always true [knownConditionTrueFalse] fcitx-4.2.9.9/src/lib/fcitx-utils/handler-table.c:257:18: note: Assignment 'key_struct=(fcitx_handler_table_find_key)(table,keysize,key,false)', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-utils/handler-table.c:258:9: note: Condition '!key_struct' is always true fcitx-4.2.9.9/src/lib/fcitx-utils/handler-table.c:372:9: style: Condition '!key_struct' is always true [knownConditionTrueFalse] fcitx-4.2.9.9/src/lib/fcitx-utils/handler-table.c:371:18: note: Assignment 'key_struct=(fcitx_handler_table_find_key)(table,keysize,key,false)', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-utils/handler-table.c:372:9: note: Condition '!key_struct' is always true fcitx-4.2.9.9/src/lib/fcitx-utils/handler-table.c:97:69: style:inconclusive: Function 'fcitx_handler_key_append' argument 2 names different: declaration 'key' definition 'key_struct'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx-utils/handler-table.h:60:51: note: Function 'fcitx_handler_key_append' argument 2 names different: declaration 'key' definition 'key_struct'. fcitx-4.2.9.9/src/lib/fcitx-utils/handler-table.c:97:69: note: Function 'fcitx_handler_key_append' argument 2 names different: declaration 'key' definition 'key_struct'. fcitx-4.2.9.9/src/lib/fcitx-utils/handler-table.c:129:70: style:inconclusive: Function 'fcitx_handler_key_prepend' argument 2 names different: declaration 'key' definition 'key_struct'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx-utils/handler-table.h:62:52: note: Function 'fcitx_handler_key_prepend' argument 2 names different: declaration 'key' definition 'key_struct'. fcitx-4.2.9.9/src/lib/fcitx-utils/handler-table.c:129:70: note: Function 'fcitx_handler_key_prepend' argument 2 names different: declaration 'key' definition 'key_struct'. fcitx-4.2.9.9/src/lib/fcitx-utils/handler-table.c:152:79: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/handler-table.c:183:22: style: Variable 'obj_struct' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx-utils/handler-table.c:212:47: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/handler-table.c:212:71: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/handler-table.c:220:46: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/handler-table.c:220:70: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/handler-table.c:245:22: style: Variable 'key_struct' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx-utils/handler-table.c:256:22: style: Variable 'key_struct' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx-utils/objpool.h:121:41: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/objpool.h:137:28: portability: 'pool->array' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/objpool.h:137:61: portability: 'pool->array+fcitx_obj_pool_offset(pool,i)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/handler-table.c:80:47: portability: '(void*)(key_struct+1)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/handler-table.c:267:45: portability: 'obj' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/handler-table.c:275:45: portability: 'obj' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fcitx-4.2.9.9/src/lib/fcitx-qt/qtkeytrans.cpp:37:14: style: Variable 'result' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx-qt/qtkeytrans.cpp:43:22: style: Variable 'keyMap' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx-qt/qtkeytrans.cpp:54:21: style: Variable 'result' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx-utils/desktop-parse.c:331:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-utils/desktop-parse.c:339:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-utils/desktop-parse.c:364:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-utils/desktop-parse.c:372:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-utils/desktop-parse.c:664:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable comment [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-utils/msort_r.c:63:17: portability: 'b_a' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/msort_r.c:67:17: portability: 'b_b' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/log.c:84:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-utils/log.c:104:5: warning: Return value of function vasprintf() is not used. [ignoredReturnValue] fcitx-4.2.9.9/src/lib/fcitx-utils/log.c:103:5: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] fcitx-4.2.9.9/src/lib/fcitx-utils/desktop-parse.c:615:15: style: Variable 'value' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx-utils/desktop-parse.c:637:28: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/desktop-parse.c:651:26: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/desktop-parse.c:675:24: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/desktop-parse.c:713:25: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/memory.c:57:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxMemoryPool [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-utils/log.c:135:28: style:inconclusive: Function 'FcitxLogFunc' argument 1 names different: declaration 'level' definition 'e'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx-utils/log.h:79:37: note: Function 'FcitxLogFunc' argument 1 names different: declaration 'level' definition 'e'. fcitx-4.2.9.9/src/lib/fcitx-utils/log.c:135:28: note: Function 'FcitxLogFunc' argument 1 names different: declaration 'level' definition 'e'. fcitx-4.2.9.9/src/lib/fcitx-utils/stringmap.c:36:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-utils/stringmap.c:67:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-utils/stringmap.c:107:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable item [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-utils/utarray.h:370:5: warning: If memory allocation fails, then there is a possible null pointer dereference: to [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx-utils/utarray.h:370:5: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-utils/utarray.h:370:5: note: Assignment 'to=(struct UT_array*)malloc(sizeof(struct UT_array))', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-utils/utarray.h:370:5: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx-utils/stringmap.c:116:16: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx-utils/stringmap.c:112:33: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-utils/stringmap.c:112:20: note: Assignment 'result=(char*)malloc(sizeof(char)*len)', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-utils/stringmap.c:113:13: note: p is assigned 'result' here. fcitx-4.2.9.9/src/lib/fcitx-utils/stringmap.c:116:16: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx-utils/stringmap.c:131:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx-utils/stringmap.c:112:33: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-utils/stringmap.c:112:20: note: Assignment 'result=(char*)malloc(sizeof(char)*len)', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-utils/stringmap.c:131:5: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx-utils/stringmap.c:39:19: style: Variable 'key' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx-utils/stringmap.c:40:19: style: Variable 'value' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx-utils/objpool.c:81:10: warning: Possible null pointer dereference: (int*)(pool->array+offset) [nullPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/objpool.c:76:25: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-utils/objpool.c:76:25: note: Assignment 'pool->array=malloc(pool->alloc)', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-utils/objpool.c:81:10: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx-utils/objpool.c:83:6: warning: Possible null pointer dereference: (int*)(pool->array+offset) [nullPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/objpool.c:76:25: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-utils/objpool.c:76:25: note: Assignment 'pool->array=malloc(pool->alloc)', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-utils/objpool.c:83:6: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx-utils/objpool.c:105:16: style: Local variable 'offset' shadows outer variable [shadowVariable] fcitx-4.2.9.9/src/lib/fcitx-utils/objpool.c:89:12: note: Shadowed declaration fcitx-4.2.9.9/src/lib/fcitx-utils/objpool.c:105:16: note: Shadow variable fcitx-4.2.9.9/src/lib/fcitx-utils/objpool.c:81:29: portability: 'pool->array' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/objpool.c:83:25: portability: 'pool->array' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/objpool.c:94:47: portability: 'pool->array' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/objpool.c:95:29: portability: 'pool->array' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/objpool.c:103:29: portability: 'pool->array' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/objpool.c:111:33: portability: 'pool->array' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/objpool.c:113:29: portability: 'pool->array' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/objpool.c:125:29: portability: 'pool->array' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/objpool.c:127:25: portability: 'pool->array' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fcitx-4.2.9.9/src/lib/fcitx/addon.c:40:1: error: There is an unknown macro here somewhere. Configuration is required. If CONFIG_BINDING_BEGIN is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/lib/fcitx/candidate.h:591:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_REGULAR_MASK [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/candidate.h:597:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_REGULAR_MASK [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/candidate.c:78:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IRV_DO_NOTHING [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/candidate.c:224:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IRV_DO_NOTHING [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/candidate.c:237:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IRV_DO_NOTHING [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/candidate.c:337:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxKeyState_None [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/candidate.c:156:63: style: Parameter 'candList' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx/candidate.c:348:68: style: Parameter 'candList' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx/candidate.c:354:65: style: Parameter 'candList' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx/candidate.c:360:62: style: Parameter 'candList' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx/candidate.c:372:59: style: Parameter 'candList' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx/candidate.c:407:72: style: Parameter 'candList' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx/candidate.c:413:72: style: Parameter 'candList' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx/candidate.c:454:82: style: Parameter 'candList' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/memory.c:78:28: portability: 'result' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/memory.c:90:24: portability: 'result' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/memory.c:92:24: portability: 'result' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fcitx-4.2.9.9/src/lib/fcitx/configfile.c:75:1: error: There is an unknown macro here somewhere. Configuration is required. If CONFIG_BINDING_END is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/lib/fcitx/context.c:59:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/context.c:103:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sym [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/context.c:174:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sym [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/context.c:120:22: style: Variable 'pb' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/im/table/tabledict.c:41:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/im/table/tabledict.c:372:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/im/table/tabledict.c:542:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UTF8_MAX_LENGTH [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/im/table/tabledict.c:582:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UTF8_MAX_LENGTH [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/im/table/tabledict.c:636:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UTF8_MAX_LENGTH [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:163:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:292:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:333:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:342:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:472:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:563:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DATADIR [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/ime.c:175:1: error: There is an unknown macro here somewhere. Configuration is required. If CONFIG_BINDING_BEGIN is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/lib/fcitx/hook.c:281:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sym [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/frontend.c:65:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fcitx_ptr_icd [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/frontend.c:149:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fcitx_ptr_icd [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/frontend.c:174:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Tri_Unknown [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/frontend.c:528:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTLD_NODELETE [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/frontend.c:585:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Tri_Unknown [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/hook.c:314:14: style: Variable 'flag' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx/instance.c:120:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/instance.c:233:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fcitx_ptr_icd [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/instance.c:443:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/instance.c:531:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/instance.c:583:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/instance.c:766:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ti [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/instance.c:776:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ti [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/instance.c:787:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ti [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/instance.c:802:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ti [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/instance.c:819:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_PREEDIT_APPS [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:222:5: warning: Return value of function vasprintf() is not used. [ignoredReturnValue] fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:141:33: style: Expression is always true because 'else if' condition is opposite to previous condition at line 139. [multiCondition] fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:139:28: note: first condition fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:141:33: note: else if condition is opposite to first condition fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:257:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:245:33: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:245:20: note: Assignment 'result=(char*)malloc(sizeof(char)*len)', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:257:5: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:300:16: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:296:33: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:296:20: note: Assignment 'result=(char*)malloc(sizeof(char)*len)', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:297:13: note: p is assigned 'result' here. fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:300:16: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:305:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:296:33: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:296:20: note: Assignment 'result=(char*)malloc(sizeof(char)*len)', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:305:5: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:411:12: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:410:26: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:410:26: note: Assignment 'result=malloc(len+1)', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:411:12: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:412:5: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:410:26: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:410:26: note: Assignment 'result=malloc(len+1)', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:412:5: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:817:6: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:604:5: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:604:5: note: Assignment 'result=malloc(__total_size)', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:604:5: note: Calling function 'fcitx_utils_cat_str', 1st argument 'result' value is 0 fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:811:18: note: Assuming condition is false fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:817:6: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:879:12: warning: If memory allocation fails, then there is a possible null pointer dereference: res [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:877:21: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:877:21: note: Assignment 'res=malloc(len+1)', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:879:12: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:880:5: warning: If memory allocation fails, then there is a possible null pointer dereference: res [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:877:21: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:877:21: note: Assignment 'res=malloc(len+1)', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:880:5: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx/module.c:37:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fcitx_ptr_icd [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/module.c:59:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTLD_NODELETE [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/module.c:103:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/module.c:148:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:651:62: style:inconclusive: Function 'fcitx_utils_launch_configure_tool_for_addon' argument 1 names different: declaration 'addon' definition 'imaddon'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx-utils/utils.h:465:66: note: Function 'fcitx_utils_launch_configure_tool_for_addon' argument 1 names different: declaration 'addon' definition 'imaddon'. fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:651:62: note: Function 'fcitx_utils_launch_configure_tool_for_addon' argument 1 names different: declaration 'addon' definition 'imaddon'. fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:211:10: style: Variable 'delm_s' can be declared as const array [constVariable] fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:318:10: style: Variable 'delim_s' can be declared as const array [constVariable] fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:380:61: style: Parameter 'sseta' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx-utils/utils.c:380:88: style: Parameter 'ssetb' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx/frontend.c:50:34: warning: If memory allocation fails, then there is a possible null pointer dereference: ic2 [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx/frontend.c:167:21: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx/frontend.c:167:21: note: Assignment 'rec=malloc(sizeof(struct FcitxInputContext2))', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx/frontend.c:176:25: note: Calling function 'NewICData', 2nd argument 'rec' value is 0 fcitx-4.2.9.9/src/lib/fcitx/frontend.c:66:26: note: Calling function 'FillICData', 2nd argument 'ic' value is 0 fcitx-4.2.9.9/src/lib/fcitx/frontend.c:49:31: note: Assignment 'ic2=(struct FcitxInputContext2*)ic', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx/frontend.c:50:34: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx/frontend.c:65:17: warning: If memory allocation fails, then there is a possible null pointer dereference: ic2 [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx/frontend.c:167:21: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx/frontend.c:167:21: note: Assignment 'rec=malloc(sizeof(struct FcitxInputContext2))', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx/frontend.c:176:25: note: Calling function 'NewICData', 2nd argument 'rec' value is 0 fcitx-4.2.9.9/src/lib/fcitx/frontend.c:64:31: note: Assignment 'ic2=(struct FcitxInputContext2*)ic', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx/frontend.c:65:17: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx/frontend.c:169:12: warning: If memory allocation fails, then there is a possible null pointer dereference: rec [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx/frontend.c:167:21: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx/frontend.c:167:21: note: Assignment 'rec=malloc(sizeof(struct FcitxInputContext2))', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx/frontend.c:169:12: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx/frontend.c:170:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rec [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx/frontend.c:167:21: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx/frontend.c:167:21: note: Assignment 'rec=malloc(sizeof(struct FcitxInputContext2))', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx/frontend.c:170:5: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx/frontend.c:171:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rec [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx/frontend.c:167:21: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx/frontend.c:167:21: note: Assignment 'rec=malloc(sizeof(struct FcitxInputContext2))', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx/frontend.c:171:5: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx/frontend.c:172:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rec [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx/frontend.c:167:21: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx/frontend.c:167:21: note: Assignment 'rec=malloc(sizeof(struct FcitxInputContext2))', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx/frontend.c:172:5: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx/frontend.c:173:6: warning: If memory allocation fails, then there is a possible null pointer dereference: (struct FcitxInputContext2*)rec [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx/frontend.c:167:21: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx/frontend.c:167:21: note: Assignment 'rec=malloc(sizeof(struct FcitxInputContext2))', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx/frontend.c:173:6: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx/frontend.c:174:6: warning: If memory allocation fails, then there is a possible null pointer dereference: (struct FcitxInputContext2*)rec [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx/frontend.c:167:21: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx/frontend.c:167:21: note: Assignment 'rec=malloc(sizeof(struct FcitxInputContext2))', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx/frontend.c:174:6: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx/instance.c:504:23: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] fcitx-4.2.9.9/src/lib/fcitx/instance.c:501:20: note: outer condition: pfrontend!=NULL fcitx-4.2.9.9/src/lib/fcitx/instance.c:504:23: note: opposite inner condition: pfrontend==NULL fcitx-4.2.9.9/src/lib/fcitx/instance.c:514:21: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] fcitx-4.2.9.9/src/lib/fcitx/instance.c:512:18: note: outer condition: pmodule!=NULL fcitx-4.2.9.9/src/lib/fcitx/instance.c:514:21: note: opposite inner condition: pmodule==NULL fcitx-4.2.9.9/src/lib/fcitx/instance.c:831:16: style: Condition 're==NULL' is always true [knownConditionTrueFalse] fcitx-4.2.9.9/src/lib/fcitx/instance.c:822:19: note: Assignment 're=NULL', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx/instance.c:831:16: note: Condition 're==NULL' is always true fcitx-4.2.9.9/src/lib/fcitx/instance.c:833:21: warning: If memory allocation fails, then there is a possible null pointer dereference: re [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx/instance.c:832:24: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx/instance.c:832:24: note: Assignment 're=malloc(sizeof(regex_t))', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx/instance.c:833:21: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx/instance.c:56:1: style:inconclusive: Function 'FcitxInstanceGetAddons' argument 1 names different: declaration 'instance' definition 'object'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx/instance.h:191:53: note: Function 'FcitxInstanceGetAddons' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:56:1: note: Function 'FcitxInstanceGetAddons' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:57:1: style:inconclusive: Function 'FcitxInstanceGetUIMenus' argument 1 names different: declaration 'instance' definition 'object'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx/instance.h:193:54: note: Function 'FcitxInstanceGetUIMenus' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:57:1: note: Function 'FcitxInstanceGetUIMenus' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:58:1: style:inconclusive: Function 'FcitxInstanceGetUIStats' argument 1 names different: declaration 'instance' definition 'object'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx/instance.h:195:54: note: Function 'FcitxInstanceGetUIStats' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:58:1: note: Function 'FcitxInstanceGetUIStats' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:59:1: style:inconclusive: Function 'FcitxInstanceGetUIComplexStats' argument 1 names different: declaration 'instance' definition 'object'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx/instance.h:197:61: note: Function 'FcitxInstanceGetUIComplexStats' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:59:1: note: Function 'FcitxInstanceGetUIComplexStats' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:60:1: style:inconclusive: Function 'FcitxInstanceGetIMEs' argument 1 names different: declaration 'instance' definition 'object'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx/instance.h:199:51: note: Function 'FcitxInstanceGetIMEs' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:60:1: note: Function 'FcitxInstanceGetIMEs' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:61:1: style:inconclusive: Function 'FcitxInstanceGetAvailIMEs' argument 1 names different: declaration 'instance' definition 'object'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx/instance.h:201:56: note: Function 'FcitxInstanceGetAvailIMEs' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:61:1: note: Function 'FcitxInstanceGetAvailIMEs' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:62:1: style:inconclusive: Function 'FcitxInstanceGetReadFDSet' argument 1 names different: declaration 'instance' definition 'object'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx/instance.h:203:54: note: Function 'FcitxInstanceGetReadFDSet' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:62:1: note: Function 'FcitxInstanceGetReadFDSet' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:63:1: style:inconclusive: Function 'FcitxInstanceGetWriteFDSet' argument 1 names different: declaration 'instance' definition 'object'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx/instance.h:205:55: note: Function 'FcitxInstanceGetWriteFDSet' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:63:1: note: Function 'FcitxInstanceGetWriteFDSet' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:64:1: style:inconclusive: Function 'FcitxInstanceGetExceptFDSet' argument 1 names different: declaration 'instance' definition 'object'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx/instance.h:207:56: note: Function 'FcitxInstanceGetExceptFDSet' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:64:1: note: Function 'FcitxInstanceGetExceptFDSet' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:65:1: style:inconclusive: Function 'FcitxInstanceGetCurrentUI' argument 1 names different: declaration 'instance' definition 'object'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx/instance.h:209:66: note: Function 'FcitxInstanceGetCurrentUI' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:65:1: note: Function 'FcitxInstanceGetCurrentUI' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:66:1: style:inconclusive: Function 'FcitxInstanceGetMaxFD' argument 1 names different: declaration 'instance' definition 'object'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx/instance.h:211:46: note: Function 'FcitxInstanceGetMaxFD' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:66:1: note: Function 'FcitxInstanceGetMaxFD' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:67:1: style:inconclusive: Function 'FcitxInstanceSetMaxFD' argument 1 names different: declaration 'instance' definition 'object'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx/instance.h:213:47: note: Function 'FcitxInstanceSetMaxFD' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:67:1: note: Function 'FcitxInstanceSetMaxFD' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:67:1: style:inconclusive: Function 'FcitxInstanceSetMaxFD' argument 2 names different: declaration 'maxfd' definition 'value'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx/instance.h:213:61: note: Function 'FcitxInstanceSetMaxFD' argument 2 names different: declaration 'maxfd' definition 'value'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:67:1: note: Function 'FcitxInstanceSetMaxFD' argument 2 names different: declaration 'maxfd' definition 'value'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:68:1: style:inconclusive: Function 'FcitxInstanceGetGlobalConfig' argument 1 names different: declaration 'instance' definition 'object'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx/instance.h:215:68: note: Function 'FcitxInstanceGetGlobalConfig' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:68:1: note: Function 'FcitxInstanceGetGlobalConfig' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:69:1: style:inconclusive: Function 'FcitxInstanceGetProfile' argument 1 names different: declaration 'instance' definition 'object'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx/instance.h:217:58: note: Function 'FcitxInstanceGetProfile' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:69:1: note: Function 'FcitxInstanceGetProfile' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:70:1: style:inconclusive: Function 'FcitxInstanceGetInputState' argument 1 names different: declaration 'instance' definition 'object'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx/instance.h:219:64: note: Function 'FcitxInstanceGetInputState' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:70:1: note: Function 'FcitxInstanceGetInputState' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:71:1: style:inconclusive: Function 'FcitxInstanceGetIsDestroying' argument 1 names different: declaration 'instance' definition 'object'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx/instance.h:158:57: note: Function 'FcitxInstanceGetIsDestroying' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:71:1: note: Function 'FcitxInstanceGetIsDestroying' argument 1 names different: declaration 'instance' definition 'object'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:535:38: style:inconclusive: Function 'FcitxInstanceLock' argument 1 names different: declaration 'instance' definition 'inst'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx/instance.h:132:42: note: Function 'FcitxInstanceLock' argument 1 names different: declaration 'instance' definition 'inst'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:535:38: note: Function 'FcitxInstanceLock' argument 1 names different: declaration 'instance' definition 'inst'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:543:40: style:inconclusive: Function 'FcitxInstanceUnlock' argument 1 names different: declaration 'instance' definition 'inst'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx/instance.h:140:44: note: Function 'FcitxInstanceUnlock' argument 1 names different: declaration 'instance' definition 'inst'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:543:40: note: Function 'FcitxInstanceUnlock' argument 1 names different: declaration 'instance' definition 'inst'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:707:69: style:inconclusive: Function 'FcitxInstanceSetDelayedIM' argument 2 names different: declaration 'im' definition 'delayedIM'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx/instance-internal.h:174:69: note: Function 'FcitxInstanceSetDelayedIM' argument 2 names different: declaration 'im' definition 'delayedIM'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:707:69: note: Function 'FcitxInstanceSetDelayedIM' argument 2 names different: declaration 'im' definition 'delayedIM'. fcitx-4.2.9.9/src/lib/fcitx/instance.c:506:24: style: Local variable 'frontend' shadows outer variable [shadowVariable] fcitx-4.2.9.9/src/lib/fcitx/instance.c:475:20: note: Shadowed declaration fcitx-4.2.9.9/src/lib/fcitx/instance.c:506:24: note: Shadow variable fcitx-4.2.9.9/src/lib/fcitx/instance.c:65:1: style: Parameter 'object' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx/instance.c:66:1: style: Parameter 'object' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx/instance.c:68:1: style: Parameter 'object' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx/instance.c:69:1: style: Parameter 'object' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx/instance.c:70:1: style: Parameter 'object' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx/instance.c:71:1: style: Parameter 'object' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx/instance.c:566:64: style: Parameter 'argv' can be declared as const array [constParameter] fcitx-4.2.9.9/src/lib/fcitx/instance.c:568:19: style: Variable 'longOptions' can be declared as const array [constVariable] fcitx-4.2.9.9/src/lib/fcitx/instance.c:664:61: style: Parameter 'instance' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx/instance.c:670:57: style: Parameter 'instance' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx/instance.c:733:50: style: Parameter 'instance' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx/instance.c:813:44: style: Parameter 'instance' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx/profile.c:36:1: error: There is an unknown macro here somewhere. Configuration is required. If CONFIG_BINDING_BEGIN_WITH_ARG is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/module/autoeng/AutoEng.c:169:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_USER_INPUT [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/autoeng/AutoEng.c:229:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IRV_DISPLAY_MESSAGE [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/autoeng/AutoEng.c:316:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IRV_TO_PROCESS [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/autoeng/AutoEng.c:415:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IRV_DISPLAY_MESSAGE [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/autoeng/AutoEng.c:428:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTEXT_DISABLE_AUTOENG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/autoeng/AutoEng.c:475:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTEXT_DISABLE_AUTOENG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/autoeng/AutoEng.c:525:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/autoeng/AutoEng.c:557:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WARNING [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/autoeng/AutoEng.c:604:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IRV_DO_NOTHING [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/autoeng/AutoEng.c:639:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIGIT_STR_CHOOSE [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/autoeng/AutoEng.c:660:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_USER_INPUT [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/chttrans/chttrans-opencc.c:25:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENCC_LIBRARY_FILENAME [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/chttrans/chttrans.c:481:1: error: There is an unknown macro here somewhere. Configuration is required. If CONFIG_DESC_DEFINE is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/module/clipboard/clipboard.c:51:1: error: There is an unknown macro here somewhere. Configuration is required. If DECLARE_ADDFUNCTIONS is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/module/dbus/dbuslauncher.c:67:16: style: Variable 'pid' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/module/dbus/dbuslauncher.c:78:34: style: Parameter 'prop' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/module/dbus/dbusremote.c:128:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/dbus/dbussocket.c:60:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_WATCH_READABLE [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/dbus/dbussocket.c:86:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_WATCH_READABLE [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/dbus/dbussocket.c:105:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_DISPATCH_DATA_REMAINS [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/ui.c:165:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/ui.c:189:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTLD_NODELETE [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/ui.c:317:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UTF8_MAX_LENGTH [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/ui.c:329:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UTF8_MAX_LENGTH [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/ui.c:339:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UTF8_MAX_LENGTH [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/ui.c:346:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UTF8_MAX_LENGTH [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/ui.c:438:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/ui.c:608:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable menup [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx/ui.c:854:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxKeyState_Super [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/dbus/dbussocket.c:79:33: style: Condition '!watches->listModified' is always true [knownConditionTrueFalse] fcitx-4.2.9.9/src/module/dbus/dbussocket.c:77:33: note: Assignment 'watches->listModified=0', assigned value is 0 fcitx-4.2.9.9/src/module/dbus/dbussocket.c:79:33: note: Condition '!watches->listModified' is always true fcitx-4.2.9.9/src/module/dbus/dbussocket.c:25:33: style: Parameter 'watch' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/module/dbus/dbussocket.c:72:70: style: Parameter 'rfds' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/module/dbus/dbussocket.c:72:84: style: Parameter 'wfds' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/module/dbus/dbussocket.c:72:98: style: Parameter 'efds' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/module/dbus/dbusremote.c:34:11: style: Variable 'env' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/module/dbus/dbusremote.c:56:12: style: Variable 'ppid' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/module/dbus/watcher.c:84:24: error: There is an unknown macro here somewhere. Configuration is required. If DBUS_SERVICE_DBUS is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/module/dbus/dbusstuff.c:55:1: error: There is an unknown macro here somewhere. Configuration is required. If DECLARE_ADDFUNCTIONS is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/module/dbusstuff/property.h:41:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_ERROR_UNKNOWN_METHOD [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/dbusstuff/property.c:38:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_TYPE_STRING [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/dbusstuff/property.c:80:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_TYPE_STRING [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/dbusstuff/property.c:124:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_TYPE_STRING [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/freedesktop-notify/freedesktop-notify.c:60:1: error: There is an unknown macro here somewhere. Configuration is required. If DECLARE_ADDFUNCTIONS is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/module/fullwidthchar/fullwidthchar.c:138:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IRV_TO_PROCESS [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/fullwidthchar/fullwidthchar.c:209:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IRV_DO_NOTHING [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/lua/lua.c:34:1: error: There is an unknown macro here somewhere. Configuration is required. If DECLARE_ADDFUNCTIONS is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/module/imselector/imselector.c:81:1: error: There is an unknown macro here somewhere. Configuration is required. If CONFIG_BINDING_BEGIN is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/module/fullwidthchar/fullwidthchar.c:137:19: style: Variable 'profile' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/module/fullwidthchar/fullwidthchar.c:141:20: style: Variable 'status' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/module/fullwidthchar/fullwidthchar.c:154:19: style: Variable 'profile' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/module/fullwidthchar/fullwidthchar.c:155:20: style: Variable 'status' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/module/fullwidthchar/fullwidthchar.c:199:19: style: Variable 'profile' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/module/fullwidthchar/fullwidthchar.c:206:20: style: Variable 'status' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/module/notificationitem/dbusmenu.c:53:26: error: There is an unknown macro here somewhere. Configuration is required. If DBUS_INTERFACE_INTROSPECTABLE is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/module/notificationitem/notificationitem.c:176:1: error: There is an unknown macro here somewhere. Configuration is required. If DECLARE_ADDFUNCTIONS is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/module/lua/luawrap.c:161:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/lua/luawrap.c:169:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WARNING [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/lua/luawrap.c:197:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WARNING [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/lua/luawrap.c:310:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trigger [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/lua/luawrap.c:327:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/lua/luawrap.c:380:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WARNING [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/lua/luawrap.c:414:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/lua/luawrap.c:429:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WARNING [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/lua/luawrap.c:487:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WARNING [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/lua/luawrap.c:545:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/lua/luawrap.c:552:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/lua/luawrap.c:577:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/lua/luawrap.c:589:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/lua/luawrap.c:632:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WARNING [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/pinyin-enhance/pinyin-enhance-map.c:48:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/pinyin-enhance/pinyin-enhance-map.c:67:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/pinyin-enhance/pinyin-enhance-internal.h:157:1: error: There is an unknown macro here somewhere. Configuration is required. If DEFINE_GET_ADDON is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/module/pinyin-enhance/pinyin-enhance-map.h:35:36: portability: '(void*)(intptr_t)word' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fcitx-4.2.9.9/src/module/pinyin-enhance/pinyin-enhance-map.h:53:23: portability: '(void*)map' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fcitx-4.2.9.9/src/module/lua/luawrap.c:449:5: warning: If memory allocation fails, then there is a possible null pointer dereference: command [nullPointerOutOfMemory] fcitx-4.2.9.9/src/module/lua/luawrap.c:448:21: note: Assuming allocation function fails fcitx-4.2.9.9/src/module/lua/luawrap.c:448:21: note: Assignment 'command=calloc(sizeof(*command),1)', assigned value is 0 fcitx-4.2.9.9/src/module/lua/luawrap.c:449:5: note: Null pointer dereference fcitx-4.2.9.9/src/module/lua/luawrap.c:323:41: style:inconclusive: Function 'LoadExtension' argument 1 names different: declaration 'luamodule' definition 'module'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/module/lua/luawrap.h:45:41: note: Function 'LoadExtension' argument 1 names different: declaration 'luamodule' definition 'module'. fcitx-4.2.9.9/src/module/lua/luawrap.c:323:41: note: Function 'LoadExtension' argument 1 names different: declaration 'luamodule' definition 'module'. fcitx-4.2.9.9/src/module/lua/luawrap.c:376:39: style:inconclusive: Function 'UnloadExtensionByName' argument 1 names different: declaration 'luamodule' definition 'module'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/module/lua/luawrap.h:48:39: note: Function 'UnloadExtensionByName' argument 1 names different: declaration 'luamodule' definition 'module'. fcitx-4.2.9.9/src/module/lua/luawrap.c:376:39: note: Function 'UnloadExtensionByName' argument 1 names different: declaration 'luamodule' definition 'module'. fcitx-4.2.9.9/src/module/lua/luawrap.c:484:45: style:inconclusive: Function 'RegisterInputTrigger' argument 2 names different: declaration 'input_string' definition 'input'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/module/lua/luawrap.c:80:61: note: Function 'RegisterInputTrigger' argument 2 names different: declaration 'input_string' definition 'input'. fcitx-4.2.9.9/src/module/lua/luawrap.c:484:45: note: Function 'RegisterInputTrigger' argument 2 names different: declaration 'input_string' definition 'input'. fcitx-4.2.9.9/src/module/lua/luawrap.c:740:36: style:inconclusive: Function 'InputTrigger' argument 1 names different: declaration 'luamodule' definition 'module'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/module/lua/luawrap.h:53:36: note: Function 'InputTrigger' argument 1 names different: declaration 'luamodule' definition 'module'. fcitx-4.2.9.9/src/module/lua/luawrap.c:740:36: note: Function 'InputTrigger' argument 1 names different: declaration 'luamodule' definition 'module'. fcitx-4.2.9.9/src/module/lua/luawrap.c:140:14: style: Variable 'im' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/module/lua/luawrap.c:252:63: style: Parameter 'extension' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/module/lua/luawrap.c:257:23: style: Variable 'f' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/module/lua/luawrap.c:278:63: style: Parameter 'extension' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/module/lua/luawrap.c:293:69: style: Parameter 'extension' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/module/lua/luawrap.c:432:19: style: Variable 'extension' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/module/lua/luawrap.c:490:19: style: Variable 'extension' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx/ui.c:109:49: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx/ui.c:115:54: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx/ui.c:1077:50: style: Parameter 'instance' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx/ui.c:1077:80: style: Parameter 'addon' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx/ui.c:1102:20: style: Variable 'status' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx/ui.c:1104:31: style: Variable 'compstatus' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/module/punc/punc.c:91:1: error: There is an unknown macro here somewhere. Configuration is required. If DECLARE_ADDFUNCTIONS is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/module/quickphrase/quickphrase.c:144:1: error: There is an unknown macro here somewhere. Configuration is required. If CONFIG_BINDING_BEGIN is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/module/remote/remote.c:70:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/remote/remote.c:102:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/remote/remote.c:127:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_un [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/remote/remote.c:108:9: error: Resource leak: fd [resourceLeak] fcitx-4.2.9.9/src/module/remote/remote.c:115:9: error: Resource leak: fd [resourceLeak] fcitx-4.2.9.9/src/module/remote/remote.c:147:38: style:inconclusive: Function 'RemoteProcessEvent' argument 1 names different: declaration 'arg' definition 'p'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/module/remote/remote.c:43:38: note: Function 'RemoteProcessEvent' argument 1 names different: declaration 'arg' definition 'p'. fcitx-4.2.9.9/src/module/remote/remote.c:147:38: note: Function 'RemoteProcessEvent' argument 1 names different: declaration 'arg' definition 'p'. fcitx-4.2.9.9/src/module/spell/dict/comp_spell_dict.c:85:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/spell/dict/comp_spell_dict.c:49:31: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] fcitx-4.2.9.9/src/module/spell/dict/comp_spell_dict.c:48:13: note: Assuming allocation function fails fcitx-4.2.9.9/src/module/spell/dict/comp_spell_dict.c:48:13: note: Assignment 'p=mmap(NULL,istat_buf.st_size+1,PROT_READ,MAP_PRIVATE,ifd,0)', assigned value is 0 fcitx-4.2.9.9/src/module/spell/dict/comp_spell_dict.c:49:31: note: Null pointer addition fcitx-4.2.9.9/src/module/spell/dict/comp_spell_dict.c:78:22: style: Parameter 'argv' can be declared as const array [constParameter] fcitx-4.2.9.9/src/module/spell/spell-custom-dict.c:201:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/spell/spell-enchant.c:60:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENCHANT_LIBRARY_FILENAME [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/spell/spell-presage.c:59:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRESAGE_LIBRARY_FILENAME [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/spell/spell.c:52:1: error: There is an unknown macro here somewhere. Configuration is required. If DECLARE_ADDFUNCTIONS is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/module/spell/spell-presage.c:97:17: style: Variable 'spell' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/module/unicode/unicode.c:57:1: error: There is an unknown macro here somewhere. Configuration is required. If CONFIG_BINDING_BEGIN is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/im/table/tabledict.c:163:17: error: Common realloc mistake: 'strHZ' nulled but not freed upon failure [memleakOnRealloc] fcitx-4.2.9.9/src/module/spell/spell-custom.c:261:30: style: Parameter 'spell' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/module/x11/x11selection.c:121:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FCITX_OBJECT_POOL_INVALID_ID [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/x11/x11selection.c:150:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FCITX_OBJECT_POOL_INVALID_ID [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/x11/x11selection.c:194:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/x11/x11selection.c:246:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_str [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/x11/x11selection.c:271:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FCITX_OBJECT_POOL_INVALID_ID [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/x11/x11selection.c:293:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/x11/x11selection.c:328:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Atom [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/im/table/tabledict.c:623:13: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] fcitx-4.2.9.9/src/module/unicode/charselectdata.c:351:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/unicode/charselectdata.c:383:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fcitx_int32_icd [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/unicode/charselectdata.c:459:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/unicode/charselectdata.c:482:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/unicode/charselectdata.c:541:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fcitx_int32_icd [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/unicode/charselectdata.c:646:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fcitx_int32_icd [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/unicode/charselectdata.c:653:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/unicode/charselectdata.c:674:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/unicode/charselectdata.c:770:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fcitx_ptr_icd [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/x11/x11stuff.c:61:1: error: There is an unknown macro here somewhere. Configuration is required. If DECLARE_ADDFUNCTIONS is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/module/x11/x11selection.c:97:36: style: Parameter 'x11priv' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/module/x11/x11selection.c:98:46: style: Parameter 'notify' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/module/x11/x11selection.c:111:15: style: Parameter 'x11priv' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/module/x11/x11selection.c:111:51: style: Parameter 'owner' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/module/x11/x11selection.c:112:42: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/module/x11/x11selection.c:127:15: style: Parameter 'x11priv' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/module/x11/x11selection.c:127:46: style: Parameter 'owner' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/module/x11/x11selection.c:128:50: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/module/x11/x11selection.c:155:36: style: Parameter 'x11priv' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/im/table/tabledict.c:20:16: style: Variable 'tableDict' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/im/table/tabledict.c:845:21: style: Variable 'p' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/im/table/tabledict.c:867:21: style: Variable 'p' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/im/table/tabledict.c:884:21: style: Variable 'p' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/im/table/tabledict.c:907:20: style: Variable 'utf' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/module/x11/xerrorhandler.c:89:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BadMatch [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/im/table/tabledict.c:908:19: style: Variable 'res' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:652:8: warning: Either the condition 'len>sizeof(buf)' is redundant or the array 'buf[40]' is accessed at index 40, which is out of bounds. [arrayIndexOutOfBoundsCond] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:647:13: note: Assuming that condition 'len>sizeof(buf)' is not redundant fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:652:8: note: Array index out of bounds fcitx-4.2.9.9/src/module/xkb/xkb.c:59:1: error: There is an unknown macro here somewhere. Configuration is required. If DECLARE_ADDFUNCTIONS is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:92:9: warning: If memory allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:88:23: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:88:23: note: Assignment 'fp=malloc(sizeof(FILE*)*len)', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:92:9: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:98:13: warning: If memory allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:88:23: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:88:23: note: Assignment 'fp=malloc(sizeof(FILE*)*len)', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:98:13: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:113:39: warning: If memory allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:88:23: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:88:23: note: Assignment 'fp=malloc(sizeof(FILE*)*len)', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:95:61: note: Calling function 'FcitxConfigParseMultiConfigFileFp', 1st argument 'fp' value is 0 fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:113:39: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:241:37: warning:inconclusive: Possible null pointer dereference: option [nullPointer] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:237:64: note: Assignment 'option=NULL', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:241:37: note: Null pointer dereference fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:1075:37: warning:inconclusive: Possible null pointer dereference: option [nullPointer] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:1062:41: note: Assignment 'option=NULL', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:1067:49: note: Calling function 'FcitxConfigSyncValue', 3rd argument 'option' value is 0 fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:1075:37: note: Null pointer dereference fcitx-4.2.9.9/src/module/xkb/rules.c:86:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmlSAXHandler [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/xkb/rules.c:147:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fcitx_ptr_icd [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:992:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] fcitx-4.2.9.9/src/im/table/tabledict.c:497:23: style: Variable 'error' is assigned a value that is never used. [unreadVariable] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:71:82: style:inconclusive: Function 'FcitxConfigParseConfigFile' argument 2 names different: declaration 'cfdesc' definition 'fileDesc'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.h:467:86: note: Function 'FcitxConfigParseConfigFile' argument 2 names different: declaration 'cfdesc' definition 'fileDesc'. fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:71:82: note: Function 'FcitxConfigParseConfigFile' argument 2 names different: declaration 'cfdesc' definition 'fileDesc'. fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:86:96: style:inconclusive: Function 'FcitxConfigParseMultiConfigFile' argument 3 names different: declaration 'cfdesc' definition 'fileDesc'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.h:481:101: note: Function 'FcitxConfigParseMultiConfigFile' argument 3 names different: declaration 'cfdesc' definition 'fileDesc'. fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:86:96: note: Function 'FcitxConfigParseMultiConfigFile' argument 3 names different: declaration 'cfdesc' definition 'fileDesc'. fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:149:53: style:inconclusive: Function 'FcitxConfigCheckConfigFile' argument 1 names different: declaration 'configFile' definition 'cfile'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.h:511:57: note: Function 'FcitxConfigCheckConfigFile' argument 1 names different: declaration 'configFile' definition 'cfile'. fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:149:53: note: Function 'FcitxConfigCheckConfigFile' argument 1 names different: declaration 'configFile' definition 'cfile'. fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:149:81: style:inconclusive: Function 'FcitxConfigCheckConfigFile' argument 2 names different: declaration 'fileDesc' definition 'cfdesc'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.h:511:90: note: Function 'FcitxConfigCheckConfigFile' argument 2 names different: declaration 'fileDesc' definition 'cfdesc'. fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:149:81: note: Function 'FcitxConfigCheckConfigFile' argument 2 names different: declaration 'fileDesc' definition 'cfdesc'. fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:864:67: style:inconclusive: Function 'FcitxConfigParseIniFp' argument 2 names different: declaration 'reuse' definition 'cfile'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.h:547:71: note: Function 'FcitxConfigParseIniFp' argument 2 names different: declaration 'reuse' definition 'cfile'. fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:864:67: note: Function 'FcitxConfigParseIniFp' argument 2 names different: declaration 'reuse' definition 'cfile'. fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:1154:67: style:inconclusive: Function 'FcitxConfigSaveConfigFileFp' argument 2 names different: declaration 'cfile' definition 'config'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.h:616:71: note: Function 'FcitxConfigSaveConfigFileFp' argument 2 names different: declaration 'cfile' definition 'config'. fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:1154:67: note: Function 'FcitxConfigSaveConfigFileFp' argument 2 names different: declaration 'cfile' definition 'config'. fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:1281:86: style:inconclusive: Function 'FcitxConfigGetBindValue' argument 2 names different: declaration 'group' definition 'groupName'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.h:637:90: note: Function 'FcitxConfigGetBindValue' argument 2 names different: declaration 'group' definition 'groupName'. fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:1281:86: note: Function 'FcitxConfigGetBindValue' argument 2 names different: declaration 'group' definition 'groupName'. fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:1281:109: style:inconclusive: Function 'FcitxConfigGetBindValue' argument 3 names different: declaration 'option' definition 'optionName'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.h:637:109: note: Function 'FcitxConfigGetBindValue' argument 3 names different: declaration 'option' definition 'optionName'. fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:1281:109: note: Function 'FcitxConfigGetBindValue' argument 3 names different: declaration 'option' definition 'optionName'. fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:71:51: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:200:59: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:245:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:373:39: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:637:11: style: Variable 'locale' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:639:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:849:44: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:1005:41: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:1231:36: style: Variable 'codesc' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/lib/fcitx-config/fcitx-config.c:868:17: style: Variable 'lineLen' is assigned a value that is never used. [unreadVariable] fcitx-4.2.9.9/src/ui/cairostuff/cairostuff.c:64:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_RGB24 [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/xkbdbus/xkbdbus.c:39:1: error: There is an unknown macro here somewhere. Configuration is required. If DECLARE_ADDFUNCTIONS is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/ui/cairostuff/font.c:46:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/vk/vk.c:164:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxDummyReleaseInputHook [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/vk/vk.c:268:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IRV_DO_NOTHING [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/vk/vk.c:298:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InputOutput [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/vk/vk.c:707:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IRV_TO_PROCESS [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/vk/vk.c:749:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IS_CLOSED [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/xkb/rules.c:199:19: style: Local variable 'languages' shadows outer variable [shadowVariable] fcitx-4.2.9.9/src/module/xkb/rules.c:190:15: note: Shadowed declaration fcitx-4.2.9.9/src/module/xkb/rules.c:199:19: note: Shadow variable fcitx-4.2.9.9/src/ui/classic/InputWindow.c:64:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FCITX_WINDOW_POPUP_MENU [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/classic/InputWindow.c:103:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLH_Vertical [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/classic/InputWindow.c:345:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IRV_DISPLAY_CANDWORDS [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/classic/InputWindow.c:444:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_OVER [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/module/unicode/charselectdata.c:423:13: style: Condition 'firstSubString' is always true [knownConditionTrueFalse] fcitx-4.2.9.9/src/module/unicode/charselectdata.c:420:26: note: Assignment 'firstSubString=1', assigned value is 1 fcitx-4.2.9.9/src/module/unicode/charselectdata.c:423:13: note: Condition 'firstSubString' is always true fcitx-4.2.9.9/src/module/unicode/charselectdata.c:290:12: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] fcitx-4.2.9.9/src/module/unicode/charselectdata.c:286:21: note: Assuming allocation function fails fcitx-4.2.9.9/src/module/unicode/charselectdata.c:286:21: note: Assignment 's=strdup(src)', assigned value is 0 fcitx-4.2.9.9/src/module/unicode/charselectdata.c:290:12: note: Null pointer dereference fcitx-4.2.9.9/src/module/unicode/charselectdata.c:141:52: style: Parameter 'charselect' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/module/unicode/charselectdata.c:179:55: style: Parameter 'charselect' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/module/unicode/charselectdata.c:218:42: style: Parameter 'charselect' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/module/unicode/charselectdata.c:271:58: portability: 'charselect->dataFile' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fcitx-4.2.9.9/src/module/unicode/charselectdata.c:271:67: portability: 'charselect->dataFile+offset' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fcitx-4.2.9.9/src/ui/classic/MenuWindow.c:68:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FCITX_WINDOW_MENU [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/classic/MenuWindow.c:233:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IsUnmapped [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/classic/MenuWindow.c:275:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/classic/MenuWindow.c:316:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isselect [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/classic/MenuWindow.c:338:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isselect [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/classic/MenuWindow.c:360:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isselect [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/classic/MenuWindow.c:387:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/classic/MenuWindow.c:409:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isselect [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/classic/MenuWindow.c:511:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/classic/TrayWindow.c:54:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/classic/TrayWindow.c:120:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/classic/TrayWindow.c:143:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IS_ACTIVE [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/classic/TrayWindow.c:229:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/classic/XlibWindow.c:31:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/classic/XlibWindow.c:113:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_SOURCE [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/classic/XlibWindow.c:267:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_OVER [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/classic/XlibWindow.c:314:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/classic/TrayWindow.c:159:20: style: Condition 'image' is always true [knownConditionTrueFalse] fcitx-4.2.9.9/src/ui/classic/TrayWindow.c:197:18: style: Variable 'vi' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/ui/classic/MainWindow.c:67:147: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IS_ACTIVE [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/classic/MainWindow.c:84:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FCITX_WINDOW_DOCK [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/classic/MainWindow.c:181:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IS_ACTIVE [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/classic/MainWindow.c:308:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IS_ACTIVE [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/classic/classicui.c:374:1: error: There is an unknown macro here somewhere. Configuration is required. If CONFIG_DESC_DEFINE is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/ui/classic/classicuiconfig.c:6:1: error: There is an unknown macro here somewhere. Configuration is required. If CONFIG_BINDING_BEGIN is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/ui/classic/MenuWindow.c:401:33: style:inconclusive: Function 'ReverseColor' argument 1 names different: declaration 'Menu' definition 'menu'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/ui/classic/MenuWindow.c:41:40: note: Function 'ReverseColor' argument 1 names different: declaration 'Menu' definition 'menu'. fcitx-4.2.9.9/src/ui/classic/MenuWindow.c:401:33: note: Function 'ReverseColor' argument 1 names different: declaration 'Menu' definition 'menu'. fcitx-4.2.9.9/src/ui/classic/MenuWindow.c:280:13: style: Local variable 'width' shadows outer argument [shadowArgument] fcitx-4.2.9.9/src/ui/classic/MenuWindow.c:261:74: note: Shadowed declaration fcitx-4.2.9.9/src/ui/classic/MenuWindow.c:280:13: note: Shadow variable fcitx-4.2.9.9/src/ui/classic/MenuWindow.c:188:60: style: Parameter 'subMenu' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/ui/classic/MenuWindow.c:378:22: style: Variable 'window' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/ui/classic/skin.c:70:1: error: There is an unknown macro here somewhere. Configuration is required. If CONFIG_DESC_DEFINE is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/ui/classic/skinconfig.c:31:1: error: There is an unknown macro here somewhere. Configuration is required. If CONFIG_BINDING_BEGIN is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/ui/classic/tray.c:109:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StructureNotifyMask [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/classic/tray.c:119:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/classic/tray.c:146:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/classic/tray.c:171:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/test/testarray.c:8:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ut_int_icd [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/classic/tray.c:88:26: style:inconclusive: Function 'TrayInitAtom' argument 1 names different: declaration 'win' definition 'tray'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/ui/classic/tray.h:30:30: note: Function 'TrayInitAtom' argument 1 names different: declaration 'win' definition 'tray'. fcitx-4.2.9.9/src/ui/classic/tray.c:88:26: note: Function 'TrayInitAtom' argument 1 names different: declaration 'win' definition 'tray'. fcitx-4.2.9.9/src/ui/classic/tray.c:66:27: style: Parameter 'display' can be declared as pointer to const. However it seems that 'ErrorHandler' is a callback function, if 'display' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fcitx-4.2.9.9/src/ui/classic/tray.c:77:41: note: You might need to cast the function pointer here fcitx-4.2.9.9/src/ui/classic/tray.c:66:27: note: Parameter 'display' can be declared as pointer to const fcitx-4.2.9.9/src/ui/classic/tray.c:67:27: style: Parameter 'error' can be declared as pointer to const. However it seems that 'ErrorHandler' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fcitx-4.2.9.9/src/ui/classic/tray.c:77:41: note: You might need to cast the function pointer here fcitx-4.2.9.9/src/ui/classic/tray.c:67:27: note: Parameter 'error' can be declared as pointer to const fcitx-4.2.9.9/src/ui/classic/InputWindow.c:466:47: style:inconclusive: Boolean expression 'true' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] fcitx-4.2.9.9/src/ui/classic/InputWindow.c:484:47: style:inconclusive: Boolean expression 'false' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] fcitx-4.2.9.9/test/testconfig.c:16:1: error: There is an unknown macro here somewhere. Configuration is required. If CONFIG_BINDING_BEGIN is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/ui/classic/InputWindow.c:259:43: style: Parameter 'rect' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/src/ui/classic/InputWindow.c:371:18: style: Variable 'inputWindow' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/test/testhandlertable.c:88:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FCITX_OBJECT_POOL_INVALID_ID [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/test/testhotkey.c:15:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxKey_a [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/test/testmessage.c:12:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcitxInstance [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/test/testpinyin.c:20:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/test/testmessage.c:9:11: style: Variable 'words' can be declared as const array [constVariable] fcitx-4.2.9.9/test/testmessage.c:10:11: style: Variable 'extras' can be declared as const array [constVariable] fcitx-4.2.9.9/test/testpinyin.c:9:35: style: Parameter 'parse' can be declared as pointer to const [constParameterPointer] fcitx-4.2.9.9/test/testsort.c:57:45: style: Parameter 'thunk' can be declared as pointer to const. However it seems that 'cmp' is a callback function, if 'thunk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fcitx-4.2.9.9/test/testsort.c:75:56: note: You might need to cast the function pointer here fcitx-4.2.9.9/test/testsort.c:57:45: note: Parameter 'thunk' can be declared as pointer to const fcitx-4.2.9.9/test/testsort.c:62:48: style: Parameter 'thunk' can be declared as pointer to const. However it seems that 'intcmp' is a callback function, if 'thunk' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fcitx-4.2.9.9/test/testsort.c:118:87: note: You might need to cast the function pointer here fcitx-4.2.9.9/test/testsort.c:62:48: note: Parameter 'thunk' can be declared as pointer to const fcitx-4.2.9.9/test/teststring.c:21:19: warning:inconclusive: Possible null pointer dereference: cat [nullPointer] fcitx-4.2.9.9/test/teststring.c:19:17: note: Assignment 'cat=NULL', assigned value is 0 fcitx-4.2.9.9/test/teststring.c:21:19: note: Null pointer dereference fcitx-4.2.9.9/test/teststring.c:23:19: warning:inconclusive: Possible null pointer dereference: cat [nullPointer] fcitx-4.2.9.9/test/teststring.c:19:17: note: Assignment 'cat=NULL', assigned value is 0 fcitx-4.2.9.9/test/teststring.c:23:19: note: Null pointer dereference fcitx-4.2.9.9/test/testunicode.c:10:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CharSelectData [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/test/testunicode.c:47:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/test/testunicode.c:75:11: style: Variable 'label' can be declared as const array [constVariable] fcitx-4.2.9.9/tools/cli/fcitx-path-maker.c:5:26: style: Parameter 'argv' can be declared as const array [constParameter] fcitx-4.2.9.9/tools/cli/fcitx-remote.c:56:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/tools/cli/fcitx-remote.c:114:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/tools/cli/fcitx-remote.c:90:11: style: Variable 'imname' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/tools/cli/createPYMB.c:179:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARSE_ABBR [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/tools/cli/createPYMB.c:276:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UTF8_MAX_LENGTH [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/tools/cli/createPYMB.c:409:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MHPY_C_TEMPLATE [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/tools/cli/mb2org.c:161:43: error: There is an unknown macro here somewhere. Configuration is required. If PY_USERPHRASE_FILE is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:251:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LANGCODE_LENGTH [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:318:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:453:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IS_ACTIVE [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:460:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IS_ACTIVE [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:481:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:491:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:571:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:715:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_INTERFACE_INTROSPECTABLE [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:744:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:921:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:949:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:992:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:1034:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:1069:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:1103:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:1135:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:1167:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:1202:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:1233:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:1265:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:1341:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:1409:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:1441:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:1477:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:1519:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:1561:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:1598:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:1659:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_TYPE_BOOLEAN [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:1673:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_INTERFACE_INTROSPECTABLE [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:1697:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_TYPE_STRING [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/tools/cli/mb2txt.c:109:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UTF8_MAX_LENGTH [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/tools/cli/mb2txt.c:84:17: warning: If memory allocation fails, then there is a possible null pointer dereference: invalid [nullPointerOutOfMemory] fcitx-4.2.9.9/tools/cli/mb2txt.c:175:24: note: Assuming allocation function fails fcitx-4.2.9.9/tools/cli/mb2txt.c:175:24: note: Assignment 'temp=malloc(strlen(strCode)*sizeof(char)+3)', assigned value is 0 fcitx-4.2.9.9/tools/cli/mb2txt.c:179:40: note: Calling function 'guessValidChar', 2nd argument 'temp' value is 0 fcitx-4.2.9.9/tools/cli/mb2txt.c:84:17: note: Null pointer dereference fcitx-4.2.9.9/tools/cli/mb2txt.c:176:12: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] fcitx-4.2.9.9/tools/cli/mb2txt.c:175:24: note: Assuming allocation function fails fcitx-4.2.9.9/tools/cli/mb2txt.c:175:24: note: Assignment 'temp=malloc(strlen(strCode)*sizeof(char)+3)', assigned value is 0 fcitx-4.2.9.9/tools/cli/mb2txt.c:176:12: note: Null pointer dereference fcitx-4.2.9.9/tools/cli/mb2txt.c:178:12: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] fcitx-4.2.9.9/tools/cli/mb2txt.c:175:24: note: Assuming allocation function fails fcitx-4.2.9.9/tools/cli/mb2txt.c:175:24: note: Assignment 'temp=malloc(strlen(strCode)*sizeof(char)+3)', assigned value is 0 fcitx-4.2.9.9/tools/cli/mb2txt.c:178:12: note: Null pointer dereference fcitx-4.2.9.9/tools/cli/mb2txt.c:181:12: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] fcitx-4.2.9.9/tools/cli/mb2txt.c:175:24: note: Assuming allocation function fails fcitx-4.2.9.9/tools/cli/mb2txt.c:175:24: note: Assignment 'temp=malloc(strlen(strCode)*sizeof(char)+3)', assigned value is 0 fcitx-4.2.9.9/tools/cli/mb2txt.c:181:12: note: Null pointer dereference fcitx-4.2.9.9/tools/cli/mb2txt.c:177:10: style: Variable 'pyStr' can be declared as const array [constVariable] fcitx-4.2.9.9/tools/cli/mb2txt.c:180:10: style: Variable 'prStr' can be declared as const array [constVariable] fcitx-4.2.9.9/tools/cli/createPYMB.c:166:9: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] fcitx-4.2.9.9/tools/cli/createPYMB.c:167:9: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] fcitx-4.2.9.9/tools/cli/createPYMB.c:297:9: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] fcitx-4.2.9.9/tools/cli/createPYMB.c:298:9: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] fcitx-4.2.9.9/tools/cli/createPYMB.c:212:25: warning: If memory allocation fails, then there is a possible null pointer dereference: phrase [nullPointerOutOfMemory] fcitx-4.2.9.9/tools/cli/createPYMB.c:210:54: note: Assuming allocation function fails fcitx-4.2.9.9/tools/cli/createPYMB.c:210:34: note: Assignment 'phrase=(struct _PyPhrase*)malloc(sizeof(struct _PyPhrase))', assigned value is 0 fcitx-4.2.9.9/tools/cli/createPYMB.c:212:25: note: Null pointer dereference fcitx-4.2.9.9/tools/cli/createPYMB.c:213:25: warning: If memory allocation fails, then there is a possible null pointer dereference: phrase [nullPointerOutOfMemory] fcitx-4.2.9.9/tools/cli/createPYMB.c:210:54: note: Assuming allocation function fails fcitx-4.2.9.9/tools/cli/createPYMB.c:210:34: note: Assignment 'phrase=(struct _PyPhrase*)malloc(sizeof(struct _PyPhrase))', assigned value is 0 fcitx-4.2.9.9/tools/cli/createPYMB.c:213:25: note: Null pointer dereference fcitx-4.2.9.9/tools/cli/createPYMB.c:214:25: warning: If memory allocation fails, then there is a possible null pointer dereference: phrase [nullPointerOutOfMemory] fcitx-4.2.9.9/tools/cli/createPYMB.c:210:54: note: Assuming allocation function fails fcitx-4.2.9.9/tools/cli/createPYMB.c:210:34: note: Assignment 'phrase=(struct _PyPhrase*)malloc(sizeof(struct _PyPhrase))', assigned value is 0 fcitx-4.2.9.9/tools/cli/createPYMB.c:214:25: note: Null pointer dereference fcitx-4.2.9.9/tools/cli/createPYMB.c:215:32: warning: If memory allocation fails, then there is a possible null pointer dereference: phrase [nullPointerOutOfMemory] fcitx-4.2.9.9/tools/cli/createPYMB.c:210:54: note: Assuming allocation function fails fcitx-4.2.9.9/tools/cli/createPYMB.c:210:34: note: Assignment 'phrase=(struct _PyPhrase*)malloc(sizeof(struct _PyPhrase))', assigned value is 0 fcitx-4.2.9.9/tools/cli/createPYMB.c:215:32: note: Null pointer dereference fcitx-4.2.9.9/tools/cli/createPYMB.c:216:32: warning: If memory allocation fails, then there is a possible null pointer dereference: phrase [nullPointerOutOfMemory] fcitx-4.2.9.9/tools/cli/createPYMB.c:210:54: note: Assuming allocation function fails fcitx-4.2.9.9/tools/cli/createPYMB.c:210:34: note: Assignment 'phrase=(struct _PyPhrase*)malloc(sizeof(struct _PyPhrase))', assigned value is 0 fcitx-4.2.9.9/tools/cli/createPYMB.c:216:32: note: Null pointer dereference fcitx-4.2.9.9/tools/cli/createPYMB.c:220:25: warning: If memory allocation fails, then there is a possible null pointer dereference: phrase [nullPointerOutOfMemory] fcitx-4.2.9.9/tools/cli/createPYMB.c:210:54: note: Assuming allocation function fails fcitx-4.2.9.9/tools/cli/createPYMB.c:210:34: note: Assignment 'phrase=(struct _PyPhrase*)malloc(sizeof(struct _PyPhrase))', assigned value is 0 fcitx-4.2.9.9/tools/cli/createPYMB.c:220:25: note: Null pointer dereference fcitx-4.2.9.9/tools/cli/createPYMB.c:283:5: warning: If memory allocation fails, then there is a possible null pointer dereference: head [nullPointerOutOfMemory] fcitx-4.2.9.9/tools/cli/createPYMB.c:282:32: note: Assuming allocation function fails fcitx-4.2.9.9/tools/cli/createPYMB.c:282:12: note: Assignment 'head=(struct _PyStruct*)malloc(sizeof(struct _PyStruct))', assigned value is 0 fcitx-4.2.9.9/tools/cli/createPYMB.c:283:5: note: Null pointer dereference fcitx-4.2.9.9/tools/cli/createPYMB.c:284:5: warning: If memory allocation fails, then there is a possible null pointer dereference: head [nullPointerOutOfMemory] fcitx-4.2.9.9/tools/cli/createPYMB.c:282:32: note: Assuming allocation function fails fcitx-4.2.9.9/tools/cli/createPYMB.c:282:12: note: Assignment 'head=(struct _PyStruct*)malloc(sizeof(struct _PyStruct))', assigned value is 0 fcitx-4.2.9.9/tools/cli/createPYMB.c:284:5: note: Null pointer dereference fcitx-4.2.9.9/tools/cli/createPYMB.c:316:20: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] fcitx-4.2.9.9/tools/cli/createPYMB.c:314:40: note: Assuming allocation function fails fcitx-4.2.9.9/tools/cli/createPYMB.c:314:20: note: Assignment 'temp=(struct _PyStruct*)malloc(sizeof(struct _PyStruct))', assigned value is 0 fcitx-4.2.9.9/tools/cli/createPYMB.c:316:20: note: Null pointer dereference fcitx-4.2.9.9/tools/cli/createPYMB.c:317:20: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] fcitx-4.2.9.9/tools/cli/createPYMB.c:314:40: note: Assuming allocation function fails fcitx-4.2.9.9/tools/cli/createPYMB.c:314:20: note: Assignment 'temp=(struct _PyStruct*)malloc(sizeof(struct _PyStruct))', assigned value is 0 fcitx-4.2.9.9/tools/cli/createPYMB.c:317:20: note: Null pointer dereference fcitx-4.2.9.9/tools/cli/createPYMB.c:327:13: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] fcitx-4.2.9.9/tools/cli/createPYMB.c:314:40: note: Assuming allocation function fails fcitx-4.2.9.9/tools/cli/createPYMB.c:314:20: note: Assignment 'temp=(struct _PyStruct*)malloc(sizeof(struct _PyStruct))', assigned value is 0 fcitx-4.2.9.9/tools/cli/createPYMB.c:321:51: note: Assuming condition is false fcitx-4.2.9.9/tools/cli/createPYMB.c:327:13: note: Null pointer dereference fcitx-4.2.9.9/tools/cli/createPYMB.c:329:13: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] fcitx-4.2.9.9/tools/cli/createPYMB.c:314:40: note: Assuming allocation function fails fcitx-4.2.9.9/tools/cli/createPYMB.c:314:20: note: Assignment 'temp=(struct _PyStruct*)malloc(sizeof(struct _PyStruct))', assigned value is 0 fcitx-4.2.9.9/tools/cli/createPYMB.c:321:51: note: Assuming condition is false fcitx-4.2.9.9/tools/cli/createPYMB.c:329:13: note: Null pointer dereference fcitx-4.2.9.9/tools/cli/createPYMB.c:395:26: style: Parameter 'argv' can be declared as const array [constParameter] fcitx-4.2.9.9/tools/cli/createPYMB.c:279:23: style: Variable 's' is assigned a value that is never used. [unreadVariable] fcitx-4.2.9.9/tools/cli/createPYMB.c:370:15: style: Variable 's' is assigned a value that is never used. [unreadVariable] fcitx-4.2.9.9/tools/cli/readPYBase.c:103:39: error: There is an unknown macro here somewhere. Configuration is required. If PY_BASE_FILE is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/tools/cli/readPYMB.c:102:42: error: There is an unknown macro here somewhere. Configuration is required. If PY_USERPHRASE_FILE is a macro then please configure it. [unknownMacro] fcitx-4.2.9.9/tools/cli/scel2org.c:72:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/tools/cli/scel2org.c:199:15: warning: If memory allocation fails, then there is a possible null pointer dereference: pyindex [nullPointerOutOfMemory] fcitx-4.2.9.9/tools/cli/scel2org.c:197:34: note: Assuming allocation function fails fcitx-4.2.9.9/tools/cli/scel2org.c:197:34: note: Assignment 'pyindex=malloc(sizeof(int16_t)*wordcount)', assigned value is 0 fcitx-4.2.9.9/tools/cli/scel2org.c:199:15: note: Null pointer dereference fcitx-4.2.9.9/tools/cli/scel2org.c:221:37: warning: If memory allocation fails, then there is a possible null pointer dereference: pyindex [nullPointerOutOfMemory] fcitx-4.2.9.9/tools/cli/scel2org.c:197:34: note: Assuming allocation function fails fcitx-4.2.9.9/tools/cli/scel2org.c:197:34: note: Assignment 'pyindex=malloc(sizeof(int16_t)*wordcount)', assigned value is 0 fcitx-4.2.9.9/tools/cli/scel2org.c:221:37: note: Null pointer dereference fcitx-4.2.9.9/tools/cli/scel2org.c:227:64: warning: If memory allocation fails, then there is a possible null pointer dereference: pyindex [nullPointerOutOfMemory] fcitx-4.2.9.9/tools/cli/scel2org.c:197:34: note: Assuming allocation function fails fcitx-4.2.9.9/tools/cli/scel2org.c:197:34: note: Assignment 'pyindex=malloc(sizeof(int16_t)*wordcount)', assigned value is 0 fcitx-4.2.9.9/tools/cli/scel2org.c:227:64: note: Null pointer dereference fcitx-4.2.9.9/tools/cli/scel2org.c:165:17: style: Local variable 'count' shadows outer variable [shadowVariable] fcitx-4.2.9.9/tools/cli/scel2org.c:114:12: note: Shadowed declaration fcitx-4.2.9.9/tools/cli/scel2org.c:165:17: note: Shadow variable fcitx-4.2.9.9/tools/cli/scel2org.c:187:17: style: Local variable 'count' shadows outer variable [shadowVariable] fcitx-4.2.9.9/tools/cli/scel2org.c:114:12: note: Shadowed declaration fcitx-4.2.9.9/tools/cli/scel2org.c:187:17: note: Shadow variable fcitx-4.2.9.9/tools/cli/scel2org.c:220:25: style: Variable 'py' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/tools/dev/fcitx-po-parser.c:49:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PO_SEVERITY_FATAL_ERROR [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/tools/dev/fcitx-po-parser.c:73:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PO_SEVERITY_FATAL_ERROR [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/tools/dev/fcitx-po-parser.c:146:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/tools/dev/fcitx-po-parser.c:200:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/tools/dev/fcitx-po-parser.c:244:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/tools/dev/fcitx-po-parser.c:139:13: error: Common realloc mistake: 'buff' nulled but not freed upon failure [memleakOnRealloc] fcitx-4.2.9.9/tools/dev/fcitx-po-parser.c:100:5: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] fcitx-4.2.9.9/tools/dev/fcitx-po-parser.c:109:23: note: Assuming allocation function fails fcitx-4.2.9.9/tools/dev/fcitx-po-parser.c:109:23: note: Assignment 'res=malloc(lang_len*2+4)', assigned value is 0 fcitx-4.2.9.9/tools/dev/fcitx-po-parser.c:112:25: note: Calling function 'encode_string', 2nd argument 'res' value is 0 fcitx-4.2.9.9/tools/dev/fcitx-po-parser.c:100:5: note: Null pointer dereference fcitx-4.2.9.9/tools/dev/fcitx-po-parser.c:113:16: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] fcitx-4.2.9.9/tools/dev/fcitx-po-parser.c:109:23: note: Assuming allocation function fails fcitx-4.2.9.9/tools/dev/fcitx-po-parser.c:109:23: note: Assignment 'res=malloc(lang_len*2+4)', assigned value is 0 fcitx-4.2.9.9/tools/dev/fcitx-po-parser.c:113:16: note: Null pointer addition fcitx-4.2.9.9/tools/dev/fcitx-po-parser.c:242:18: style: Variable 'count' is assigned a value that is never used. [unreadVariable] fcitx-4.2.9.9/tools/cli/txt2mb.c:124:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RECORD [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/tools/dev/fcitx-scanner.c:580:9: error: syntax error [syntaxError] fcitx-4.2.9.9/tools/gui/wrapper/mainwindow.cpp:40:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Save [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/tools/gui/wrapper/mainwindow.cpp:68:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Save [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/tools/gui/wrapper/mainwindow.cpp:93:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Save [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/tools/gui/wrapper/mainwindow.cpp:40:62: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] fcitx-4.2.9.9/tools/gui/wrapper/mainwindow.cpp:41:63: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] fcitx-4.2.9.9/tools/gui/wrapper/mainwindow.cpp:42:63: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] fcitx-4.2.9.9/tools/gui/wrapper/wrapperapp.cpp:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] fcitx-4.2.9.9/src/ui/classic/MainWindow.c:195:31: style: Local variable 'compstatus' shadows outer variable [shadowVariable] fcitx-4.2.9.9/src/ui/classic/MainWindow.c:140:27: note: Shadowed declaration fcitx-4.2.9.9/src/ui/classic/MainWindow.c:195:31: note: Shadow variable fcitx-4.2.9.9/src/ui/classic/MainWindow.c:196:19: style: Local variable 'uicompstats' shadows outer variable [shadowVariable] fcitx-4.2.9.9/src/ui/classic/MainWindow.c:141:15: note: Shadowed declaration fcitx-4.2.9.9/src/ui/classic/MainWindow.c:196:19: note: Shadow variable fcitx-4.2.9.9/src/ui/classic/MainWindow.c:244:24: style: Local variable 'status' shadows outer variable [shadowVariable] fcitx-4.2.9.9/src/ui/classic/MainWindow.c:125:20: note: Shadowed declaration fcitx-4.2.9.9/src/ui/classic/MainWindow.c:244:24: note: Shadow variable fcitx-4.2.9.9/src/ui/classic/MainWindow.c:245:19: style: Local variable 'uistats' shadows outer variable [shadowVariable] fcitx-4.2.9.9/src/ui/classic/MainWindow.c:126:15: note: Shadowed declaration fcitx-4.2.9.9/src/ui/classic/MainWindow.c:245:19: note: Shadow variable fcitx-4.2.9.9/src/ui/classic/MainWindow.c:65:25: style: Variable 'ic2' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/ui/classic/MainWindow.c:464:22: style: Variable 'window' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/tools/cli/txt2mb.c:170:33: style: Redundant condition: The condition '*pstr != '\0'' is redundant since '*pstr == ' '' is sufficient. [redundantCondition] fcitx-4.2.9.9/tools/cli/txt2mb.c:177:33: style: Redundant condition: The condition '*pstr != '\0'' is redundant since '*pstr == ' '' is sufficient. [redundantCondition] fcitx-4.2.9.9/tools/cli/txt2mb.c:184:33: style: Redundant condition: The condition '*pstr != '\0'' is redundant since '*pstr == ' '' is sufficient. [redundantCondition] fcitx-4.2.9.9/tools/cli/txt2mb.c:378:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fcitx-4.2.9.9/tools/cli/txt2mb.c:486:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fcitx-4.2.9.9/tools/cli/txt2mb.c:125:5: warning: If memory allocation fails, then there is a possible null pointer dereference: head [nullPointerOutOfMemory] fcitx-4.2.9.9/tools/cli/txt2mb.c:124:29: note: Assuming allocation function fails fcitx-4.2.9.9/tools/cli/txt2mb.c:124:12: note: Assignment 'head=(RECORD*)malloc(sizeof(RECORD))', assigned value is 0 fcitx-4.2.9.9/tools/cli/txt2mb.c:125:5: note: Null pointer dereference fcitx-4.2.9.9/tools/cli/txt2mb.c:126:5: warning: If memory allocation fails, then there is a possible null pointer dereference: head [nullPointerOutOfMemory] fcitx-4.2.9.9/tools/cli/txt2mb.c:124:29: note: Assuming allocation function fails fcitx-4.2.9.9/tools/cli/txt2mb.c:124:12: note: Assignment 'head=(RECORD*)malloc(sizeof(RECORD))', assigned value is 0 fcitx-4.2.9.9/tools/cli/txt2mb.c:126:5: note: Null pointer dereference fcitx-4.2.9.9/tools/cli/txt2mb.c:474:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] fcitx-4.2.9.9/tools/cli/txt2mb.c:201:21: style: Checking if unsigned expression 'iCodeLength' is less than zero. [unsignedLessThanZero] fcitx-4.2.9.9/tools/cli/txt2mb.c:68:21: style: Variable 'p' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/tools/cli/txt2mb.c:94:26: style: Parameter 'argv' can be declared as const array [constParameter] fcitx-4.2.9.9/tools/cli/txt2mb.c:258:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:847:37: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:710:39: style:inconclusive: Function 'KimpanelDBusEventHandler' argument 2 names different: declaration 'message' definition 'msg'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:177:92: note: Function 'KimpanelDBusEventHandler' argument 2 names different: declaration 'message' definition 'msg'. fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:710:39: note: Function 'KimpanelDBusEventHandler' argument 2 names different: declaration 'message' definition 'msg'. fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:710:50: style:inconclusive: Function 'KimpanelDBusEventHandler' argument 3 names different: declaration 'user_data' definition 'arg'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:177:107: note: Function 'KimpanelDBusEventHandler' argument 3 names different: declaration 'user_data' definition 'arg'. fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:710:50: note: Function 'KimpanelDBusEventHandler' argument 3 names different: declaration 'user_data' definition 'arg'. fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:735:79: style:inconclusive: Function 'KimpanelDBusFilter' argument 2 names different: declaration 'message' definition 'msg'. [funcArgNamesDifferent] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:178:86: note: Function 'KimpanelDBusFilter' argument 2 names different: declaration 'message' definition 'msg'. fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:735:79: note: Function 'KimpanelDBusFilter' argument 2 names different: declaration 'message' definition 'msg'. fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:253:24: style: Variable 'ic' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:259:18: style: Variable 'im' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:535:18: style: Variable 'menu' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:551:18: style: Variable 'menu' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:606:23: style: Variable 'msgstr' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:662:19: style: Variable 'msgstr' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/ui/kimpanel/kimpanel.c:845:48: style: Variable 'menu_item' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/module/vk/vk.c:520:67: warning: Either the condition 'x>302' is redundant or the array 'vkstate->vks[vkstate->iCurrentVK].strSymbol[47][2][0]' is accessed at index vkstate->vks[vkstate->iCurrentVK].strSymbol[47][*], which is out of bounds. [arrayIndexOutOfBoundsCond] fcitx-4.2.9.9/src/module/vk/vk.c:510:28: note: Assuming that condition 'x>302' is not redundant fcitx-4.2.9.9/src/module/vk/vk.c:519:24: note: iIndex is assigned '37+(x-62)/24' here. fcitx-4.2.9.9/src/module/vk/vk.c:520:67: note: Array index out of bounds fcitx-4.2.9.9/src/module/vk/vk.c:462:31: style: Condition 'x<=344' is always true [knownConditionTrueFalse] fcitx-4.2.9.9/src/module/vk/vk.c:458:28: note: Assuming that condition 'x>348' is not redundant fcitx-4.2.9.9/src/module/vk/vk.c:461:13: note: Compound assignment '-=', assigned value is 345 fcitx-4.2.9.9/src/module/vk/vk.c:462:31: note: Condition 'x<=344' is always true fcitx-4.2.9.9/src/module/vk/vk.c:479:19: style: Condition 'x>=4' is always true [knownConditionTrueFalse] fcitx-4.2.9.9/src/module/vk/vk.c:476:19: note: Assuming that condition 'x<4' is not redundant fcitx-4.2.9.9/src/module/vk/vk.c:479:19: note: Condition 'x>=4' is always true fcitx-4.2.9.9/src/module/vk/vk.c:494:19: style: Condition 'x>=4' is always true [knownConditionTrueFalse] fcitx-4.2.9.9/src/module/vk/vk.c:491:19: note: Assuming that condition 'x<4' is not redundant fcitx-4.2.9.9/src/module/vk/vk.c:494:19: note: Condition 'x>=4' is always true fcitx-4.2.9.9/src/module/vk/vk.c:499:37: style: Condition 'x<=350' is always true [knownConditionTrueFalse] fcitx-4.2.9.9/src/module/vk/vk.c:491:28: note: Assuming that condition 'x>350' is not redundant fcitx-4.2.9.9/src/module/vk/vk.c:499:37: note: Condition 'x<=350' is always true fcitx-4.2.9.9/src/module/vk/vk.c:513:19: style: Condition 'x>=4' is always true [knownConditionTrueFalse] fcitx-4.2.9.9/src/module/vk/vk.c:510:19: note: Assuming that condition 'x<4' is not redundant fcitx-4.2.9.9/src/module/vk/vk.c:513:19: note: Condition 'x>=4' is always true fcitx-4.2.9.9/src/module/vk/vk.c:145:24: style: Variable 'config' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/module/vk/vk.c:254:19: style: Variable 'vkstate' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/module/vk/vk.c:701:21: style: Variable 'pstr' can be declared as pointer to const [constVariablePointer] fcitx-4.2.9.9/src/module/vk/vk.c:444:28: style: Variable 'iIndex' is assigned a value that is never used. [unreadVariable] diff: 2.17.0 fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:392:25: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:391:34: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:391:34: note: Assignment 'apps=g_strsplit(_no_snooper_apps,",",0)', assigned value is 0 fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:392:18: note: Assignment 'p=apps', assigned value is 0 fcitx-4.2.9.9/src/frontend/gtk2/fcitximcontext.c:392:25: note: Null pointer dereference 2.17.0 fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:392:25: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:391:34: note: Assuming allocation function fails fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:391:34: note: Assignment 'apps=g_strsplit(_no_snooper_apps,",",0)', assigned value is 0 fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:392:18: note: Assignment 'p=apps', assigned value is 0 fcitx-4.2.9.9/src/frontend/gtk3/fcitximcontext.c:392:25: note: Null pointer dereference 2.17.0 fcitx-4.2.9.9/src/frontend/qt/fcitxwatcher.cpp:181:19: style: C-style pointer casting [cstyleCast] head fcitx-4.2.9.9/src/frontend/qt/fcitxwatcher.cpp:181:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] head fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontext.cpp:163:19: style: Variable 'text' is assigned a value that is never used. [unreadVariable] 2.17.0 fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontextplugin.cpp:46:13: style:inconclusive: Either there is a missing 'override', or the member function 'QFcitxInputContextPlugin::displayName' can be const. [functionConst] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontextplugin.cpp:94:35: note: Either there is a missing 'override', or the member function 'QFcitxInputContextPlugin::displayName' can be const. fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontextplugin.cpp:46:13: note: Either there is a missing 'override', or the member function 'QFcitxInputContextPlugin::displayName' can be const. head fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontextplugin.cpp:94:35: style:inconclusive: Either there is a missing 'override', or the member function 'QFcitxInputContextPlugin::displayName' can be const. [functionConst] fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontextplugin.cpp:46:13: note: Either there is a missing 'override', or the member function 'QFcitxInputContextPlugin::displayName' can be const. fcitx-4.2.9.9/src/frontend/qt/qfcitxinputcontextplugin.cpp:94:35: note: Either there is a missing 'override', or the member function 'QFcitxInputContextPlugin::displayName' can be const. 2.17.0 fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:267:29: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:264:22: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:264:22: note: Assignment 'dirs=malloc(orig_len1+dd_len+sg_len+4)', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:267:29: note: Null pointer addition head fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:267:29: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:264:22: note: Assuming allocation function fails fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:264:22: note: Assignment 'dirs=malloc(orig_len1+dd_len+sg_len+4)', assigned value is 0 fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:267:29: note: Null pointer addition 2.17.0 fcitx-4.2.9.9/src/lib/fcitx-config/xdg.c:348:23: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:118:37: style: Variable 'im' is assigned a value that is never used. [unreadVariable] head fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:209:15: style: Variable 'value' can be declared as pointer to const [constVariablePointer] head fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:412:18: style: Variable 'item' can be declared as pointer to const [constVariablePointer] head fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:413:22: style: Variable 'builder' can be declared as pointer to const [constVariablePointer] head fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:451:70: style: Parameter 'addon' can be declared as pointer to const [constParameterPointer] head fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:465:67: style: Parameter 'imname' can be declared as pointer to const [constParameterPointer] head fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:537:69: style: Parameter 'imname' can be declared as pointer to const [constParameterPointer] head fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxinputmethod.c:588:69: style: Parameter 'imname' can be declared as pointer to const [constParameterPointer] head fcitx-4.2.9.9/src/lib/fcitx-gclient/fcitxkbd.c:77:29: style: Variable 'im' is assigned a value that is never used. [unreadVariable] 2.17.0 fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtconnection.cpp:258:19: style: C-style pointer casting [cstyleCast] head fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtconnection.cpp:258:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] head fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:193:32: style:inconclusive: Either there is a missing 'override', or the member function 'FcitxQtKeySequenceWidget::isModifierlessAllowed' can be const. [functionConst] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.h:99:10: note: Either there is a missing 'override', or the member function 'FcitxQtKeySequenceWidget::isModifierlessAllowed' can be const. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:193:32: note: Either there is a missing 'override', or the member function 'FcitxQtKeySequenceWidget::isModifierlessAllowed' can be const. head fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:198:32: style:inconclusive: Either there is a missing 'override', or the member function 'FcitxQtKeySequenceWidget::isModifierOnlyAllowed' can be const. [functionConst] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.h:102:10: note: Either there is a missing 'override', or the member function 'FcitxQtKeySequenceWidget::isModifierOnlyAllowed' can be const. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:198:32: note: Either there is a missing 'override', or the member function 'FcitxQtKeySequenceWidget::isModifierOnlyAllowed' can be const. head fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:208:47: style:inconclusive: Either there is a missing 'override', or the member function 'FcitxQtKeySequenceWidget::modifierSide' can be const. [functionConst] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.h:108:25: note: Either there is a missing 'override', or the member function 'FcitxQtKeySequenceWidget::modifierSide' can be const. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:208:47: note: Either there is a missing 'override', or the member function 'FcitxQtKeySequenceWidget::modifierSide' can be const. 2.17.0 fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.h:102:10: style:inconclusive: Either there is a missing 'override', or the member function 'FcitxQtKeySequenceWidget::isModifierOnlyAllowed' can be const. [functionConst] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:198:32: note: Either there is a missing 'override', or the member function 'FcitxQtKeySequenceWidget::isModifierOnlyAllowed' can be const. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.h:102:10: note: Either there is a missing 'override', or the member function 'FcitxQtKeySequenceWidget::isModifierOnlyAllowed' can be const. 2.17.0 fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.h:108:25: style:inconclusive: Either there is a missing 'override', or the member function 'FcitxQtKeySequenceWidget::modifierSide' can be const. [functionConst] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:208:47: note: Either there is a missing 'override', or the member function 'FcitxQtKeySequenceWidget::modifierSide' can be const. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.h:108:25: note: Either there is a missing 'override', or the member function 'FcitxQtKeySequenceWidget::modifierSide' can be const. 2.17.0 fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.h:99:10: style:inconclusive: Either there is a missing 'override', or the member function 'FcitxQtKeySequenceWidget::isModifierlessAllowed' can be const. [functionConst] fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.cpp:193:32: note: Either there is a missing 'override', or the member function 'FcitxQtKeySequenceWidget::isModifierlessAllowed' can be const. fcitx-4.2.9.9/src/lib/fcitx-qt/fcitxqtkeysequencewidget.h:99:10: note: Either there is a missing 'override', or the member function 'FcitxQtKeySequenceWidget::isModifierlessAllowed' can be const. 2.17.0 fcitx-4.2.9.9/src/module/spell/dict/comp_spell_dict.c:49:31: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] fcitx-4.2.9.9/src/module/spell/dict/comp_spell_dict.c:48:13: note: Assuming allocation function fails fcitx-4.2.9.9/src/module/spell/dict/comp_spell_dict.c:48:13: note: Assignment 'p=mmap(NULL,istat_buf.st_size+1,PROT_READ,MAP_PRIVATE,ifd,0)', assigned value is 0 fcitx-4.2.9.9/src/module/spell/dict/comp_spell_dict.c:49:31: note: Null pointer addition head fcitx-4.2.9.9/src/module/spell/dict/comp_spell_dict.c:49:31: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] fcitx-4.2.9.9/src/module/spell/dict/comp_spell_dict.c:48:13: note: Assuming allocation function fails fcitx-4.2.9.9/src/module/spell/dict/comp_spell_dict.c:48:13: note: Assignment 'p=mmap(NULL,istat_buf.st_size+1,PROT_READ,MAP_PRIVATE,ifd,0)', assigned value is 0 fcitx-4.2.9.9/src/module/spell/dict/comp_spell_dict.c:49:31: note: Null pointer addition 2.17.0 fcitx-4.2.9.9/tools/dev/fcitx-po-parser.c:113:16: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] fcitx-4.2.9.9/tools/dev/fcitx-po-parser.c:109:23: note: Assuming allocation function fails fcitx-4.2.9.9/tools/dev/fcitx-po-parser.c:109:23: note: Assignment 'res=malloc(lang_len*2+4)', assigned value is 0 fcitx-4.2.9.9/tools/dev/fcitx-po-parser.c:113:16: note: Null pointer addition head fcitx-4.2.9.9/tools/dev/fcitx-po-parser.c:113:16: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] fcitx-4.2.9.9/tools/dev/fcitx-po-parser.c:109:23: note: Assuming allocation function fails fcitx-4.2.9.9/tools/dev/fcitx-po-parser.c:109:23: note: Assignment 'res=malloc(lang_len*2+4)', assigned value is 0 fcitx-4.2.9.9/tools/dev/fcitx-po-parser.c:113:16: note: Null pointer addition 2.17.0 fcitx-4.2.9.9/tools/gui/wrapper/mainwindow.cpp:40:62: style: C-style pointer casting [cstyleCast] head fcitx-4.2.9.9/tools/gui/wrapper/mainwindow.cpp:40:62: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 fcitx-4.2.9.9/tools/gui/wrapper/mainwindow.cpp:41:63: style: C-style pointer casting [cstyleCast] head fcitx-4.2.9.9/tools/gui/wrapper/mainwindow.cpp:41:63: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 fcitx-4.2.9.9/tools/gui/wrapper/mainwindow.cpp:42:63: style: C-style pointer casting [cstyleCast] head fcitx-4.2.9.9/tools/gui/wrapper/mainwindow.cpp:42:63: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] DONE