2025-09-02 14:11 ftp://ftp.de.debian.org/debian/pool/main/p/pcmanfm/pcmanfm_1.4.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=motif --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.12.41+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: 2b51b48 (2025-09-01 15:35:55 +0200) count: 32 265 elapsed-time: 0.2 1.4 head-timing-info: old-timing-info: head results: pcmanfm-1.4.0/src/desktop-ui.c:58:0: error: failed to evaluate #if condition, undefined function-like macro invocation: FM_CHECK_VERSION( ... ) [preprocessorErrorDirective] pcmanfm-1.4.0/src/desktop-ui.c:58:2: error: failed to evaluate #if condition, undefined function-like macro invocation: FM_CHECK_VERSION( ... ) [preprocessorErrorDirective] pcmanfm-1.4.0/src/main-win-ui.c:78:0: error: failed to evaluate #if condition, undefined function-like macro invocation: FM_CHECK_VERSION( ... ) [preprocessorErrorDirective] pcmanfm-1.4.0/src/main-win-ui.c:78:2: error: failed to evaluate #if condition, undefined function-like macro invocation: FM_CHECK_VERSION( ... ) [preprocessorErrorDirective] pcmanfm-1.4.0/src/connect-server.c:53:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] pcmanfm-1.4.0/src/connect-server.c:234:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_UI_DIR [valueFlowBailoutIncompleteVar] pcmanfm-1.4.0/src/desktop.h:88:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] pcmanfm-1.4.0/src/desktop.h:88:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] pcmanfm-1.4.0/src/gseal-gtk-compat.h:27:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] pcmanfm-1.4.0/src/gseal-gtk-compat.h:27:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] pcmanfm-1.4.0/src/app-config.c:59:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] pcmanfm-1.4.0/src/app-config.c:208:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] pcmanfm-1.4.0/src/app-config.c:469:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_app_config_parent_class [valueFlowBailoutIncompleteVar] pcmanfm-1.4.0/src/app-config.c:499:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FM_SP_PLACES [valueFlowBailoutIncompleteVar] pcmanfm-1.4.0/src/app-config.c:564:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COL_FILE_MTIME [valueFlowBailoutIncompleteVar] pcmanfm-1.4.0/src/app-config.c:798:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dir [valueFlowBailoutIncompleteVar] pcmanfm-1.4.0/src/app-config.c:888:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] pcmanfm-1.4.0/src/app-config.c:981:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FM_FV_LIST_VIEW [valueFlowBailoutIncompleteVar] pcmanfm-1.4.0/src/single-inst.c:418:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] pcmanfm-1.4.0/src/single-inst.c:418:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] pcmanfm-1.4.0/src/volume-manager.c:58:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CLOSE [valueFlowBailoutIncompleteVar] pcmanfm-1.4.0/src/volume-manager.c:64:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] pcmanfm-1.4.0/src/volume-manager.c:84:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] pcmanfm-1.4.0/src/volume-manager.c:105:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] pcmanfm-1.4.0/src/volume-manager.c:161:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] pcmanfm-1.4.0/src/volume-manager.c:266:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_UI_DIR [valueFlowBailoutIncompleteVar] pcmanfm-1.4.0/src/volume-manager.c:342:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] pcmanfm-1.4.0/src/volume-manager.c:358:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] pcmanfm-1.4.0/src/volume-manager.c:395:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] pcmanfm-1.4.0/src/app-config.c:1177:9: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] pcmanfm-1.4.0/src/app-config.c:1146:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pcmanfm-1.4.0/src/app-config.c:1075:35: style: Parameter 'key' can be declared as pointer to const. However it seems that '_save_choice' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/app-config.c:1117:56: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/app-config.c:1075:35: note: Parameter 'key' can be declared as pointer to const diff: head pcmanfm-1.4.0/src/desktop-ui.c:58:0: error: failed to evaluate #if condition, undefined function-like macro invocation: FM_CHECK_VERSION( ... ) [preprocessorErrorDirective] head pcmanfm-1.4.0/src/desktop-ui.c:58:2: error: failed to evaluate #if condition, undefined function-like macro invocation: FM_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 pcmanfm-1.4.0/src/desktop.c:1015:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATK_STATE_DEFUNCT [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:1032:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATK_STATE_DEFUNCT [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:1066:16: style: Variable 'desktop' can be declared as pointer to const [constVariablePointer] 2.18.0 pcmanfm-1.4.0/src/desktop.c:1075:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATK_STATE_FOCUSED [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:1106:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATK_STATE_VISIBLE [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:1181:104: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] 2.18.0 pcmanfm-1.4.0/src/desktop.c:1240:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATK_STATE_SELECTED [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:1279:30: style: Variable 'item' can be declared as pointer to const [constVariablePointer] 2.18.0 pcmanfm-1.4.0/src/desktop.c:1327:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATK_STATE_SELECTED [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:1387:67: style: Parameter 'action' can be declared as pointer to const. However it seems that 'fm_desktop_accessible_action_get_n_actions' is a callback function, if 'action' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/desktop.c:1409:28: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/desktop.c:1387:67: note: Parameter 'action' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/desktop.c:1399:70: style: Parameter 'action' can be declared as pointer to const. However it seems that 'fm_desktop_accessible_action_get_name' is a callback function, if 'action' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/desktop.c:1411:23: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/desktop.c:1399:70: note: Parameter 'action' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/desktop.c:1425:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATK_STATE_DEFUNCT [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:1440:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 pcmanfm-1.4.0/src/desktop.c:1465:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATK_ROLE_WINDOW [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:1470:61: style:inconclusive: Function 'fm_desktop_accessible_init' argument 1 names different: declaration 'self' definition 'object'. [funcArgNamesDifferent] pcmanfm-1.4.0/src/desktop.c:1137:61: note: Function 'fm_desktop_accessible_init' argument 1 names different: declaration 'self' definition 'object'. pcmanfm-1.4.0/src/desktop.c:1470:61: note: Function 'fm_desktop_accessible_init' argument 1 names different: declaration 'self' definition 'object'. 2.18.0 pcmanfm-1.4.0/src/desktop.c:1488: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] 2.18.0 pcmanfm-1.4.0/src/desktop.c:1532:76: style: Parameter 'factory' can be declared as pointer to const [constParameterPointer] 2.18.0 pcmanfm-1.4.0/src/desktop.c:1539:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_desktop_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:1567:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATK_STATE_DEFUNCT [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:1630:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATK_STATE_SELECTED [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:1647:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATK_STATE_FOCUSED [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:1663:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATK_STATE_FOCUSED [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:1681:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATK_STATE_DEFUNCT [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:1737:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COL_FILE_ICON [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:1821:113: style: Parameter 'icon' can be declared as pointer to const [constParameterPointer] 2.18.0 pcmanfm-1.4.0/src/desktop.c:1860:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_CELL_RENDERER_SELECTED [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:1970:49: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] 2.18.0 pcmanfm-1.4.0/src/desktop.c:2073:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_SELECTED [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:2332:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:2435:42: style: Parameter 'iter' can be declared as pointer to const. However it seems that 'on_row_deleting' is a callback function, if 'iter' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/desktop.c:4793:58: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/desktop.c:2435:42: note: Parameter 'iter' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/desktop.c:2480:11: style: Variable 'indices' can be declared as pointer to const [constVariablePointer] 2.18.0 pcmanfm-1.4.0/src/desktop.c:2498:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COL_FILE_INFO [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:2538:13: style: Variable 'working_area' can be declared as pointer to const [constVariablePointer] 2.18.0 pcmanfm-1.4.0/src/desktop.c:2546:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_CARDINAL [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:2602:22: style: Variable 'evt' can be declared as pointer to const [constVariablePointer] 2.18.0 pcmanfm-1.4.0/src/desktop.c:2604:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PropertyNotify [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:2655:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable big_icon_size [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:2659:49: style: Parameter 'theme' can be declared as pointer to const. However it seems that 'on_icon_theme_changed' is a callback function, if 'theme' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/desktop.c:5883:26: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/desktop.c:2659:49: note: Parameter 'theme' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/desktop.c:2659:65: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'on_icon_theme_changed' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/desktop.c:5883:26: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/desktop.c:2659:65: note: Parameter 'user_data' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/desktop.c:2911:48: style: Parameter 'rect' can be declared as pointer to const [constParameterPointer] 2.18.0 pcmanfm-1.4.0/src/desktop.c:2924:8: style: Condition 'model' is always true [knownConditionTrueFalse] 2.18.0 pcmanfm-1.4.0/src/desktop.c:3107:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:3177:57: style: Parameter 'evt' can be declared as pointer to const. However it seems that 'on_expose' is a callback function, if 'evt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/desktop.c:5057:34: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/desktop.c:3177:57: note: Parameter 'evt' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/desktop.c:3199:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cr [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:3257:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_SCALE [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:3321:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable monitor [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:3336:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:3347:20: style: Variable 'item' can be declared as pointer to const [constVariablePointer] 2.18.0 pcmanfm-1.4.0/src/desktop.c:3349:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FM_FV_CLICK_NONE [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:3406:20: style: Condition 'old_focus' is always true [knownConditionTrueFalse] 2.18.0 pcmanfm-1.4.0/src/desktop.c:3538:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable single_click [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:3565:64: style: Parameter 'evt' can be declared as pointer to const. However it seems that 'on_motion_notify' is a callback function, if 'evt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/desktop.c:5063:41: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/desktop.c:3565:64: note: Parameter 'evt' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/desktop.c:3570:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable single_click [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:3650:49: style: Parameter 'focus' can be declared as pointer to const [constParameterPointer] 2.18.0 pcmanfm-1.4.0/src/desktop.c:3668:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_FOCUS_CHANGE [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:3731:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable search_timeout_id [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:3760:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_NORMALIZE_ALL [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:3807:61: style: Parameter 'evt' can be declared as pointer to const. However it seems that 'desktop_search_scroll_event' is a callback function, if 'evt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/desktop.c:4898:67: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/desktop.c:3807:61: note: Parameter 'evt' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/desktop.c:3813:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SCROLL_UP [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:3830:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:3838:61: style: Parameter 'evt' can be declared as pointer to const. However it seems that 'desktop_search_key_press_event' is a callback function, if 'evt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/desktop.c:4899:67: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/desktop.c:3838:61: note: Parameter 'evt' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/desktop.c:3845:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Escape [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:3892:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FM_FV_ACTIVATED [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:3965:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_NORMALIZE_ALL [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:3997:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_POPUP [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:4030:1: error: Memory leak: frame [memleak] 2.18.0 pcmanfm-1.4.0/src/desktop.c:4060:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:4160:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:4292:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_desktop_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:4386:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_ACTION_MOVE [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:4439:20: style: Variable 'item' can be declared as pointer to const [constVariablePointer] 2.18.0 pcmanfm-1.4.0/src/desktop.c:4449:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_ACTION_MOVE [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:4545:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:4590:18: style: Variable 'src' can be declared as pointer to const [constVariablePointer] 2.18.0 pcmanfm-1.4.0/src/desktop.c:4654:47: style: Parameter 'folder' can be declared as pointer to const. However it seems that 'on_folder_start_loading' is a callback function, if 'folder' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/desktop.c:4789:50: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/desktop.c:4654:47: note: Parameter 'folder' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/desktop.c:4654:64: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'on_folder_start_loading' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/desktop.c:4789:50: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/desktop.c:4654:64: note: Parameter 'user_data' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/desktop.c:4673:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:4760:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable big_icon_size [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:4908:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_desktop_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:4930:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_desktop_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:5007:38: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] 2.18.0 pcmanfm-1.4.0/src/desktop.c:5013:70: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'fm_desktop_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/desktop.c:5095:34: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/desktop.c:5013:70: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/desktop.c:5018:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable monitor [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:5025:46: style: Parameter 'object' can be declared as pointer to const. However it seems that 'fm_desktop_get_property' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/desktop.c:5096:34: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/desktop.c:5025:46: note: Parameter 'object' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/desktop.c:5026:64: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'fm_desktop_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/desktop.c:5096:34: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/desktop.c:5026:64: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/desktop.c:5031:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable monitor [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:5101:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:5116:41: style: Parameter 'fv' can be declared as pointer to const. However it seems that '_set_sel_mode' is a callback function, if 'fv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/desktop.c:5325:27: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/desktop.c:5116:41: note: Parameter 'fv' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/desktop.c:5121:53: style: Parameter 'fv' can be declared as pointer to const. However it seems that '_get_sel_mode' is a callback function, if 'fv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/desktop.c:5326:27: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/desktop.c:5121:53: note: Parameter 'fv' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/desktop.c:5153:44: style: Parameter 'fv' can be declared as pointer to const. However it seems that '_set_show_hidden' is a callback function, if 'fv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/desktop.c:5331:30: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/desktop.c:5153:44: note: Parameter 'fv' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/desktop.c:5158:48: style: Parameter 'fv' can be declared as pointer to const. However it seems that '_get_show_hidden' is a callback function, if 'fv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/desktop.c:5332:30: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/desktop.c:5158:48: note: Parameter 'fv' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/desktop.c:5170:38: style: Parameter 'fv' can be declared as pointer to const. However it seems that '_set_model' is a callback function, if 'fv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/desktop.c:5334:24: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/desktop.c:5170:38: note: Parameter 'fv' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/desktop.c:5170:57: style: Parameter 'model' can be declared as pointer to const. However it seems that '_set_model' is a callback function, if 'model' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/desktop.c:5334:24: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/desktop.c:5170:57: note: Parameter 'model' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/desktop.c:5177:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable model [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:5194:24: style: Variable 'item' can be declared as pointer to const [constVariablePointer] 2.18.0 pcmanfm-1.4.0/src/desktop.c:5302:42: style: Parameter 'fv' can be declared as pointer to const. However it seems that '_select_invert' is a callback function, if 'fv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/desktop.c:5341:28: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/desktop.c:5302:42: note: Parameter 'fv' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/desktop.c:5307:45: style: Parameter 'fv' can be declared as pointer to const. However it seems that '_select_file_path' is a callback function, if 'fv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/desktop.c:5342:31: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/desktop.c:5307:45: note: Parameter 'fv' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/desktop.c:5307:57: style: Parameter 'path' can be declared as pointer to const. However it seems that '_select_file_path' is a callback function, if 'path' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/desktop.c:5342:31: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/desktop.c:5307:57: note: Parameter 'path' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/desktop.c:5508:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:5688:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_UI_DIR [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:5820:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USER_DIRECTORY_DESKTOP [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:819:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATK_STATE_ENABLED [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:874:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATK_STATE_DEFUNCT [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:894:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATK_STATE_DEFUNCT [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:909:83: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] 2.18.0 pcmanfm-1.4.0/src/desktop.c:939:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FM_FV_CONTEXT_MENU [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:957:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATK_STATE_DEFUNCT [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/desktop.c:967:72: style: Parameter 'action' can be declared as pointer to const. However it seems that 'fm_desktop_item_accessible_action_get_n_actions' is a callback function, if 'action' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/desktop.c:993:28: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/desktop.c:967:72: note: Parameter 'action' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/desktop.c:981:75: style: Parameter 'action' can be declared as pointer to const. However it seems that 'fm_desktop_item_accessible_action_get_name' is a callback function, if 'action' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/desktop.c:995:23: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/desktop.c:981:75: note: Parameter 'action' can be declared as pointer to const head pcmanfm-1.4.0/src/desktop.h:88:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head pcmanfm-1.4.0/src/desktop.h:88:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head pcmanfm-1.4.0/src/gseal-gtk-compat.h:27:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head pcmanfm-1.4.0/src/gseal-gtk-compat.h:27:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head pcmanfm-1.4.0/src/main-win-ui.c:78:0: error: failed to evaluate #if condition, undefined function-like macro invocation: FM_CHECK_VERSION( ... ) [preprocessorErrorDirective] head pcmanfm-1.4.0/src/main-win-ui.c:78:2: error: failed to evaluate #if condition, undefined function-like macro invocation: FM_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 pcmanfm-1.4.0/src/main-win.c:1098:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_main_win_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:1107:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_main_win_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:1116:16: style: Variable 'win' can be declared as pointer to const [constVariablePointer] 2.18.0 pcmanfm-1.4.0/src/main-win.c:1120:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:1152:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_UI_DIR [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:1182:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONS_OK [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:1274:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:1326:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:1349:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:1472:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_main_win_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:158:18: style: Redundant initialization for 'widget_class'. The initialized value is overwritten before it is read. [redundantInitialization] pcmanfm-1.4.0/src/main-win.c:148:34: note: widget_class is initialized pcmanfm-1.4.0/src/main-win.c:158:18: note: widget_class is overwritten 2.18.0 pcmanfm-1.4.0/src/main-win.c:1598:16: style: Variable 'current_focus' can be declared as pointer to const [constVariablePointer] 2.18.0 pcmanfm-1.4.0/src/main-win.c:1623:83: style: Parameter 'evt' can be declared as pointer to const. However it seems that 'on_tab_label_button_pressed' is a callback function, if 'evt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/main-win.c:1673:5: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/main-win.c:1623:83: note: Parameter 'evt' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/main-win.c:1637:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:165:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_main_win_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:1668:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:1684:79: style: Parameter 'evt' can be declared as pointer to const. However it seems that 'on_window_state_event' is a callback function, if 'evt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/main-win.c:1704:5: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/main-win.c:1684:79: note: Parameter 'evt' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/main-win.c:1686:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_STATE_FULLSCREEN [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:1699:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:1808:37: style:inconclusive: Function 'on_copy_path' argument 1 names different: declaration 'act' definition 'action'. [funcArgNamesDifferent] pcmanfm-1.4.0/src/main-win.c:75:37: note: Function 'on_copy_path' argument 1 names different: declaration 'act' definition 'action'. pcmanfm-1.4.0/src/main-win.c:1808:37: note: Function 'on_copy_path' argument 1 names different: declaration 'act' definition 'action'. 2.18.0 pcmanfm-1.4.0/src/main-win.c:1811:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:1855:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:1865:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:1874:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:1883:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:1892:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:1900:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:190:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:1957:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable big_icon_size [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:2010:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable big_icon_size [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:2061:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable big_icon_size [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:2086:50: style: Parameter 'fv' can be declared as pointer to const. However it seems that 'on_folder_view_clicked' is a callback function, if 'fv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/main-win.c:2391:46: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/main-win.c:2086:50: note: Parameter 'fv' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/main-win.c:2110:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:2208:71: style: Parameter 'fv' can be declared as pointer to const [constParameterPointer] 2.18.0 pcmanfm-1.4.0/src/main-win.c:2222:64: style:inconclusive: Function 'on_notebook_switch_page' argument 2 names different: declaration 'page' definition 'new_page'. [funcArgNamesDifferent] pcmanfm-1.4.0/src/main-win.c:133:64: note: Function 'on_notebook_switch_page' argument 2 names different: declaration 'page' definition 'new_page'. pcmanfm-1.4.0/src/main-win.c:2222:64: note: Function 'on_notebook_switch_page' argument 2 names different: declaration 'page' definition 'new_page'. 2.18.0 pcmanfm-1.4.0/src/main-win.c:2269:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_SELECTED [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:226:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:2352:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:2416:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:2466:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_MOD1_MASK [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:2508:18: style: Variable 'path' can be declared as const array [constVariable] 2.18.0 pcmanfm-1.4.0/src/main-win.c:2544:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_main_win_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:2557:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:2610:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:2637:17: style: Variable 'num' is assigned a value that is never used. [unreadVariable] 2.18.0 pcmanfm-1.4.0/src/main-win.c:2660:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tab_label [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:2685:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:334:55: style: Parameter 'fv' can be declared as pointer to const. However it seems that 'on_folder_view_sort_changed' is a callback function, if 'fv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/main-win.c:2383:46: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/main-win.c:334:55: note: Parameter 'fv' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/main-win.c:387:72: style: Parameter 'evt' can be declared as pointer to const. However it seems that 'on_view_key_press_event' is a callback function, if 'evt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/main-win.c:2381:46: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/main-win.c:387:72: note: Parameter 'evt' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/main-win.c:401:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:432:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_path_unref [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:576:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:629:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:642:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:659:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:697:47: style: Parameter 'cfg' can be declared as pointer to const. However it seems that 'on_statusbar_changed' is a callback function, if 'cfg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/main-win.c:1068:58: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/main-win.c:697:47: note: Parameter 'cfg' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/main-win.c:708:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:724:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:766:21: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 pcmanfm-1.4.0/src/main-win.c:813:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/main-win.c:972:24: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 pcmanfm-1.4.0/src/pcmanfm.c:124:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_STATUS_AGAIN [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/pcmanfm.c:194:44: style: Parameter 'cfg' can be declared as pointer to const. However it seems that 'on_config_changed' is a callback function, if 'cfg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/pcmanfm.c:274:5: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/pcmanfm.c:194:44: note: Parameter 'cfg' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/pcmanfm.c:194:58: style: Parameter '_unused' can be declared as pointer to const. However it seems that 'on_config_changed' is a callback function, if '_unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/pcmanfm.c:274:5: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/pcmanfm.c:194:58: note: Parameter '_unused' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/pcmanfm.c:215:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/pcmanfm.c:541:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/pcmanfm.c:563:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/pcmanfm.c:583:46: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'on_save_config_idle' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/pcmanfm.c:601:87: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/pcmanfm.c:583:46: note: Parameter 'user_data' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/pcmanfm.c:595:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/pcmanfm.c:627:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable terminal [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/pref.c:105:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/pref.c:120:10: style: Variable 'val' can be declared as pointer to const [constVariablePointer] 2.18.0 pcmanfm-1.4.0/src/pref.c:120:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/pref.c:137:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable archiver [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/pref.c:252:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/pref.c:268:15: style: Variable 'val' can be declared as pointer to const [constVariablePointer] 2.18.0 pcmanfm-1.4.0/src/pref.c:268:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/pref.c:281:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable single_click [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/pref.c:311:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable use_trash [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/pref.c:327:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/pref.c:334:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/pref.c:349:12: style: Variable 'val' can be declared as pointer to const [constVariablePointer] 2.18.0 pcmanfm-1.4.0/src/pref.c:349:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/pref.c:359:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/pref.c:375:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/pref.c:418:57: style: Parameter 'evt' can be declared as pointer to const. However it seems that 'on_key_press' is a callback function, if 'evt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/pref.c:1022:9: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/pref.c:418:57: note: Parameter 'evt' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/pref.c:422:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_MOD1_MASK [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/pref.c:437:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/pref.c:469:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/pref.c:69:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/pref.c:706:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_UI_DIR [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/pref.c:827:31: style: Local variable 'tree_sel' shadows outer variable [shadowVariable] pcmanfm-1.4.0/src/pref.c:700:27: note: Shadowed declaration pcmanfm-1.4.0/src/pref.c:827:31: note: Shadow variable 2.18.0 pcmanfm-1.4.0/src/pref.c:833:25: style: Local variable 'it' shadows outer variable [shadowVariable] pcmanfm-1.4.0/src/pref.c:703:21: note: Shadowed declaration pcmanfm-1.4.0/src/pref.c:833:25: note: Shadow variable 2.18.0 pcmanfm-1.4.0/src/pref.c:87:10: style: Variable 'val' can be declared as pointer to const [constVariablePointer] 2.18.0 pcmanfm-1.4.0/src/pref.c:87:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/pref.c:899:24: style: Local variable 'page' shadows outer argument [shadowArgument] pcmanfm-1.4.0/src/pref.c:694:49: note: Shadowed declaration pcmanfm-1.4.0/src/pref.c:899:24: note: Shadow variable 2.18.0 pcmanfm-1.4.0/src/single-inst.c:191:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/single-inst.c:300:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/single-inst.c:314:21: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] 2.18.0 pcmanfm-1.4.0/src/single-inst.c:335:27: style: Local variable 'str' shadows outer variable [shadowVariable] pcmanfm-1.4.0/src/single-inst.c:302:18: note: Shadowed declaration pcmanfm-1.4.0/src/single-inst.c:335:27: note: Shadow variable 2.18.0 pcmanfm-1.4.0/src/single-inst.c:369:85: style:inconclusive: Function 'on_server_socket_event' argument 3 names different: declaration 'data' definition 'user_data'. [funcArgNamesDifferent] pcmanfm-1.4.0/src/single-inst.c:53:85: note: Function 'on_server_socket_event' argument 3 names different: declaration 'data' definition 'user_data'. pcmanfm-1.4.0/src/single-inst.c:369:85: note: Function 'on_server_socket_event' argument 3 names different: declaration 'data' definition 'user_data'. 2.18.0 pcmanfm-1.4.0/src/single-inst.c:373:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/single-inst.c:405:45: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] 2.18.0 pcmanfm-1.4.0/src/single-inst.c:408:11: style: Variable 'host' can be declared as pointer to const [constVariablePointer] head pcmanfm-1.4.0/src/single-inst.c:418:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head pcmanfm-1.4.0/src/single-inst.c:418:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 pcmanfm-1.4.0/src/single-inst.c:429:1: error: Memory leak: host [memleak] 2.18.0 pcmanfm-1.4.0/src/single-inst.c:59:5: error: Memory pointed to by 'channel' is freed twice. [doubleFree] pcmanfm-1.4.0/src/single-inst.c:58:5: note: Memory pointed to by 'channel' is freed twice. pcmanfm-1.4.0/src/single-inst.c:59:5: note: Memory pointed to by 'channel' is freed twice. 2.18.0 pcmanfm-1.4.0/src/single-inst.c:78:13: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] pcmanfm-1.4.0/src/single-inst.c:72:21: note: Assuming allocation function fails pcmanfm-1.4.0/src/single-inst.c:72:21: note: Assignment 'f=fdopen(sock,"w")', assigned value is 0 pcmanfm-1.4.0/src/single-inst.c:78:13: note: Null pointer dereference 2.18.0 pcmanfm-1.4.0/src/single-inst.c:83:13: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] pcmanfm-1.4.0/src/single-inst.c:72:21: note: Assuming allocation function fails pcmanfm-1.4.0/src/single-inst.c:72:21: note: Assignment 'f=fdopen(sock,"w")', assigned value is 0 pcmanfm-1.4.0/src/single-inst.c:83:13: note: Null pointer dereference 2.18.0 pcmanfm-1.4.0/src/tab-page.c:1078:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DETAIL [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/tab-page.c:1178:50: style: Parameter 'page' can be declared as pointer to const [constParameterPointer] 2.18.0 pcmanfm-1.4.0/src/tab-page.c:1183:54: style: Parameter 'page' can be declared as pointer to const [constParameterPointer] 2.18.0 pcmanfm-1.4.0/src/tab-page.c:1193:50: style: Parameter 'page' can be declared as pointer to const [constParameterPointer] 2.18.0 pcmanfm-1.4.0/src/tab-page.c:128:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_POINTER [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/tab-page.c:1313:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_NORMAL [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/tab-page.c:1366:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_ACTIVE [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/tab-page.c:192:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_tab_page_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/tab-page.c:277:37: style:inconclusive: Function 'fm_tab_page_destroy' argument 1 names different: declaration 'page' definition 'object'. [funcArgNamesDifferent] pcmanfm-1.4.0/src/tab-page.c:96:44: note: Function 'fm_tab_page_destroy' argument 1 names different: declaration 'page' definition 'object'. pcmanfm-1.4.0/src/tab-page.c:277:37: note: Function 'fm_tab_page_destroy' argument 1 names different: declaration 'page' definition 'object'. 2.18.0 pcmanfm-1.4.0/src/tab-page.c:342:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_tab_page_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/tab-page.c:381:29: style: Condition 'size_str' is always true [knownConditionTrueFalse] 2.18.0 pcmanfm-1.4.0/src/tab-page.c:436:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable si_unit [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/tab-page.c:518:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/tab-page.c:542:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_tab_page_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/tab-page.c:549:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable busy [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/tab-page.c:700:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/tab-page.c:718:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/tab-page.c:744:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable si_unit [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/tab-page.c:777:43: style: Parameter 'act' can be declared as pointer to const. However it seems that 'on_open_in_new_tab' is a callback function, if 'act' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/tab-page.c:57:63: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/tab-page.c:777:43: note: Parameter 'act' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/tab-page.c:793:43: style: Parameter 'act' can be declared as pointer to const. However it seems that 'on_open_in_new_win' is a callback function, if 'act' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/tab-page.c:58:70: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/tab-page.c:793:43: note: Parameter 'act' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/tab-page.c:809:51: style: Parameter 'act' can be declared as pointer to const. However it seems that 'on_open_folder_in_terminal' is a callback function, if 'act' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pcmanfm-1.4.0/src/tab-page.c:60:73: note: You might need to cast the function pointer here pcmanfm-1.4.0/src/tab-page.c:809:51: note: Parameter 'act' can be declared as pointer to const 2.18.0 pcmanfm-1.4.0/src/tab-page.c:840:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_file_info_list_unref [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/tab-page.c:858:21: style: Local variable 'fi' shadows outer variable [shadowVariable] pcmanfm-1.4.0/src/tab-page.c:853:17: note: Shadowed declaration pcmanfm-1.4.0/src/tab-page.c:858:21: note: Shadow variable 2.18.0 pcmanfm-1.4.0/src/tab-page.c:901:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/tab-page.c:923:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fm_config [valueFlowBailoutIncompleteVar] 2.18.0 pcmanfm-1.4.0/src/tab-page.c:952:19: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] DONE