2025-10-31 11:21 ftp://ftp.de.debian.org/debian/pool/main/m/mousepad/mousepad_0.6.5.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.12.48+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 98b6ff5 (2025-10-30 22:57:52 +0100) count: 47 215 elapsed-time: 0.2 1.4 head-timing-info: old-timing-info: head results: mousepad-0.6.5/mousepad/mousepad-private.h:122:0: error: failed to evaluate #if condition, undefined function-like macro invocation: G_GNUC_CHECK_VERSION( ... ) [preprocessorErrorDirective] mousepad-0.6.5/mousepad/mousepad-private.h:122:2: error: failed to evaluate #if condition, undefined function-like macro invocation: G_GNUC_CHECK_VERSION( ... ) [preprocessorErrorDirective] mousepad-0.6.5/plugins/gspell-plugin/gspell-plugin.c:136:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OLD_STYLE_MENU [valueFlowBailoutIncompleteVar] mousepad-0.6.5/plugins/gspell-plugin/gspell-plugin.c:191:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SETTINGS_BIND_DEFAULT [valueFlowBailoutIncompleteVar] mousepad-0.6.5/plugins/gspell-plugin/gspell-plugin.c:223:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gspell_plugin_parent_class [valueFlowBailoutIncompleteVar] mousepad-0.6.5/plugins/gspell-plugin/gspell-plugin.c:270:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] mousepad-0.6.5/plugins/gspell-plugin/gspell-plugin.c:321:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] mousepad-0.6.5/plugins/gspell-plugin/gspell-plugin.c:343:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] mousepad-0.6.5/plugins/gspell-plugin/gspell-plugin.c:413:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] mousepad-0.6.5/plugins/gspell-plugin/gspell-plugin.c:478:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_TEXT_VIEW [valueFlowBailoutIncompleteVar] mousepad-0.6.5/plugins/gspell-plugin/gspell-plugin.c:580:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOUSEPAD_TYPE_WINDOW [valueFlowBailoutIncompleteVar] mousepad-0.6.5/plugins/skeleton-plugin/skeleton-plugin.c:105:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable skeleton_plugin_parent_class [valueFlowBailoutIncompleteVar] mousepad-0.6.5/plugins/skeleton-plugin/skeleton-plugin.c:117:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable skeleton_plugin_parent_class [valueFlowBailoutIncompleteVar] mousepad-0.6.5/plugins/skeleton-plugin/skeleton-plugin.c:75:54: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] mousepad-0.6.5/plugins/skeleton-plugin/skeleton-plugin.c:125:19: style: Variable 'plugin' can be declared as pointer to const [constVariablePointer] mousepad-0.6.5/plugins/skeleton-plugin/skeleton-plugin.c:126:24: style: Variable 'application' can be declared as pointer to const [constVariablePointer] mousepad-0.6.5/plugins/skeleton-plugin/skeleton-plugin.c:137:19: style: Variable 'plugin' can be declared as pointer to const [constVariablePointer] mousepad-0.6.5/plugins/skeleton-plugin/skeleton-plugin.c:138:24: style: Variable 'application' can be declared as pointer to const [constVariablePointer] mousepad-0.6.5/plugins/skeleton-plugin/skeleton-plugin.c:125:26: style: Variable 'plugin' is assigned a value that is never used. [unreadVariable] mousepad-0.6.5/plugins/skeleton-plugin/skeleton-plugin.c:129:15: style: Variable 'application' is assigned a value that is never used. [unreadVariable] mousepad-0.6.5/plugins/skeleton-plugin/skeleton-plugin.c:125:19: style: Variable 'plugin' is assigned a value that is never used. [unreadVariable] mousepad-0.6.5/plugins/skeleton-plugin/skeleton-plugin.c:137:26: style: Variable 'plugin' is assigned a value that is never used. [unreadVariable] mousepad-0.6.5/plugins/skeleton-plugin/skeleton-plugin.c:141:15: style: Variable 'application' is assigned a value that is never used. [unreadVariable] mousepad-0.6.5/plugins/skeleton-plugin/skeleton-plugin.c:137:19: style: Variable 'plugin' is assigned a value that is never used. [unreadVariable] mousepad-0.6.5/plugins/gspell-plugin/gspell-plugin.c:123:50: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] mousepad-0.6.5/plugins/gspell-plugin/gspell-plugin.c:232:21: style: Variable 'view' can be declared as pointer to const [constVariablePointer] mousepad-0.6.5/plugins/shortcuts-plugin/shortcuts-plugin.c:154:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shortcuts_plugin_parent_class [valueFlowBailoutIncompleteVar] mousepad-0.6.5/plugins/shortcuts-plugin/shortcuts-plugin.c:166:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shortcuts_plugin_parent_class [valueFlowBailoutIncompleteVar] mousepad-0.6.5/plugins/shortcuts-plugin/shortcuts-plugin.c:345:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable menu_item_label_text [valueFlowBailoutIncompleteVar] mousepad-0.6.5/plugins/shortcuts-plugin/shortcuts-plugin.c:379:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MENU_LINK_SECTION [valueFlowBailoutIncompleteVar] mousepad-0.6.5/plugins/shortcuts-plugin/shortcuts-plugin.c:457:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XfceShortcutsEditorSection [valueFlowBailoutIncompleteVar] mousepad-0.6.5/plugins/shortcuts-plugin/shortcuts-plugin.c:672:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable menu_item_label_text [valueFlowBailoutIncompleteVar] mousepad-0.6.5/plugins/shortcuts-plugin/shortcuts-plugin.c:688:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable section_name [valueFlowBailoutIncompleteVar] mousepad-0.6.5/plugins/test-plugin/test-plugin.c:139:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_plugin_parent_class [valueFlowBailoutIncompleteVar] mousepad-0.6.5/plugins/test-plugin/test-plugin.c:164:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOUSEPAD_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] mousepad-0.6.5/plugins/test-plugin/test-plugin.c:244:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_APPLICATION_NON_UNIQUE [valueFlowBailoutIncompleteVar] mousepad-0.6.5/plugins/test-plugin/test-plugin.c:264:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SESSION_RESTORE [valueFlowBailoutIncompleteVar] mousepad-0.6.5/plugins/test-plugin/test-plugin.c:284:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_AFTER [valueFlowBailoutIncompleteVar] mousepad-0.6.5/plugins/test-plugin/test-plugin.c:601:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SESSION_RESTORE [valueFlowBailoutIncompleteVar] mousepad-0.6.5/plugins/shortcuts-plugin/shortcuts-plugin.c:96:56: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] mousepad-0.6.5/plugins/shortcuts-plugin/shortcuts-plugin.c:120:47: style: Parameter 'object' can be declared as pointer to const. However it seems that 'shortcuts_plugin_setting_box_packed' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mousepad-0.6.5/plugins/shortcuts-plugin/shortcuts-plugin.c:150:3: note: You might need to cast the function pointer here mousepad-0.6.5/plugins/shortcuts-plugin/shortcuts-plugin.c:120:47: note: Parameter 'object' can be declared as pointer to const mousepad-0.6.5/plugins/shortcuts-plugin/shortcuts-plugin.c:219:42: style: Parameter 'object' can be declared as pointer to const. However it seems that 'shortcuts_plugin_enable_action' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mousepad-0.6.5/plugins/shortcuts-plugin/shortcuts-plugin.c:244:3: note: You might need to cast the function pointer here mousepad-0.6.5/plugins/shortcuts-plugin/shortcuts-plugin.c:219:42: note: Parameter 'object' can be declared as pointer to const mousepad-0.6.5/plugins/shortcuts-plugin/shortcuts-plugin.c:441:17: style: Variable 'lp' can be declared as pointer to const [constVariablePointer] mousepad-0.6.5/plugins/test-plugin/test-plugin.c:95:46: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] mousepad-0.6.5/plugins/test-plugin/test-plugin.c:405:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] mousepad-0.6.5/plugins/test-plugin/test-plugin.c:405:32: style: Variable 't' can be declared as pointer to const [constVariablePointer] mousepad-0.6.5/plugins/test-plugin/test-plugin.c:422:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] diff: 2.18.0 mousepad-0.6.5/mousepad/main.c:34:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-application.c:601:47: error: There is an unknown macro here somewhere. Configuration is required. If G_DIR_SEPARATOR_S is a macro then please configure it. [unknownMacro] 2.18.0 mousepad-0.6.5/mousepad/mousepad-close-button.c:102:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mousepad_close_button_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-close-button.c:114:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-close-button.c:128:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-close-button.c:142:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-close-button.c:73:14: style: Variable 'image' can be declared as pointer to const [constVariablePointer] 2.18.0 mousepad-0.6.5/mousepad/mousepad-close-button.c:85:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STYLE_PROVIDER_PRIORITY_APPLICATION [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-dialogs.c:70:66: error: There is an unknown macro here somewhere. Configuration is required. If COPYRIGHT_YEAR is a macro then please configure it. [unknownMacro] 2.18.0 mousepad-0.6.5/mousepad/mousepad-document.c:1016:58: style: Parameter 'window' can be declared as pointer to const. However it seems that 'mousepad_document_search_widget_visible' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mousepad-0.6.5/mousepad/mousepad-document.c:207:28: note: You might need to cast the function pointer here mousepad-0.6.5/mousepad/mousepad-document.c:1016:58: note: Parameter 'window' can be declared as pointer to const 2.18.0 mousepad-0.6.5/mousepad/mousepad-document.c:1033:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-document.c:1090:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_NONE [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-document.c:155:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INT [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-document.c:208:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-document.c:254:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_ETCHED_IN [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-document.c:337:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mousepad_document_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-document.c:349:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-document.c:529:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STYLE_CLASS_DIM_LABEL [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-document.c:568:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_ELLIPSIZE_NONE [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-document.c:583:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_EVENT_BOX [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-document.c:820:7: error: Dereferencing 'document' after it is deallocated / released [deallocuse] 2.18.0 mousepad-0.6.5/mousepad/mousepad-document.c:824:81: error: Dereferencing 'document' after it is deallocated / released [deallocuse] 2.18.0 mousepad-0.6.5/mousepad/mousepad-document.c:992:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-encoding-dialog.c:209:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_BUTTON [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-encoding-dialog.c:237:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mousepad_encoding_dialog_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-encoding-dialog.c:261:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mousepad_encoding_dialog_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-file.c:1161:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TYPE_SYMBOLIC_LINK [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-file.c:132:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INT [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-file.c:1332:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_CREATE_NONE [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-file.c:1542:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-file.c:1549:55: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] 2.18.0 mousepad-0.6.5/mousepad/mousepad-file.c:188:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-file.c:216:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mousepad_file_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-file.c:271:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_HIGH_IDLE [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-file.c:316:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-file.c:366:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-file.c:460:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TYPE_SYMBOLIC_LINK [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-file.c:466:20: style: Condition 'path==NULL' is always true [knownConditionTrueFalse] mousepad-0.6.5/mousepad/mousepad-file.c:463:18: note: Assignment 'path=NULL', assigned value is 0 mousepad-0.6.5/mousepad/mousepad-file.c:466:20: note: Condition 'path==NULL' is always true 2.18.0 mousepad-0.6.5/mousepad/mousepad-file.c:577:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-file.c:793:46: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] 2.18.0 mousepad-0.6.5/mousepad/mousepad-file.c:871:52: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] 2.18.0 mousepad-0.6.5/mousepad/mousepad-file.c:922:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TYPE_SYMBOLIC_LINK [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-history.c:1084:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 mousepad-0.6.5/mousepad/mousepad-history.c:1084:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-history.c:1132:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 mousepad-0.6.5/mousepad/mousepad-history.c:1132:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-history.c:1247:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-history.c:189:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-history.c:592:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_APPLICATION [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-history.c:900:5: error: Memory leak: dirname [memleak] 2.18.0 mousepad-0.6.5/mousepad/mousepad-history.c:968:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 mousepad-0.6.5/mousepad/mousepad-history.c:985:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 mousepad-0.6.5/mousepad/mousepad-history.c:985:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-plugin-provider.c:102:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mousepad_plugin_provider_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-plugin-provider.c:114:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOUSEPAD_PLUGIN_DIRECTORY [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-plugin-provider.c:189:67: style: Parameter 'provider' can be declared as pointer to const [constParameterPointer] 2.18.0 mousepad-0.6.5/mousepad/mousepad-plugin-provider.c:252:67: style: Parameter 'provider' can be declared as pointer to const [constParameterPointer] 2.18.0 mousepad-0.6.5/mousepad/mousepad-plugin-provider.c:262:16: style: Variable 'module' can be declared as pointer to const [constVariablePointer] 2.18.0 mousepad-0.6.5/mousepad/mousepad-plugin-provider.c:274:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INVALID [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-plugin.c:110:43: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'mousepad_plugin_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mousepad-0.6.5/mousepad/mousepad-plugin.c:72:33: note: You might need to cast the function pointer here mousepad-0.6.5/mousepad/mousepad-plugin.c:110:43: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 mousepad-0.6.5/mousepad/mousepad-plugin.c:176:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-plugin.c:80:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-plugin.c:89:43: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'mousepad_plugin_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mousepad-0.6.5/mousepad/mousepad-plugin.c:71:33: note: You might need to cast the function pointer here mousepad-0.6.5/mousepad/mousepad-plugin.c:89:43: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 mousepad-0.6.5/mousepad/mousepad-prefs-dialog.c:108:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mousepad_prefs_dialog_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-prefs-dialog.c:129:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mousepad_prefs_dialog_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-prefs-dialog.c:285:16: style: Variable 'module' can be declared as pointer to const [constVariablePointer] 2.18.0 mousepad-0.6.5/mousepad/mousepad-prefs-dialog.c:319:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_NONE [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-prefs-dialog.c:476:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-prefs-dialog.c:576:83: style: Condition 'n_rows%10!=0' is always true [knownConditionTrueFalse] mousepad-0.6.5/mousepad/mousepad-prefs-dialog.c:574:33: note: Assignment 'n_rows=MOUSEPAD_N_ENCODINGS-1', assigned value is 62 mousepad-0.6.5/mousepad/mousepad-prefs-dialog.c:576:83: note: Condition 'n_rows%10!=0' is always true 2.18.0 mousepad-0.6.5/mousepad/mousepad-prefs-dialog.c:584:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-prefs-dialog.c:628:7: style:inconclusive: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] 2.18.0 mousepad-0.6.5/mousepad/mousepad-prefs-dialog.c:653:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-print.c:157:47: error: There is an unknown macro here somewhere. Configuration is required. If G_DIR_SEPARATOR_S is a macro then please configure it. [unknownMacro] head mousepad-0.6.5/mousepad/mousepad-private.h:122:0: error: failed to evaluate #if condition, undefined function-like macro invocation: G_GNUC_CHECK_VERSION( ... ) [preprocessorErrorDirective] head mousepad-0.6.5/mousepad/mousepad-private.h:122:2: error: failed to evaluate #if condition, undefined function-like macro invocation: G_GNUC_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 mousepad-0.6.5/mousepad/mousepad-replace-dialog.c:110:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_ENTRY [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-replace-dialog.c:150:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SETTINGS_BIND_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-replace-dialog.c:199:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-replace-dialog.c:313:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BINDING_SYNC_CREATE [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-replace-dialog.c:434:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mousepad_replace_dialog_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-replace-dialog.c:672:46: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] 2.18.0 mousepad-0.6.5/mousepad/mousepad-replace-dialog.c:692:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-search-bar.c:103:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_ACTION [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-search-bar.c:188:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-search-bar.c:232:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-search-bar.c:374:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mousepad_search_bar_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-search-bar.c:609:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-search-bar.c:79:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TOOLBAR_BOTH_HORIZ [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-settings-store.c:143:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mousepad_settings_store_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-settings-store.c:233:58: style:inconclusive: Function 'mousepad_settings_store_add_root' argument 1 names different: declaration 'store' definition 'self'. [funcArgNamesDifferent] mousepad-0.6.5/mousepad/mousepad-settings-store.h:31:58: note: Function 'mousepad_settings_store_add_root' argument 1 names different: declaration 'store' definition 'self'. mousepad-0.6.5/mousepad/mousepad-settings-store.c:233:58: note: Function 'mousepad_settings_store_add_root' argument 1 names different: declaration 'store' definition 'self'. 2.18.0 mousepad-0.6.5/mousepad/mousepad-settings-store.c:258:65: style:inconclusive: Function 'mousepad_settings_store_lookup_key_name' argument 1 names different: declaration 'store' definition 'self'. [funcArgNamesDifferent] mousepad-0.6.5/mousepad/mousepad-settings-store.h:35:65: note: Function 'mousepad_settings_store_lookup_key_name' argument 1 names different: declaration 'store' definition 'self'. mousepad-0.6.5/mousepad/mousepad-settings-store.c:258:65: note: Function 'mousepad_settings_store_lookup_key_name' argument 1 names different: declaration 'store' definition 'self'. 2.18.0 mousepad-0.6.5/mousepad/mousepad-settings-store.c:272:65: style:inconclusive: Function 'mousepad_settings_store_lookup_settings' argument 1 names different: declaration 'store' definition 'self'. [funcArgNamesDifferent] mousepad-0.6.5/mousepad/mousepad-settings-store.h:39:65: note: Function 'mousepad_settings_store_lookup_settings' argument 1 names different: declaration 'store' definition 'self'. mousepad-0.6.5/mousepad/mousepad-settings-store.c:272:65: note: Function 'mousepad_settings_store_lookup_settings' argument 1 names different: declaration 'store' definition 'self'. 2.18.0 mousepad-0.6.5/mousepad/mousepad-settings-store.c:286:56: style:inconclusive: Function 'mousepad_settings_store_lookup' argument 1 names different: declaration 'store' definition 'self'. [funcArgNamesDifferent] mousepad-0.6.5/mousepad/mousepad-settings-store.h:43:56: note: Function 'mousepad_settings_store_lookup' argument 1 names different: declaration 'store' definition 'self'. mousepad-0.6.5/mousepad/mousepad-settings-store.c:286:56: note: Function 'mousepad_settings_store_lookup' argument 1 names different: declaration 'store' definition 'self'. 2.18.0 mousepad-0.6.5/mousepad/mousepad-settings-store.c:96:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SEARCHPATH_SEPARATOR_S [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-statusbar.c:103:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_NONE [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-statusbar.c:175:55: style: Parameter 'event' can be declared as pointer to const. However it seems that 'mousepad_statusbar_overwrite_clicked' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mousepad-0.6.5/mousepad/mousepad-statusbar.c:161:3: note: You might need to cast the function pointer here mousepad-0.6.5/mousepad/mousepad-statusbar.c:175:55: note: Parameter 'event' can be declared as pointer to const 2.18.0 mousepad-0.6.5/mousepad/mousepad-statusbar.c:181:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-statusbar.c:208:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-statusbar.c:76:17: style: Variable 'gobject_class' can be declared as pointer to const [constVariablePointer] 2.18.0 mousepad-0.6.5/mousepad/mousepad-statusbar.c:85:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_BOOLEAN [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-util.c:1127:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-util.c:281:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_BUTTON [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-util.c:310:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STYLE_CLASS_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-util.c:372:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_DIALOG [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-util.c:430:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_DIALOG [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-util.c:501:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STYLE_PROVIDER_PRIORITY_APPLICATION [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-util.c:630:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-util.c:735:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-util.c:751:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-util.c:774:14: style: Return value 'a!=b' is always true [knownConditionTrueFalse] mousepad-0.6.5/mousepad/mousepad-util.c:773:7: note: Assuming that condition 'b==NULL' is not redundant mousepad-0.6.5/mousepad/mousepad-util.c:774:14: note: Return value 'a!=b' is always true 2.18.0 mousepad-0.6.5/mousepad/mousepad-util.c:870:14: style: Return value 'a!=b' is always true [knownConditionTrueFalse] mousepad-0.6.5/mousepad/mousepad-util.c:869:7: note: Assuming that condition 'b==NULL' is not redundant mousepad-0.6.5/mousepad/mousepad-util.c:870:14: note: Return value 'a!=b' is always true 2.18.0 mousepad-0.6.5/mousepad/mousepad-util.c:950:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_FONT_MASK_FAMILY [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-view.c:1046:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-view.c:1445:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STYLE_PROVIDER_PRIORITY_APPLICATION [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-view.c:1459:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SOURCE_SPACE_TYPE_NONE [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-view.c:181:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_WRITABLE [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-view.c:262:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BINDING_SYNC_CREATE [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-view.c:287:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SOURCE_SPACE_LOCATION_ALL [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-view.c:340:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mousepad_view_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-view.c:349:41: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'mousepad_view_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mousepad-0.6.5/mousepad/mousepad-view.c:155:33: note: You might need to cast the function pointer here mousepad-0.6.5/mousepad/mousepad-view.c:349:41: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 mousepad-0.6.5/mousepad/mousepad-view.c:395:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mousepad_view_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-view.c:416:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mousepad_view_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-view.c:533:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mousepad_view_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-view.c:542:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mousepad_view_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-view.c:605:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mousepad_view_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-view.c:701:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mousepad_view_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-view.c:710:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mousepad_view_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-view.c:722:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mousepad_view_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-view.c:809:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXINT [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:1100:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:1180:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STYLE_PROVIDER_PRIORITY_APPLICATION [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:1190:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_NOTEBOOK [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:1262:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_SWAPPED [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:1336:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DEST_DEFAULT_MOTION [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:1373:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_STATE_MAXIMIZED [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:1453:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mousepad_window_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:1479:47: style: Parameter 'event' can be declared as pointer to const. However it seems that 'mousepad_window_scroll_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mousepad-0.6.5/mousepad/mousepad-window.c:706:35: note: You might need to cast the function pointer here mousepad-0.6.5/mousepad/mousepad-window.c:1479:47: note: Parameter 'event' can be declared as pointer to const 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:1483:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SCROLL_UP [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:1510:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_STATE_FULLSCREEN [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:1541:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mousepad_window_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:1630:47: style: Parameter 'settings' can be declared as pointer to const. However it seems that 'mousepad_window_menu_item_show_icon' is a callback function, if 'settings' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mousepad-0.6.5/mousepad/mousepad-window.c:1791:36: note: You might need to cast the function pointer here mousepad-0.6.5/mousepad/mousepad-window.c:1630:47: note: Parameter 'settings' can be declared as pointer to const 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:1634:18: style: Variable 'replace_gicon' can be declared as pointer to const [constVariablePointer] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:1724:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STYLE_PROVIDER_PRIORITY_APPLICATION [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:1900:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MENU_LINK_SECTION [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:2525:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_STATE_FULLSCREEN [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:2568:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_PRESS [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:2640:53: style:inconclusive: Function 'mousepad_window_update_bar_visibility' argument 2 names different: declaration 'key' definition 'hint'. [funcArgNamesDifferent] mousepad-0.6.5/mousepad/mousepad-window.c:138:53: note: Function 'mousepad_window_update_bar_visibility' argument 2 names different: declaration 'key' definition 'hint'. mousepad-0.6.5/mousepad/mousepad-window.c:2640:53: note: Function 'mousepad_window_update_bar_visibility' argument 2 names different: declaration 'key' definition 'hint'. 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:3019:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:3242:49: style: Parameter 'file' can be declared as pointer to const. However it seems that 'mousepad_window_location_changed' is a callback function, if 'file' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mousepad-0.6.5/mousepad/mousepad-window.c:2924:3: note: You might need to cast the function pointer here mousepad-0.6.5/mousepad/mousepad-window.c:3242:49: note: Parameter 'file' can be declared as pointer to const 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:3243:42: style: Parameter 'location' can be declared as pointer to const. However it seems that 'mousepad_window_location_changed' is a callback function, if 'location' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mousepad-0.6.5/mousepad/mousepad-window.c:2924:3: note: You might need to cast the function pointer here mousepad-0.6.5/mousepad/mousepad-window.c:3243:42: note: Parameter 'location' can be declared as pointer to const 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:3286:50: style: Parameter 'buffer' can be declared as pointer to const. However it seems that 'mousepad_window_modified_changed' is a callback function, if 'buffer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mousepad-0.6.5/mousepad/mousepad-window.c:2922:3: note: You might need to cast the function pointer here mousepad-0.6.5/mousepad/mousepad-window.c:3286:50: note: Parameter 'buffer' can be declared as pointer to const 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:3486:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:3617:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USER_DIRECTORY_TEMPLATES [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:3759:47: style:inconclusive: Function 'mousepad_window_menu_textview_popup' argument 2 names different: declaration 'old_menu' definition 'menu'. [funcArgNamesDifferent] mousepad-0.6.5/mousepad/mousepad-window.c:230:47: note: Function 'mousepad_window_menu_textview_popup' argument 2 names different: declaration 'old_menu' definition 'menu'. mousepad-0.6.5/mousepad/mousepad-window.c:3759:47: note: Function 'mousepad_window_menu_textview_popup' argument 2 names different: declaration 'old_menu' definition 'menu'. 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:4495:19: style: Variable 'file' can be declared as pointer to const [constVariablePointer] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:4503:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:4518:30: error: Allocation with g_application_get_default, g_signal_emit_by_name doesn't release it. [leakNoVarFunctionCall] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:4695:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:5006:66: error: Invalid g_variant_new_int32() argument nr 1. A non-boolean value is required. [invalidFunctionArgBool] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:5181:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TEXT_WINDOW_WIDGET [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:5268:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SOURCE_CHANGE_CASE_LOWER [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:5284:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SOURCE_CHANGE_CASE_UPPER [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:5300:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SOURCE_CHANGE_CASE_TITLE [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:5316:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SOURCE_CHANGE_CASE_TOGGLE [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:5760:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VALUE_INIT [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:685:43: style: Parameter 'application' can be declared as pointer to const [constParameterPointer] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:737:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:746:43: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'mousepad_window_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mousepad-0.6.5/mousepad/mousepad-window.c:699:33: note: You might need to cast the function pointer here mousepad-0.6.5/mousepad/mousepad-window.c:746:43: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:767:43: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'mousepad_window_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mousepad-0.6.5/mousepad/mousepad-window.c:700:33: note: You might need to cast the function pointer here mousepad-0.6.5/mousepad/mousepad-window.c:767:43: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:769:19: style: Variable 'window' can be declared as pointer to const [constVariablePointer] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:797:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mousepad_window_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:958:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_ENTER_NOTIFY_MASK [valueFlowBailoutIncompleteVar] 2.18.0 mousepad-0.6.5/mousepad/mousepad-window.c:991:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TOOLBAR_ICONS [valueFlowBailoutIncompleteVar] head mousepad-0.6.5/plugins/shortcuts-plugin/shortcuts-plugin.c:441:17: style: Variable 'lp' can be declared as pointer to const [constVariablePointer] DONE