2025-07-05 22:48 ftp://ftp.de.debian.org/debian/pool/main/s/spacefm/spacefm_1.0.6.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 -j10 platform: Linux-6.8.12-11-pve-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 9b11b6b (2025-07-04 16:03:30 +0200) count: 1538 1662 elapsed-time: 16.5 18.0 head-timing-info: old-timing-info: head results: spacefm-1.0.6/src/desktop/working-area.c:64:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-binding.c:203:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ExoBinding [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-binding.c:235:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ExoMutualBinding [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-binding.c:361:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_value_transform [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-binding.c:461:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_value_transform [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-cell-renderer-ellipsized-text.c:192:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-cell-renderer-ellipsized-text.c:284:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exo_cell_renderer_ellipsized_text_parent_class [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-cell-renderer-ellipsized-text.c:434:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_CELL_RENDERER_SELECTED [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/working-area.c:37:10: style: Variable 'workareas' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/desktop/working-area.c:78:11: style: Variable 'desktops' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/exo/exo-gdk-pixbuf-extensions.c:291:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-gdk-pixbuf-extensions.c:510:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-marshal.c:65:30: debug: Scope::checkVariable found variable 'data2' with varid 0. [varid0] spacefm-1.0.6/src/exo/exo-marshal.c:102:30: debug: Scope::checkVariable found variable 'data2' with varid 0. [varid0] spacefm-1.0.6/src/exo/exo-cell-renderer-icon.c:173:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-marshal.c:138:30: debug: Scope::checkVariable found variable 'data2' with varid 0. [varid0] spacefm-1.0.6/src/exo/exo-cell-renderer-icon.c:263:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exo_cell_renderer_icon_parent_class [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-marshal.c:178:30: debug: Scope::checkVariable found variable 'data2' with varid 0. [varid0] spacefm-1.0.6/src/exo/exo-cell-renderer-icon.c:322:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v_uint [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-marshal.c:217:30: debug: Scope::checkVariable found variable 'data2' with varid 0. [varid0] spacefm-1.0.6/src/exo/exo-cell-renderer-icon.c:506:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_LOOKUP_USE_BUILTIN [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-marshal.c:256:30: debug: Scope::checkVariable found variable 'data2' with varid 0. [varid0] spacefm-1.0.6/src/exo/exo-marshal.c:300:30: debug: Scope::checkVariable found variable 'data2' with varid 0. [varid0] spacefm-1.0.6/src/exo/exo-marshal.c:65:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data2 [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-marshal.c:102:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data2 [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-marshal.c:138:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data2 [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-marshal.c:178:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data2 [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-marshal.c:217:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data2 [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-marshal.c:256:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data2 [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-marshal.c:300:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data2 [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-cell-renderer-ellipsized-text.c:156: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] spacefm-1.0.6/src/exo/exo-cell-renderer-ellipsized-text.c:198:72: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/exo/exo-cell-renderer-ellipsized-text.c:208:61: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'exo_cell_renderer_ellipsized_text_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/exo/exo-cell-renderer-ellipsized-text.c:159:35: note: You might need to cast the function pointer here spacefm-1.0.6/src/exo/exo-cell-renderer-ellipsized-text.c:208:61: note: Parameter 'pspec' can be declared as pointer to const spacefm-1.0.6/src/exo/exo-cell-renderer-ellipsized-text.c:210:43: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/exo/exo-cell-renderer-ellipsized-text.c:230:63: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'exo_cell_renderer_ellipsized_text_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/exo/exo-cell-renderer-ellipsized-text.c:160:35: note: You might need to cast the function pointer here spacefm-1.0.6/src/exo/exo-cell-renderer-ellipsized-text.c:230:63: note: Parameter 'pspec' can be declared as pointer to const spacefm-1.0.6/src/exo/exo-cell-renderer-ellipsized-text.c:256:62: style: Parameter 'cell_area' can be declared as pointer to const. However it seems that 'exo_cell_renderer_ellipsized_text_get_size' is a callback function, if 'cell_area' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/exo/exo-cell-renderer-ellipsized-text.c:164:40: note: You might need to cast the function pointer here spacefm-1.0.6/src/exo/exo-cell-renderer-ellipsized-text.c:256:62: note: Parameter 'cell_area' can be declared as pointer to const spacefm-1.0.6/src/exo/exo-cell-renderer-ellipsized-text.c:264:43: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/exo/exo-cell-renderer-ellipsized-text.c:391:64: style: Parameter 'cell_area' can be declared as pointer to const. However it seems that 'exo_cell_renderer_ellipsized_text_render' is a callback function, if 'cell_area' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/exo/exo-cell-renderer-ellipsized-text.c:165:38: note: You might need to cast the function pointer here spacefm-1.0.6/src/exo/exo-cell-renderer-ellipsized-text.c:391:64: note: Parameter 'cell_area' can be declared as pointer to const spacefm-1.0.6/src/exo/exo-cell-renderer-ellipsized-text.c:402:43: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/exo/exo-gdk-pixbuf-extensions.c:173:17: style: Variable 'pixsrc' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/exo/exo-gdk-pixbuf-extensions.c:427:17: style: Variable 'pixsrc' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/exo/exo-private.c:69:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_FOCUS_CHANGE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:187:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exo_icon_chooser_model_parent_class [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:195:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TREE_MODEL_ITERS_PERSIST [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:215:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_UINT [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:290:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_UINT [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:311:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stamp [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:508:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_SYMLINK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-icon-chooser-dialog.c:237:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-icon-chooser-dialog.c:338:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exo_icon_chooser_dialog_parent_class [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-icon-chooser-dialog.c:348:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exo_icon_chooser_dialog_parent_class [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-icon-chooser-dialog.c:362:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exo_icon_chooser_dialog_parent_class [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-icon-chooser-dialog.c:380:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_DELETE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-icon-chooser-dialog.c:468:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_NORMALIZE_ALL [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-icon-chooser-dialog.c:561:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_NORMALIZE_ALL [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-icon-chooser-dialog.c:598:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_2BUTTON_PRESS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-icon-chooser-dialog.c:617:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-thumbnail-preview.c:109:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_IN [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-thumbnail-preview.c:244:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_DIALOG [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/go-dialog.c:21:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_UI_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/go-dialog.c:59:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTK_FB_CHDIR_ADD_HISTORY [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/go-dialog.c:41:31: style:inconclusive: Function 'fm_go' argument 1 names different: declaration 'parent' definition 'main_window'. [funcArgNamesDifferent] spacefm-1.0.6/src/go-dialog.h:9:31: note: Function 'fm_go' argument 1 names different: declaration 'parent' definition 'main_window'. spacefm-1.0.6/src/go-dialog.c:41:31: note: Function 'fm_go' argument 1 names different: declaration 'parent' definition 'main_window'. spacefm-1.0.6/src/go-dialog.c:19:59: style: Parameter 'initial_path' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/exo/exo-icon-chooser-dialog.c:173: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] spacefm-1.0.6/src/exo/exo-icon-chooser-dialog.c:210:12: 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] spacefm-1.0.6/src/exo/exo-tree-view.c:133:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INVALID [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-tree-view.c:192:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-tree-view.c:237:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable finalize [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-tree-view.c:342:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_2BUTTON_PRESS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-tree-view.c:515:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-tree-view.c:587:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_HAND2 [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-tree-view.c:739:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-tree-view.c:819:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable single_click_timeout_id [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:193:49: style: Parameter 'tree_model' can be declared as pointer to const. However it seems that 'exo_icon_chooser_model_get_flags' is a callback function, if 'tree_model' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:145:24: note: You might need to cast the function pointer here spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:193:49: note: Parameter 'tree_model' can be declared as pointer to const spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:201:53: style: Parameter 'tree_model' can be declared as pointer to const. However it seems that 'exo_icon_chooser_model_get_n_columns' is a callback function, if 'tree_model' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:146:28: note: You might need to cast the function pointer here spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:201:53: note: Parameter 'tree_model' can be declared as pointer to const spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:278:30: style: Variable 'item' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/exo/exo-cell-renderer-icon.c:147: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] spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:279:30: style: Variable 'model' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:323:53: style: Parameter 'parent' can be declared as pointer to const. However it seems that 'exo_icon_chooser_model_iter_children' is a callback function, if 'parent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:152:28: note: You might need to cast the function pointer here spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:323:53: note: Parameter 'parent' can be declared as pointer to const spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:325:26: style: Variable 'model' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:342:54: style: Parameter 'tree_model' can be declared as pointer to const. However it seems that 'exo_icon_chooser_model_iter_has_child' is a callback function, if 'tree_model' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:153:29: note: You might need to cast the function pointer here spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:342:54: note: Parameter 'tree_model' can be declared as pointer to const spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:343:54: style: Parameter 'iter' can be declared as pointer to const. However it seems that 'exo_icon_chooser_model_iter_has_child' is a callback function, if 'iter' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:153:29: note: You might need to cast the function pointer here spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:343:54: note: Parameter 'iter' can be declared as pointer to const spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:352:55: style: Parameter 'iter' can be declared as pointer to const. However it seems that 'exo_icon_chooser_model_iter_n_children' is a callback function, if 'iter' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:154:30: note: You might need to cast the function pointer here spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:352:55: note: Parameter 'iter' can be declared as pointer to const spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:354:26: style: Variable 'model' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:366:54: style: Parameter 'parent' can be declared as pointer to const. However it seems that 'exo_icon_chooser_model_iter_nth_child' is a callback function, if 'parent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:155:29: note: You might need to cast the function pointer here spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:366:54: note: Parameter 'parent' can be declared as pointer to const spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:386:51: style: Parameter 'tree_model' can be declared as pointer to const. However it seems that 'exo_icon_chooser_model_iter_parent' is a callback function, if 'tree_model' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:156:26: note: You might need to cast the function pointer here spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:386:51: note: Parameter 'tree_model' can be declared as pointer to const spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:387:51: style: Parameter 'iter' can be declared as pointer to const. However it seems that 'exo_icon_chooser_model_iter_parent' is a callback function, if 'iter' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:156:26: note: You might need to cast the function pointer here spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:387:51: note: Parameter 'iter' can be declared as pointer to const spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:388:51: style: Parameter 'child' can be declared as pointer to const. However it seems that 'exo_icon_chooser_model_iter_parent' is a callback function, if 'child' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:156:26: note: You might need to cast the function pointer here spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:388:51: note: Parameter 'child' can be declared as pointer to const spacefm-1.0.6/src/exo/exo-icon-chooser-dialog.c:546:62: style:inconclusive: Function 'exo_icon_chooser_dialog_entry_changed' argument 1 names different: declaration 'entry' definition 'combo'. [funcArgNamesDifferent] spacefm-1.0.6/src/exo/exo-icon-chooser-dialog.c:92:95: note: Function 'exo_icon_chooser_dialog_entry_changed' argument 1 names different: declaration 'entry' definition 'combo'. spacefm-1.0.6/src/exo/exo-icon-chooser-dialog.c:546:62: note: Function 'exo_icon_chooser_dialog_entry_changed' argument 1 names different: declaration 'entry' definition 'combo'. spacefm-1.0.6/src/exo/exo-icon-chooser-dialog.c:594:67: style: Parameter 'event' can be declared as pointer to const. However it seems that 'exo_icon_chooser_dialog_button_press_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/exo/exo-icon-chooser-dialog.c:268:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/exo/exo-icon-chooser-dialog.c:594:67: note: Parameter 'event' can be declared as pointer to const spacefm-1.0.6/src/exo/exo-cell-renderer-icon.c:244:51: style: Parameter 'icon_undocked' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/exo/exo-cell-renderer-icon.c:272:50: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'exo_cell_renderer_icon_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/exo/exo-cell-renderer-icon.c:151:35: note: You might need to cast the function pointer here spacefm-1.0.6/src/exo/exo-cell-renderer-icon.c:272:50: note: Parameter 'pspec' can be declared as pointer to const spacefm-1.0.6/src/exo/exo-cell-renderer-icon.c:306:52: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'exo_cell_renderer_icon_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/exo/exo-cell-renderer-icon.c:152:35: note: You might need to cast the function pointer here spacefm-1.0.6/src/exo/exo-cell-renderer-icon.c:306:52: note: Parameter 'pspec' can be declared as pointer to const spacefm-1.0.6/src/exo/exo-cell-renderer-icon.c:355:54: style: Parameter 'cell_area' can be declared as pointer to const. However it seems that 'exo_cell_renderer_icon_get_size' is a callback function, if 'cell_area' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/exo/exo-cell-renderer-icon.c:155:40: note: You might need to cast the function pointer here spacefm-1.0.6/src/exo/exo-cell-renderer-icon.c:355:54: note: Parameter 'cell_area' can be declared as pointer to const spacefm-1.0.6/src/exo/exo-cell-renderer-icon.c:423:53: style: Parameter 'cell_area' can be declared as pointer to const. However it seems that 'exo_cell_renderer_icon_render' is a callback function, if 'cell_area' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/exo/exo-cell-renderer-icon.c:156:38: note: You might need to cast the function pointer here spacefm-1.0.6/src/exo/exo-cell-renderer-icon.c:423:53: note: Parameter 'cell_area' can be declared as pointer to const spacefm-1.0.6/src/exo/exo-thumbnail-preview.c:128:12: 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] spacefm-1.0.6/src/exo/exo-thumbnail-preview.c:145:11: 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] spacefm-1.0.6/src/exo/exo-thumbnail-preview.c:94:61: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/find-files.c:165:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/find-files.c:700:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WATCH [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/find-files.c:777:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/find-files.c:834:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/find-files.c:932:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TREE_VIEW_COLUMN_FIXED [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/find-files.c:944:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/find-files.c:1025:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_UI_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/mime-type/mime-action.c:499:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/mime-type/mime-action.c:556:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/mime-type/mime-action.c:591:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main.c:204:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main.c:369:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main.c:600:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main.c:851:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASHPATH [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main.c:1005:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main.c:1019:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main.c:1154:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main.c:1385:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/mime-type/mime-cache.c:114:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/exo/exo-tree-view.c:158: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] spacefm-1.0.6/src/exo/exo-tree-view.c:246:41: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'exo_tree_view_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/exo/exo-tree-view.c:165:35: note: You might need to cast the function pointer here spacefm-1.0.6/src/exo/exo-tree-view.c:246:41: note: Parameter 'pspec' can be declared as pointer to const spacefm-1.0.6/src/exo/exo-tree-view.c:248:18: style: Variable 'tree_view' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/exo/exo-tree-view.c:272:43: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'exo_tree_view_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/exo/exo-tree-view.c:166:35: note: You might need to cast the function pointer here spacefm-1.0.6/src/exo/exo-tree-view.c:272:43: note: Parameter 'pspec' can be declared as pointer to const spacefm-1.0.6/src/find-files.c:289:21: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] spacefm-1.0.6/src/find-files.c:623:21: style: Condition '!data->task->cancel' is always true [knownConditionTrueFalse] spacefm-1.0.6/src/find-files.c:615:16: note: Assuming that condition '!data->task->cancel' is not redundant spacefm-1.0.6/src/find-files.c:623:21: note: Condition '!data->task->cancel' is always true spacefm-1.0.6/src/find-files.c:314:5: error: Memory leak: arg [memleak] spacefm-1.0.6/src/find-files.c:180:29: style: Parameter 'dir' can be declared as pointer to const. However it seems that 'open_dir' is a callback function, if 'dir' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/find-files.c:269:45: note: You might need to cast the function pointer here spacefm-1.0.6/src/find-files.c:180:29: note: Parameter 'dir' can be declared as pointer to const spacefm-1.0.6/src/find-files.c:308:10: style: Variable 'size_units' can be declared as const array [constVariable] spacefm-1.0.6/src/find-files.c:611:14: style: Variable 'pbuf' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/exo/exo-icon-view.c:3132:9: error: There is an unknown macro here somewhere. Configuration is required. If hadj is a macro then please configure it. [unknownMacro] spacefm-1.0.6/src/find-files.c:106:16: style: struct member '_FindFile::add_folder_btn' is never used. [unusedStructMember] spacefm-1.0.6/src/find-files.c:107:16: style: struct member '_FindFile::remove_folder_btn' is never used. [unusedStructMember] spacefm-1.0.6/src/find-files.c:190:25: style: Unused variable: sel_files [unusedVariable] spacefm-1.0.6/src/find-files.c:549:11: style: Unused variable: len [unusedVariable] spacefm-1.0.6/src/find-files.c:549:16: style: Unused variable: term [unusedVariable] spacefm-1.0.6/src/find-files.c:662:9: style: Unused variable: stdo [unusedVariable] spacefm-1.0.6/src/find-files.c:662:15: style: Unused variable: stde [unusedVariable] spacefm-1.0.6/src/find-files.c:888:17: style: Unused variable: it [unusedVariable] spacefm-1.0.6/src/mime-type/mime-type.c:195:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/mime-type/mime-type.c:362:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/mime-type/mime-type.c:636:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/mime-type/mime-type.c:680:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_EXECUTABLE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:254:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_WINDOW [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:299:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_WINDOW [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:328:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable desktop_sort_by [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:479:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable finalize [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:522:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cr [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:684:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:845:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable margin_pad [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:1055:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:1192:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable desk_open_mime [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:1235:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:1379:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:1425:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:1443:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_MOTION_NOTIFY [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:1477:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable desk_no_single_hover [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:1545:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_ACTION_MOVE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:1602:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_ACTION_MOVE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:1646:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_NONE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:1672:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_INFO_VIRTUAL [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:1853:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_TASK_MOVE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:2166:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Down [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:2322:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:2519:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_SCALE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:2538:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_TYPE_HINT_DESKTOP [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:2564:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_HAS_FOCUS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:2580:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_HAS_FOCUS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:2654:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:2716:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PREF_DESKTOP [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:2739:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_WRAP_WORD_CHAR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:2799:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_SCALE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:3041:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable max_thumb_size [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:3136:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable max_thumb_size [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:3301:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable max_thumb_size [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:3346:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:3443:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_CELL_RENDERER_SELECTED [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:3705:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_INFO_VIRTUAL [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:3805:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_INFO_VIRTUAL [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:3818:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_INFO_VIRTUAL [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:3832:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_INFO_VIRTUAL [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:3846:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_INFO_VIRTUAL [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:3876:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable desktop_sort_by [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:4042:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_INFO_VIRTUAL [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:4079:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDG_MIME_TYPE_UNKNOWN [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:4202:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PropertyNotify [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:4246:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:4320:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_HAND2 [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:4378:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTEXT_IS_ROOT [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/desktop/desktop-window.c:4460:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_INFO_VIRTUAL [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-app-chooser.c:147:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDG_MIME_TYPE_PLAIN_TEXT [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-app-chooser.c:196:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_UI_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-app-chooser.c:328:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WATCH [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-app-chooser.c:408:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-app-chooser.c:550:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-app-chooser.c:599:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/gtk2-compat.h:107:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_REALIZED [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/cust-dialog.c:68:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/cust-dialog.c:175:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_FUNC [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/cust-dialog.c:407:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TREE_VIEW_COLUMN_FIXED [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/cust-dialog.c:636:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/cust-dialog.c:771:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_BUTTON [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/cust-dialog.c:1329:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_CENTER [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/cust-dialog.c:1612:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/cust-dialog.c:1636:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/cust-dialog.c:1727:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_NVAL [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/cust-dialog.c:1865:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT_IDLE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/cust-dialog.c:1888:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/cust-dialog.c:1931:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/cust-dialog.c:2035:175: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASHPATH [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/cust-dialog.c:2288:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/cust-dialog.c:2413:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/cust-dialog.c:2469:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/cust-dialog.c:2533:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/cust-dialog.c:2551:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/cust-dialog.c:2731:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_WRAP_WORD_CHAR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/cust-dialog.c:3626:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_CENTER [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/cust-dialog.c:3760:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/cust-dialog.c:3832:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/pref-dialog.c:251:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/pref-dialog.c:928:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_UI_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-app-chooser.c:652:12: style: Variable 'cancel' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/mime-type/mime-cache.c:143:75: style: Checking if unsigned expression 'minv' is less than zero. [unsignedLessThanZero] spacefm-1.0.6/src/mime-type/mime-cache.c:262:49: style: Parameter 'cache' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/mime-type/mime-cache.c:389:50: style: Parameter 'cache' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/mime-type/mime-cache.c:441:54: style: Parameter 'cache' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/mime-type/mime-cache.c:394:17: style: Unused variable: n_nodes [unusedVariable] spacefm-1.0.6/src/mime-type/mime-action.c:446:13: error: Memory leak: kf [memleak] spacefm-1.0.6/src/mime-type/mime-action.c:441:15: style: Local variable 'name' shadows outer variable [shadowVariable] spacefm-1.0.6/src/mime-type/mime-action.c:433:11: note: Shadowed declaration spacefm-1.0.6/src/mime-type/mime-action.c:441:15: note: Shadow variable spacefm-1.0.6/src/mime-type/mime-action.c:645:15: style: Local variable 'path' shadows outer variable [shadowVariable] spacefm-1.0.6/src/mime-type/mime-action.c:626:11: note: Shadowed declaration spacefm-1.0.6/src/mime-type/mime-action.c:645:15: note: Shadow variable spacefm-1.0.6/src/mime-type/mime-action.c:434:11: style: Variable 'file_content' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/mime-type/mime-type.c:441:14: style: Condition 'acc!=-1' is always true [knownConditionTrueFalse] spacefm-1.0.6/src/mime-type/mime-type.c:439:11: note: Assignment 'acc=0', assigned value is 0 spacefm-1.0.6/src/mime-type/mime-type.c:441:14: note: Condition 'acc!=-1' is always true spacefm-1.0.6/src/mime-type/mime-type.c:461:18: style: Condition 'acc!=-1' is always true [knownConditionTrueFalse] spacefm-1.0.6/src/mime-type/mime-type.c:459:15: note: Assignment 'acc=0', assigned value is 0 spacefm-1.0.6/src/mime-type/mime-type.c:461:18: note: Condition 'acc!=-1' is always true spacefm-1.0.6/src/mime-type/mime-action.c:626:11: style: Unused variable: path [unusedVariable] spacefm-1.0.6/src/ptk/ptk-console-output.c:58:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-console-output.c:160:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/mime-type/mime-type.c:758:23: style: Local variable 'type' shadows outer argument [shadowArgument] spacefm-1.0.6/src/mime-type/mime-type.c:744:41: note: Shadowed declaration spacefm-1.0.6/src/mime-type/mime-type.c:758:23: note: Shadow variable spacefm-1.0.6/src/mime-type/mime-type.c:93:77: style: Parameter 'statbuf' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/mime-type/mime-type.c:388:15: style: Variable 'dot' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-clipboard.c:45:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_ACTION_MOVE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-clipboard.c:89:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_ACTION_DEFAULT [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-clipboard.c:95:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-clipboard.c:125:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-clipboard.c:156:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-clipboard.c:166:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-clipboard.c:219:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-clipboard.c:273:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-clipboard.c:371:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-clipboard.c:451:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-clipboard.c:561:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/mime-type/mime-type.c:259:12: error: Uninitialized variable: type [legacyUninitvar] spacefm-1.0.6/src/ptk/ptk-console-output.c:176:12: 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] spacefm-1.0.6/src/ptk/ptk-dir-tree-view.c:168:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GtkTargetEntry [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-dir-tree-view.c:442:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-dir-tree-view.c:520:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-dir-tree-view.c:666:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_TASK_MOVE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-dir-tree-view.c:819:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_NONE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:158:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_OBJECT [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:212:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_TYPE_PIXBUF [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:248:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TREE_MODEL_ITERS_PERSIST [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:259:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INVALID [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:387:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable small_icon_size [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:765:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:861:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:100:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSET_B_TRUE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:349:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_NONE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:1125:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_NONE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-dir-tree-view.c:461:27: style: Variable 'dir_path' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-dir-tree-view.c:509:51: style: Parameter 'evt' can be declared as pointer to const. However it seems that 'on_dir_tree_view_key_press' is a callback function, if 'evt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-dir-tree-view.c:217:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-dir-tree-view.c:509:51: note: Parameter 'evt' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-dir-tree-view.c:554:15: style: Variable 'dir_path' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/item-prop.c:664:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_Return [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:346:5: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] spacefm-1.0.6/src/item-prop.c:696:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSET_MENU_SUBMENU [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/item-prop.c:800:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/item-prop.c:842:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_NO [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/item-prop.c:1012:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/item-prop.c:1098:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_BUTTON [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/item-prop.c:1223:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/item-prop.c:1289:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSET_TOOL_CUSTOM [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/item-prop.c:1476:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSET_MENU_SEP [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/item-prop.c:1537:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_BUTTON [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/item-prop.c:1556:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_Return [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/item-prop.c:1567:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/item-prop.c:1602:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:741:45: style:inconclusive: Function 'ptk_dir_tree_expand_row' argument 3 names different: declaration 'path' definition 'tree_path'. [funcArgNamesDifferent] spacefm-1.0.6/src/ptk/ptk-dir-tree.h:67:45: note: Function 'ptk_dir_tree_expand_row' argument 3 names different: declaration 'path' definition 'tree_path'. spacefm-1.0.6/src/ptk/ptk-dir-tree.c:741:45: note: Function 'ptk_dir_tree_expand_row' argument 3 names different: declaration 'path' definition 'tree_path'. spacefm-1.0.6/src/ptk/ptk-dir-tree.c:217:62: style: Parameter 'iface' can be declared as pointer to const. However it seems that 'ptk_dir_tree_drag_source_init' is a callback function, if 'iface' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:146:40: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-dir-tree.c:217:62: note: Parameter 'iface' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-dir-tree.c:222:58: style: Parameter 'iface' can be declared as pointer to const. However it seems that 'ptk_dir_tree_drag_dest_init' is a callback function, if 'iface' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:153:40: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-dir-tree.c:222:58: note: Parameter 'iface' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-dir-tree.c:245:58: style: Parameter 'tree_model' can be declared as pointer to const. However it seems that 'ptk_dir_tree_get_flags' is a callback function, if 'tree_model' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:199:24: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-dir-tree.c:245:58: note: Parameter 'tree_model' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-dir-tree-view.c:66:18: style: struct member '_DirTreeNode::file' is never used. [unusedStructMember] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:251:49: style: Parameter 'tree_model' can be declared as pointer to const. However it seems that 'ptk_dir_tree_get_n_columns' is a callback function, if 'tree_model' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:200:28: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-dir-tree.c:251:49: note: Parameter 'tree_model' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-dir-tree.c:256:52: style: Parameter 'tree_model' can be declared as pointer to const. However it seems that 'ptk_dir_tree_get_column_type' is a callback function, if 'tree_model' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:201:30: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-dir-tree.c:256:52: note: Parameter 'tree_model' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-dir-tree.c:284:11: style: Variable 'indices' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:313:68: style: Parameter 'child' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:337:17: style: Variable 'tree' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:362:45: style: Parameter 'tree_model' can be declared as pointer to const. However it seems that 'ptk_dir_tree_get_value' is a callback function, if 'tree_model' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:204:24: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-dir-tree.c:362:45: note: Parameter 'tree_model' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-dir-tree.c:418:21: style: Variable 'node' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:419:17: style: Variable 'tree' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:446:21: style: Variable 'parent_node' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:471:54: style: Parameter 'tree_model' can be declared as pointer to const. However it seems that 'ptk_dir_tree_iter_has_child' is a callback function, if 'tree_model' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:207:29: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-dir-tree.c:471:54: note: Parameter 'tree_model' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-dir-tree.c:474:21: style: Variable 'node' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-dir-tree-view.c:67:12: style: struct member '_DirTreeNode::children' is never used. [unusedStructMember] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:483:21: style: Variable 'node' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:537:21: style: Variable 'node' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:538:17: style: Variable 'tree' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:604:51: style: Parameter 'tree' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:836:46: style: Parameter 'fm' can be declared as pointer to const. However it seems that 'on_file_monitor_event' is a callback function, if 'fm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:804:39: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-dir-tree.c:836:46: note: Parameter 'fm' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-dir-tree-view.c:68:9: style: struct member '_DirTreeNode::n_children' is never used. [unusedStructMember] spacefm-1.0.6/src/ptk/ptk-dir-tree-view.c:69:21: style: struct member '_DirTreeNode::monitor' is never used. [unusedStructMember] spacefm-1.0.6/src/ptk/ptk-dir-tree-view.c:70:9: style: struct member '_DirTreeNode::n_expand' is never used. [unusedStructMember] spacefm-1.0.6/src/ptk/ptk-dir-tree-view.c:512:18: style: Unused variable: file [unusedVariable] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:843:17: style: Unused variable: it [unusedVariable] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:844:18: style: Unused variable: tree_path [unusedVariable] spacefm-1.0.6/src/ptk/ptk-clipboard.c:33:12: style: Variable 'action' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-clipboard.c:163:46: style: Parameter 'files' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-clipboard.c:168:12: style: Unused variable: target [unusedVariable] spacefm-1.0.6/src/ptk/ptk-clipboard.c:221:12: style: Unused variable: target [unusedVariable] spacefm-1.0.6/src/ptk/ptk-clipboard.c:225:12: style: Unused variable: l [unusedVariable] spacefm-1.0.6/src/ptk/ptk-clipboard.c:226:18: style: Unused variable: file [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:158:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_CELL_RENDERER_PIXBUF [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:219:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:245:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable finalize [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:482:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable follow_state [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-list.c:164:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_OBJECT [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-list.c:209:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_TYPE_PIXBUF [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-list.c:363:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TREE_MODEL_LIST_ONLY [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-list.c:374:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INVALID [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-list.c:461:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_INFO_NONE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:514:57: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:509:92: note: outer condition: (flags&(GTK_CELL_RENDERER_SELECTED))!=0 spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:514:57: note: identical inner condition: (flags>K_CELL_RENDERER_SELECTED)!=0 spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:238:44: style:inconclusive: Function 'ptk_file_icon_renderer_finalize' argument 1 names different: declaration 'gobject' definition 'object'. [funcArgNamesDifferent] spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:38:44: note: Function 'ptk_file_icon_renderer_finalize' argument 1 names different: declaration 'gobject' definition 'object'. spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:238:44: note: Function 'ptk_file_icon_renderer_finalize' argument 1 names different: declaration 'gobject' definition 'object'. spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:258:51: style:inconclusive: Function 'ptk_file_icon_renderer_get_property' argument 4 names different: declaration 'pspec' definition 'psec'. [funcArgNamesDifferent] spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:29:51: note: Function 'ptk_file_icon_renderer_get_property' argument 4 names different: declaration 'pspec' definition 'psec'. spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:258:51: note: Function 'ptk_file_icon_renderer_get_property' argument 4 names different: declaration 'pspec' definition 'psec'. spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:258:51: style: Parameter 'psec' can be declared as pointer to const. However it seems that 'ptk_file_icon_renderer_get_property' is a callback function, if 'psec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:208:34: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:258:51: note: Parameter 'psec' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:291:51: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ptk_file_icon_renderer_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:209:34: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:291:51: note: Parameter 'pspec' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:334:37: style: Parameter 'new_color' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:341:13: style: Variable 'pixsrc' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:407:29: style: Variable 'cellpixbuf' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:532:51: error: Uninitialized variable: color [legacyUninitvar] spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:528:23: style: Variable 'state' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:302:30: debug: Scope::checkVariable found variable 'data2' with varid 0. [varid0] spacefm-1.0.6/src/ptk/ptk-file-browser.c:346:28: debug: Scope::checkVariable found variable 'data2' with varid 0. [varid0] spacefm-1.0.6/src/main.c:1305:1: style: Label 'out' is not used. [unusedLabel] spacefm-1.0.6/src/main.c:971:35: style:inconclusive: Function 'get_file_info_list' argument 1 names different: declaration 'files' definition 'file_paths'. [funcArgNamesDifferent] spacefm-1.0.6/src/main.c:177:42: note: Function 'get_file_info_list' argument 1 names different: declaration 'files' definition 'file_paths'. spacefm-1.0.6/src/main.c:971:35: note: Function 'get_file_info_list' argument 1 names different: declaration 'files' definition 'file_paths'. spacefm-1.0.6/src/main.c:1591:16: style: Local variable 'files' shadows outer variable [shadowVariable] spacefm-1.0.6/src/main.c:94:15: note: Shadowed declaration spacefm-1.0.6/src/main.c:1591:16: note: Shadow variable spacefm-1.0.6/src/main.c:591:42: style: Parameter 'argv' can be declared as const array [constParameter] spacefm-1.0.6/src/main.c:1570:17: style: Variable 'error_msg' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/main.c:202:17: style: Unused variable: cmd [unusedVariable] spacefm-1.0.6/src/main.c:483:9: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main.c:1127:9: style: Unused variable: p [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-list.c:346:9: style: Condition 'dir' is always true [knownConditionTrueFalse] spacefm-1.0.6/src/ptk/ptk-file-list.c:231:63: style: Parameter 'iface' can be declared as pointer to const. However it seems that 'ptk_file_list_drag_source_init' is a callback function, if 'iface' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-list.c:152:40: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-list.c:231:63: note: Parameter 'iface' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-list.c:236:59: style: Parameter 'iface' can be declared as pointer to const. However it seems that 'ptk_file_list_drag_dest_init' is a callback function, if 'iface' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-list.c:159:40: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-list.c:236:59: note: Parameter 'iface' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-list.c:360:59: style: Parameter 'tree_model' can be declared as pointer to const. However it seems that 'ptk_file_list_get_flags' is a callback function, if 'tree_model' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-list.c:196:24: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-list.c:360:59: note: Parameter 'tree_model' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-list.c:366:50: style: Parameter 'tree_model' can be declared as pointer to const. However it seems that 'ptk_file_list_get_n_columns' is a callback function, if 'tree_model' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-list.c:197:28: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-list.c:366:50: note: Parameter 'tree_model' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-list.c:371:53: style: Parameter 'tree_model' can be declared as pointer to const. However it seems that 'ptk_file_list_get_column_type' is a callback function, if 'tree_model' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-list.c:198:30: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-list.c:371:53: note: Parameter 'tree_model' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-list.c:384:11: style: Variable 'indices' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-list.c:440:12: style: Variable 'l' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-list.c:441:18: style: Variable 'list' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-list.c:527:18: style: Variable 'list' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-list.c:550:53: style: Parameter 'parent' can be declared as pointer to const. However it seems that 'ptk_file_list_iter_children' is a callback function, if 'parent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-list.c:203:28: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-list.c:550:53: note: Parameter 'parent' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-list.c:574:55: style: Parameter 'tree_model' can be declared as pointer to const. However it seems that 'ptk_file_list_iter_has_child' is a callback function, if 'tree_model' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-list.c:204:29: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-list.c:574:55: note: Parameter 'tree_model' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-list.c:575:54: style: Parameter 'iter' can be declared as pointer to const. However it seems that 'ptk_file_list_iter_has_child' is a callback function, if 'iter' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-list.c:204:29: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-list.c:575:54: note: Parameter 'iter' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-list.c:581:51: style: Parameter 'iter' can be declared as pointer to const. However it seems that 'ptk_file_list_iter_n_children' is a callback function, if 'iter' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-list.c:205:30: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-list.c:581:51: note: Parameter 'iter' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-list.c:595:54: style: Parameter 'parent' can be declared as pointer to const. However it seems that 'ptk_file_list_iter_nth_child' is a callback function, if 'parent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-list.c:206:29: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-list.c:595:54: note: Parameter 'parent' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-list.c:622:52: style: Parameter 'tree_model' can be declared as pointer to const. However it seems that 'ptk_file_list_iter_parent' is a callback function, if 'tree_model' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-list.c:207:26: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-list.c:622:52: note: Parameter 'tree_model' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-list.c:623:51: style: Parameter 'iter' can be declared as pointer to const. However it seems that 'ptk_file_list_iter_parent' is a callback function, if 'iter' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-list.c:207:26: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-list.c:623:51: note: Parameter 'iter' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-list.c:624:51: style: Parameter 'child' can be declared as pointer to const. However it seems that 'ptk_file_list_iter_parent' is a callback function, if 'child' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-list.c:207:26: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-list.c:624:51: note: Parameter 'child' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-list.c:633:18: style: Variable 'list' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-list.c:654:52: style: Parameter 'sortable' can be declared as pointer to const. However it seems that 'ptk_file_list_set_sort_func' is a callback function, if 'sortable' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-list.c:226:28: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-list.c:654:52: note: Parameter 'sortable' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-list.c:657:44: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'ptk_file_list_set_sort_func' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-list.c:226:28: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-list.c:657:44: note: Parameter 'user_data' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-list.c:663:60: style: Parameter 'sortable' can be declared as pointer to const. However it seems that 'ptk_file_list_set_default_sort_func' is a callback function, if 'sortable' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-list.c:227:36: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-list.c:663:60: note: Parameter 'sortable' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-list.c:665:52: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'ptk_file_list_set_default_sort_func' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-list.c:227:36: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-list.c:665:52: note: Parameter 'user_data' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-properties.c:210:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_FUNC [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-properties.c:329:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_UI_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-properties.c:805:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/pref-dialog.c:864:42: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] spacefm-1.0.6/src/pref-dialog.c:385:48: style: The statement 'if (app_settings.desk_no_single_hover!=desk_no_single_hover) app_settings.desk_no_single_hover=desk_no_single_hover' is logically equivalent to 'app_settings.desk_no_single_hover=desk_no_single_hover'. [duplicateConditionalAssign] spacefm-1.0.6/src/pref-dialog.c:386:47: note: Assignment 'app_settings.desk_no_single_hover=desk_no_single_hover' spacefm-1.0.6/src/pref-dialog.c:385:48: note: Condition 'app_settings.desk_no_single_hover!=desk_no_single_hover' is redundant spacefm-1.0.6/src/pref-dialog.c:769:45: warning: Either the condition 'terminal' is redundant or there is possible null pointer dereference: terminal. [nullPointerRedundantCheck] spacefm-1.0.6/src/pref-dialog.c:771:18: note: Assuming that condition 'terminal' is not redundant spacefm-1.0.6/src/pref-dialog.c:769:45: note: Null pointer dereference spacefm-1.0.6/src/pref-dialog.c:790:28: warning: Either the condition 'terminal' is redundant or there is possible null pointer dereference: terminal. [nullPointerRedundantCheck] spacefm-1.0.6/src/pref-dialog.c:771:18: note: Assuming that condition 'terminal' is not redundant spacefm-1.0.6/src/pref-dialog.c:790:28: note: Null pointer dereference spacefm-1.0.6/src/pref-dialog.c:764:15: style: Variable 'old_terminal' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/pref-dialog.c:1227:15: style: Variable 'use_su' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/pref-dialog.c:1265:15: style: Variable 'use_gsu' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/pref-dialog.c:212:19: style: Variable 'ibig_icon' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/pref-dialog.c:212:37: style: Variable 'ismall_icon' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/pref-dialog.c:212:54: style: Variable 'itool_icon' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-menu.c:347:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-menu.c:369:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-menu.c:395:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSET_B_TRUE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-menu.c:461:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PREF_DESKTOP [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-menu.c:522:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSET_B_TRUE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/pref-dialog.c:211:14: style: Unused variable: b [unusedVariable] spacefm-1.0.6/src/pref-dialog.c:213:17: style: Unused variable: filename_encoding [unusedVariable] spacefm-1.0.6/src/pref-dialog.c:223:14: style: Unused variable: single_hover [unusedVariable] spacefm-1.0.6/src/pref-dialog.c:237:9: style: Unused variable: cur_tabx [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-menu.c:779:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1713:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDG_MIME_TYPE_UNKNOWN [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1852:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDG_MIME_TYPE_UNKNOWN [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2127:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2225:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2305:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2468:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2598:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2614:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2848:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/pref-dialog.c:916:54: style: Variable 'itool_icon' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/pref-dialog.c:914:17: style: Unused variable: filename_encoding [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-misc.c:157:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable use_trash_can [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-misc.c:199:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-misc.c:249:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-misc.c:272:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-misc.c:303:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_FUNC [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-misc.c:888:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-misc.c:1031:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SAVE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-misc.c:1068:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SAVE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-misc.c:1329:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_BUTTON [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-misc.c:1718:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-misc.c:1768:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-misc.c:1914:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-misc.c:2174:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_YES [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-misc.c:3423:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-misc.c:3502:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vfs_file_info_list_free [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-misc.c:3670:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSET_B_TRUE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-misc.c:3717:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-misc.c:3818:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-misc.c:4101:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_confirm [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-properties.c:606:32: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] spacefm-1.0.6/src/ptk/ptk-file-properties.c:611:32: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] spacefm-1.0.6/src/ptk/ptk-file-properties.c:702:10: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] spacefm-1.0.6/src/ptk/ptk-file-properties.c:734:11: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] spacefm-1.0.6/src/ptk/ptk-file-properties.c:443:29: warning: Either the condition 'sel_files' is redundant or there is possible null pointer dereference: sel_files. [nullPointerRedundantCheck] spacefm-1.0.6/src/ptk/ptk-file-properties.c:544:10: note: Assuming that condition 'sel_files' is not redundant spacefm-1.0.6/src/ptk/ptk-file-properties.c:443:29: note: Null pointer dereference spacefm-1.0.6/src/ptk/ptk-file-properties.c:255:19: style: Local variable 'action' shadows outer variable [shadowVariable] spacefm-1.0.6/src/ptk/ptk-file-properties.c:250:21: note: Shadowed declaration spacefm-1.0.6/src/ptk/ptk-file-properties.c:255:19: note: Shadow variable spacefm-1.0.6/src/ptk/ptk-file-properties.c:698:21: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-properties.c:730:20: style: Variable 'grp' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/desktop/desktop-window.c:4159:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] spacefm-1.0.6/src/ptk/ptk-file-properties.c:338:25: style: Unused variable: file2 [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-properties.c:776:16: style: Unused variable: ask_recursive [unusedVariable] spacefm-1.0.6/src/desktop/desktop-window.c:1298:21: style: Condition 'old_focus' is always true [knownConditionTrueFalse] spacefm-1.0.6/src/desktop/desktop-window.c:4113:22: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] spacefm-1.0.6/src/desktop/desktop-window.c:4121:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] spacefm-1.0.6/src/desktop/desktop-window.c:4148:22: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] spacefm-1.0.6/src/desktop/desktop-window.c:1720:42: warning: Either the condition 'file' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] spacefm-1.0.6/src/desktop/desktop-window.c:1712:17: note: Assuming that condition 'file' is not redundant spacefm-1.0.6/src/desktop/desktop-window.c:1720:42: note: Null pointer addition spacefm-1.0.6/src/desktop/desktop-window.c:2032:59: style:inconclusive: Function 'desktop_window_rename_selected_files' argument 1 names different: declaration 'win' definition 'self'. [funcArgNamesDifferent] spacefm-1.0.6/src/desktop/desktop-window.h:190:59: note: Function 'desktop_window_rename_selected_files' argument 1 names different: declaration 'win' definition 'self'. spacefm-1.0.6/src/desktop/desktop-window.c:2032:59: note: Function 'desktop_window_rename_selected_files' argument 1 names different: declaration 'win' definition 'self'. spacefm-1.0.6/src/desktop/desktop-window.c:2318:51: style:inconclusive: Function 'on_key_press' argument 2 names different: declaration 'evt' definition 'event'. [funcArgNamesDifferent] spacefm-1.0.6/src/desktop/desktop-window.c:92:58: note: Function 'on_key_press' argument 2 names different: declaration 'evt' definition 'event'. spacefm-1.0.6/src/desktop/desktop-window.c:2318:51: note: Function 'on_key_press' argument 2 names different: declaration 'evt' definition 'event'. spacefm-1.0.6/src/desktop/desktop-window.c:1311:28: style: Local variable 'l' shadows outer variable [shadowVariable] spacefm-1.0.6/src/desktop/desktop-window.c:1231:12: note: Shadowed declaration spacefm-1.0.6/src/desktop/desktop-window.c:1311:28: note: Shadow variable spacefm-1.0.6/src/desktop/desktop-window.c:2383:27: style: Local variable 'xname' shadows outer variable [shadowVariable] spacefm-1.0.6/src/desktop/desktop-window.c:2339:11: note: Shadowed declaration spacefm-1.0.6/src/desktop/desktop-window.c:2383:27: note: Shadow variable spacefm-1.0.6/src/desktop/desktop-window.c:446:14: style: Variable 'xdisplay' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/desktop/desktop-window.c:561:65: style: Parameter 'clr' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/desktop/desktop-window.c:576:67: style: Parameter 'clr' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/desktop/desktop-window.c:576:82: style: Parameter 'shadow' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/desktop/desktop-window.c:620:13: style: Variable 'xvisual' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/desktop/desktop-window.c:960:54: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/desktop/desktop-window.c:998:56: style: Parameter 'clr' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/desktop/desktop-window.c:1514:30: style: Variable 'item' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/desktop/desktop-window.c:1533:51: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'on_drag_begin' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/desktop/desktop-window.c:290:22: note: You might need to cast the function pointer here spacefm-1.0.6/src/desktop/desktop-window.c:1533:51: note: Parameter 'ctx' can be declared as pointer to const spacefm-1.0.6/src/desktop/desktop-window.c:1535:20: style: Variable 'self' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/desktop/desktop-window.c:1669:26: style: Variable 'fi' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/desktop/desktop-window.c:1813:56: style: Parameter 'task' can be declared as pointer to const. However it seems that 'desktop_window_insert_task_complete' is a callback function, if 'task' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/desktop/desktop-window.c:2435:44: note: You might need to cast the function pointer here spacefm-1.0.6/src/desktop/desktop-window.c:1813:56: note: Parameter 'task' can be declared as pointer to const spacefm-1.0.6/src/desktop/desktop-window.c:1813:77: style: Parameter 'self' can be declared as pointer to const. However it seems that 'desktop_window_insert_task_complete' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/desktop/desktop-window.c:2435:44: note: You might need to cast the function pointer here spacefm-1.0.6/src/desktop/desktop-window.c:1813:77: note: Parameter 'self' can be declared as pointer to const spacefm-1.0.6/src/desktop/desktop-window.c:2021:49: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'on_drag_end' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/desktop/desktop-window.c:296:20: note: You might need to cast the function pointer here spacefm-1.0.6/src/desktop/desktop-window.c:2021:49: note: Parameter 'ctx' can be declared as pointer to const spacefm-1.0.6/src/desktop/desktop-window.c:2023:20: style: Variable 'self' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/desktop/desktop-window.c:2339:11: style: Variable 'xname' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/desktop/desktop-window.c:2383:27: style: Variable 'xname' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/desktop/desktop-window.c:2525:20: style: Variable 'self' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/desktop/desktop-window.c:2724:22: style: Variable 'line' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/desktop/desktop-window.c:2793:16: style: Variable 'widget' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/desktop/desktop-window.c:3086:54: style: Parameter 'fi' can be declared as pointer to const. However it seems that 'on_thumbnail_loaded' is a callback function, if 'fi' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/desktop/desktop-window.c:393:9: note: You might need to cast the function pointer here spacefm-1.0.6/src/desktop/desktop-window.c:3086:54: note: Parameter 'fi' can be declared as pointer to const spacefm-1.0.6/src/desktop/desktop-window.c:3089:16: style: Variable 'w' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/desktop/desktop-window.c:3212:31: style: Parameter 'dir' can be declared as pointer to const. However it seems that 'on_file_deleted' is a callback function, if 'dir' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/desktop/desktop-window.c:391:9: note: You might need to cast the function pointer here spacefm-1.0.6/src/desktop/desktop-window.c:3212:31: note: Parameter 'dir' can be declared as pointer to const spacefm-1.0.6/src/desktop/desktop-window.c:3212:49: style: Parameter 'file' can be declared as pointer to const. However it seems that 'on_file_deleted' is a callback function, if 'file' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/desktop/desktop-window.c:391:9: note: You might need to cast the function pointer here spacefm-1.0.6/src/desktop/desktop-window.c:3212:49: note: Parameter 'file' can be declared as pointer to const spacefm-1.0.6/src/desktop/desktop-window.c:3268:49: style: Parameter 'file' can be declared as pointer to const. However it seems that 'on_file_changed' is a callback function, if 'file' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/desktop/desktop-window.c:392:9: note: You might need to cast the function pointer here spacefm-1.0.6/src/desktop/desktop-window.c:3268:49: note: Parameter 'file' can be declared as pointer to const spacefm-1.0.6/src/desktop/desktop-window.c:3314:66: style: Parameter 'setname' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/desktop/desktop-window.c:3568:49: style: Parameter 'rect' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/desktop/desktop-window.c:3738:68: style: Parameter 'desktop' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/desktop/desktop-window.c:3771:48: style: Parameter 'win' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/desktop/desktop-window.c:3802:37: style: Parameter 'item1' can be declared as pointer to const. However it seems that 'comp_item_by_name' is a callback function, if 'item1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/desktop/desktop-window.c:3936:55: note: You might need to cast the function pointer here spacefm-1.0.6/src/desktop/desktop-window.c:3802:37: note: Parameter 'item1' can be declared as pointer to const spacefm-1.0.6/src/desktop/desktop-window.c:3802:57: style: Parameter 'item2' can be declared as pointer to const. However it seems that 'comp_item_by_name' is a callback function, if 'item2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/desktop/desktop-window.c:3936:55: note: You might need to cast the function pointer here spacefm-1.0.6/src/desktop/desktop-window.c:3802:57: note: Parameter 'item2' can be declared as pointer to const spacefm-1.0.6/src/desktop/desktop-window.c:3802:79: style: Parameter 'win' can be declared as pointer to const. However it seems that 'comp_item_by_name' is a callback function, if 'win' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/desktop/desktop-window.c:3936:55: note: You might need to cast the function pointer here spacefm-1.0.6/src/desktop/desktop-window.c:3802:79: note: Parameter 'win' can be declared as pointer to const spacefm-1.0.6/src/desktop/desktop-window.c:3815:79: style: Parameter 'win' can be declared as pointer to const. However it seems that 'comp_item_by_size' is a callback function, if 'win' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/desktop/desktop-window.c:3781:38: note: You might need to cast the function pointer here spacefm-1.0.6/src/desktop/desktop-window.c:3815:79: note: Parameter 'win' can be declared as pointer to const spacefm-1.0.6/src/desktop/desktop-window.c:3829:80: style: Parameter 'win' can be declared as pointer to const. However it seems that 'comp_item_by_mtime' is a callback function, if 'win' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/desktop/desktop-window.c:3787:38: note: You might need to cast the function pointer here spacefm-1.0.6/src/desktop/desktop-window.c:3829:80: note: Parameter 'win' can be declared as pointer to const spacefm-1.0.6/src/desktop/desktop-window.c:3843:79: style: Parameter 'win' can be declared as pointer to const. However it seems that 'comp_item_by_type' is a callback function, if 'win' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/desktop/desktop-window.c:3784:38: note: You might need to cast the function pointer here spacefm-1.0.6/src/desktop/desktop-window.c:3843:79: note: Parameter 'win' can be declared as pointer to const spacefm-1.0.6/src/desktop/desktop-window.c:3857:52: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/desktop/desktop-window.c:4199:22: style: Variable 'evt' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/desktop/desktop-window.c:4368:43: style: Parameter 'win' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/desktop/desktop-window.c:4555:19: style: Variable 'mset' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/desktop/desktop-window.c:1720:37: warning: Size of pointer 'file' used instead of size of its data. [pointerSize] spacefm-1.0.6/src/desktop/desktop-window.c:357:12: style: Variable 'font_h' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/desktop/desktop-window.c:358:12: style: Variable 'font_h' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/desktop/desktop-window.c:446:23: style: Variable 'xdisplay' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/desktop/desktop-window.c:446:14: style: Variable 'xdisplay' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/desktop/desktop-window.c:550:16: style: Unused variable: pix [unusedVariable] spacefm-1.0.6/src/desktop/desktop-window.c:962:25: style: Unused variable: w [unusedVariable] spacefm-1.0.6/src/desktop/desktop-window.c:962:28: style: Unused variable: h [unusedVariable] spacefm-1.0.6/src/desktop/desktop-window.c:1036:9: style: Unused variable: x1 [unusedVariable] spacefm-1.0.6/src/desktop/desktop-window.c:1036:13: style: Unused variable: x2 [unusedVariable] spacefm-1.0.6/src/desktop/desktop-window.c:1036:17: style: Unused variable: y1 [unusedVariable] spacefm-1.0.6/src/desktop/desktop-window.c:1036:21: style: Unused variable: y2 [unusedVariable] spacefm-1.0.6/src/desktop/desktop-window.c:1036:25: style: Unused variable: w [unusedVariable] spacefm-1.0.6/src/desktop/desktop-window.c:1036:28: style: Unused variable: h [unusedVariable] spacefm-1.0.6/src/desktop/desktop-window.c:1036:31: style: Unused variable: pattern_w [unusedVariable] spacefm-1.0.6/src/desktop/desktop-window.c:1036:42: style: Unused variable: pattern_h [unusedVariable] spacefm-1.0.6/src/desktop/desktop-window.c:1535:25: style: Variable 'self' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/desktop/desktop-window.c:1535:20: style: Variable 'self' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/desktop/desktop-window.c:1541:29: style: Variable 'expected_target' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/desktop/desktop-window.c:1742:18: style: Unused variable: item [unusedVariable] spacefm-1.0.6/src/desktop/desktop-window.c:2023:25: style: Variable 'self' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/desktop/desktop-window.c:2023:20: style: Variable 'self' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/desktop/desktop-window.c:2178:13: style: Variable 'myline_x' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/desktop/desktop-window.c:2179:13: style: Variable 'myline_y' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/desktop/desktop-window.c:2518:12: style: Variable 'font_h' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/desktop/desktop-window.c:2519:12: style: Variable 'font_h' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/desktop/desktop-window.c:2793:16: style: Variable 'widget' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/desktop/desktop-window.c:2794:18: style: Unused variable: w [unusedVariable] spacefm-1.0.6/src/desktop/desktop-window.c:3089:18: style: Variable 'w' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/desktop/desktop-window.c:3089:16: style: Variable 'w' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/desktop/desktop-window.c:3763:20: style: Variable 'new_window' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:268:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INVALID [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:302:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data2 [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:346:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data2 [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:599:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xset_cmd_history [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:646:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:808:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSET_TOOL_UP [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:853:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSET_TOOL_CUSTOM [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:1008:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TOOLBAR_ICONS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:1057:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TOOLBAR_ICONS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:1111:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_NORMAL [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:1145:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:1214:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSET_B_TRUE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:1391:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:1478:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:1547:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:1916:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:2136:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable single_click [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:2369:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:2482:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:2763:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:2966:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_FUNC [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:3052:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_FUNC [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:3209:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_FUNC [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-task.c:52:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_TASK_EXEC [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:3387:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_FUNC [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-task.c:114:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_TASK_CHMOD_CHOWN [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:3540:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-task.c:168:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_TASK_EXEC [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:3667:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-task.c:208:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_TASK_EXEC [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:3865:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-task.c:292:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_TASK_RUNNING [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:3968:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-task.c:365:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_TASK_RUNNING [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:3987:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-task.c:392:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_TASK_EXEC [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:4095:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_class [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-task.c:429:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_TASK_EXEC [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:4187:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXO_ICON_VIEW_LAYOUT_COLS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-task.c:539:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_TASK_PAUSE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:4435:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TREE_VIEW_COLUMN_FIXED [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-task.c:576:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_TASK_EXEC [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:4535:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-task.c:694:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_TASK_PAUSE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:4750:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_TASK_MOVE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-task.c:752:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_TASK_RUNNING [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:4931:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-task.c:841:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_BUTTON [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5124:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXO_ICON_VIEW_DROP_INTO [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-task.c:1210:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_TASK_EXEC [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5379:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-task.c:1553:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_TASK_EXEC [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5468:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-task.c:1869:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_TASK_EXEC [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5547:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-task.c:1943:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Return [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5637:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-task.c:1993:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_TASK_OVERWRITE_ALL [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5744:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSET_B_TRUE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-task.c:2130:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_TASK_MOVE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5770:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSET_B_TRUE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:6047:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_IN [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:6054:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_NONE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:6541:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-input-dialog.c:34:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-handler.c:627:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-handler.c:691:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-handler.c:768:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-handler.c:995:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSET_B_TRUE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-handler.c:1122:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSET_B_UNSET [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-handler.c:1217:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSET_B_UNSET [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-handler.c:1377:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSET_B_TRUE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-handler.c:1428:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSET_B_TRUE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-handler.c:1561:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSET_B_TRUE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-handler.c:1731:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSET_B_FALSE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-handler.c:2149:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_YES [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-handler.c:2186:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_YES [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-handler.c:2270:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_NO [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-handler.c:2523:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSET_MENU_SEP [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-handler.c:2561:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSET_B_TRUE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-handler.c:2574:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Return [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-handler.c:2658:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_BUTTON [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-handler.c:2768:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-handler.c:2828:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSET_B_TRUE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-handler.c:2843:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-handler.c:2984:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_HELP [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:384:27: 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] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:559:30: 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] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:565:23: 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] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:1156:27: 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] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:132:9: error: Memory leak: name [memleak] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:1573:30: style: Variable 'task->task->exec_browser' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:1567:34: note: task->task->exec_browser is assigned spacefm-1.0.6/src/ptk/ptk-file-archiver.c:1573:30: note: task->task->exec_browser is overwritten spacefm-1.0.6/src/ptk/ptk-file-archiver.c:653:25: style: Local variable 'iter' shadows outer variable [shadowVariable] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:434:17: note: Shadowed declaration spacefm-1.0.6/src/ptk/ptk-file-archiver.c:653:25: note: Shadow variable spacefm-1.0.6/src/ptk/ptk-file-archiver.c:917:15: style: Local variable 'udest_quote' shadows outer variable [shadowVariable] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:331:10: note: Shadowed declaration spacefm-1.0.6/src/ptk/ptk-file-archiver.c:917:15: note: Shadow variable spacefm-1.0.6/src/ptk/ptk-file-archiver.c:39:58: style: Parameter 'handler_xset' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:76:52: style: Parameter 'handler_xset' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:217:50: style: Parameter 'parent_quote' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:223:11: style: Variable 'error_pause' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:223:32: style: Variable 'finished_with_errors' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:257:11: style: Variable 'sub' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:985:41: warning: Uninitialized variable: run_in_terminal [uninitvar] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:618:16: note: Assuming condition is false spacefm-1.0.6/src/ptk/ptk-file-archiver.c:985:41: note: Uninitialized variable: run_in_terminal spacefm-1.0.6/src/ptk/ptk-file-archiver.c:326:30: style: Unused variable: hbox [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:1056:15: style: Unused variable: j [unusedVariable] spacefm-1.0.6/src/ptk/ptk-path-entry.c:89:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-path-entry.c:235:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xset_cmd_history [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-path-entry.c:325:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-path-entry.c:426:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-path-entry.c:487:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_FUNC [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-path-entry.c:629:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-path-entry.c:641:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-path-entry.c:652:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_RELEASE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-path-entry.c:725:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:131:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WATCH [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:173:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable small_icon_size [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:235:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable show_thumbnail [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:389:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:428:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEVICE_TYPE_BLOCK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:474:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:580:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TREE_VIEW_COLUMN_AUTOSIZE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:662:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable small_icon_size [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:721:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable small_icon_size [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:955:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:1141:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:1360:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable netmount_t [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:1410:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_EXEC_UDISKS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:1459:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_DIALOG [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:1511:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_DIALOG [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:1565:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_DIALOG [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:1676:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_DIALOG [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:1762:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_EXEC_UDISKS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:1830:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEVICE_TYPE_BLOCK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:1974:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_EXEC_UDISKS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:2049:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_EXEC_UDISKS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:2126:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_EXEC_UDISKS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:2221:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_EXEC_UDISKS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:2278:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_EXEC_UDISKS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:2378:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_DIALOG [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:2441:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:2617:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSCONFDIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:2624:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSCONFDIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:2649:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:2803:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SAVE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:2920:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEVICE_TYPE_NETWORK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:3357:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEVICE_TYPE_NETWORK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:3508:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEVICE_TYPE_BLOCK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:3723:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:3784:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:3890:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:4023:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Return [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:4043:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:4120:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:4349:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSET_B_UNSET [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:4484:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable small_icon_size [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:4628:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_FUNC [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:4734:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSET_CMD_BOOKMARK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:4786:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSET_CMD_BOOKMARK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:4820:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSET_MENU_SUBMENU [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:4871:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSET_CMD_BOOKMARK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:5007:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSET_CMD_BOOKMARK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:5134:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSET_MENU_SUBMENU [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:5177:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:5399:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable main_update_fonts [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:5435:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:5493:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_RELEASE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-location-view.c:5528:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-path-entry.c:250:24: warning: Either the condition 'text' is redundant or there is possible null pointer dereference: text. [nullPointerRedundantCheck] spacefm-1.0.6/src/ptk/ptk-path-entry.c:226:10: note: Assuming that condition 'text' is not redundant spacefm-1.0.6/src/ptk/ptk-path-entry.c:250:24: note: Null pointer dereference spacefm-1.0.6/src/ptk/ptk-path-entry.c:665:17: warning: Either the condition 'text' is redundant or there is possible null pointer dereference: text. [nullPointerRedundantCheck] spacefm-1.0.6/src/ptk/ptk-path-entry.c:669:17: note: Assuming that condition 'text' is not redundant spacefm-1.0.6/src/ptk/ptk-path-entry.c:665:17: note: Null pointer dereference spacefm-1.0.6/src/ptk/ptk-path-entry.c:424:46: 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] spacefm-1.0.6/src/ptk/ptk-path-entry.c:807:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-path-entry.c:424:46: note: Parameter 'evt' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-path-entry.c:469:48: style: Parameter 'completion' can be declared as pointer to const. However it seems that 'on_insert_prefix' is a callback function, if 'completion' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-path-entry.c:558:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-path-entry.c:469:48: note: Parameter 'completion' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-path-entry.c:470:48: style: Parameter 'prefix' can be declared as pointer to const. However it seems that 'on_insert_prefix' is a callback function, if 'prefix' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-path-entry.c:558:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-path-entry.c:470:48: note: Parameter 'prefix' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-path-entry.c:471:48: style: Parameter 'entry' can be declared as pointer to const. However it seems that 'on_insert_prefix' is a callback function, if 'entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-path-entry.c:558:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-path-entry.c:471:48: note: Parameter 'entry' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-path-entry.c:649:52: style: Parameter 'evt' can be declared as pointer to const. However it seems that 'on_button_release' is a callback function, if 'evt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-path-entry.c:814:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-path-entry.c:649:52: note: Parameter 'evt' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-path-entry.c:77:11: style: Unused variable: str [unusedVariable] spacefm-1.0.6/src/ptk/ptk-path-entry.c:341:18: style: Variable 'long_len' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-path-entry.c:340:9: style: Unused variable: len [unusedVariable] spacefm-1.0.6/src/ptk/ptk-path-entry.c:341:9: style: Variable 'long_len' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-path-entry.c:347:11: style: Unused variable: str [unusedVariable] spacefm-1.0.6/src/ptk/ptk-text-renderer.c:122:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_CELL_RENDERER [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-text-renderer.c:161:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_WRITABLE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-text-renderer.c:313:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable finalize [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-text-renderer.c:509:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_FONT_MASK_FAMILY [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-text-renderer.c:570:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_FONT_MASK_FAMILY [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-text-renderer.c:737:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXINT [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-text-renderer.c:753:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_ALIGN_CENTER [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-text-renderer.c:859:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_ALIGN_CENTER [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-text-renderer.c:983:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_INSENSITIVE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-text-renderer.c:320:46: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ptk_text_renderer_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-text-renderer.c:149:34: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-text-renderer.c:320:46: note: Parameter 'pspec' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-text-renderer.c:412:26: style: Parameter 'color' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-text-renderer.c:439:26: style: Parameter 'color' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-text-renderer.c:595:46: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ptk_text_renderer_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-text-renderer.c:150:34: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-text-renderer.c:595:46: note: Parameter 'pspec' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-text-renderer.c:840:26: style: Parameter 'cell_area' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-text-renderer.c:1035:19: style: Variable 'flags' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-text-renderer.c:959:10: style: Unused variable: x [unusedVariable] spacefm-1.0.6/src/ptk/ptk-text-renderer.c:959:13: style: Unused variable: y [unusedVariable] spacefm-1.0.6/src/main-window.c:190:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INVALID [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:305:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:515:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DATADIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:774:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTK_FB_LIST_VIEW [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:830:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_NORMAL [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:895:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTK_FB_LIST_VIEW [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:1028:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:1427:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTK_FB_LIST_VIEW [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:1898:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptk_bookmark_view_add_bookmark [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:2026:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TOOLBAR_ICONS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:2369:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTK_FB_LIST_VIEW [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:2395:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:2458:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_STATE_MAXIMIZED [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:2634:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_NOTEBOOK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:2725:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:2840:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:3060:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTK_FB_CHDIR_ADD_HISTORY [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:3199:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_UI_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:3371:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTK_FB_LIST_VIEW [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:3529:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTK_FB_LIST_VIEW [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:3561:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTK_FB_CHDIR_ADD_HISTORY [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:3585:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTK_FB_CHDIR_ADD_HISTORY [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:3706:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:3858:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:3924:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:4195:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:4341:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:4972:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:5135:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_class [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:5179:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_TASK_QUEUE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:5210:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_TASK_RUNNING [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:5327:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_TASK_EXEC [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:5612:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_TASK_RUNNING [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:5635:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:5876:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_FILE_TASK_EXEC [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:6126:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TREE_VIEW_COLUMN_FIXED [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:6547:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/main-window.c:8104:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VFS_VOLUME_ADDED [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-utils.c:56:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-utils.c:202:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-utils.c:396:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_0 [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/item-prop.c:1633:23: 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] spacefm-1.0.6/src/item-prop.c:1682:23: 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] spacefm-1.0.6/src/item-prop.c:1711:25: 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] spacefm-1.0.6/src/item-prop.c:1731:12: 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] spacefm-1.0.6/src/item-prop.c:1766:12: 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] spacefm-1.0.6/src/item-prop.c:1896:26: 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] spacefm-1.0.6/src/item-prop.c:1897: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] spacefm-1.0.6/src/item-prop.c:1915:28: 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] spacefm-1.0.6/src/item-prop.c:1930:29: 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] spacefm-1.0.6/src/item-prop.c:1932:29: 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] spacefm-1.0.6/src/item-prop.c:1939:12: 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] spacefm-1.0.6/src/item-prop.c:1944:12: 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] spacefm-1.0.6/src/item-prop.c:1957:25: 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] spacefm-1.0.6/src/item-prop.c:2067:12: 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] spacefm-1.0.6/src/item-prop.c:2073:12: 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] spacefm-1.0.6/src/item-prop.c:2127:12: 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] spacefm-1.0.6/src/item-prop.c:2136:18: 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] spacefm-1.0.6/src/item-prop.c:2145:27: 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] spacefm-1.0.6/src/item-prop.c:2161:12: 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] spacefm-1.0.6/src/item-prop.c:2171:12: 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] spacefm-1.0.6/src/item-prop.c:2189:18: 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] spacefm-1.0.6/src/item-prop.c:2195:12: 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] spacefm-1.0.6/src/item-prop.c:2219:26: 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] spacefm-1.0.6/src/item-prop.c:2243:12: 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] spacefm-1.0.6/src/ptk/ptk-utils.c:54:13: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] spacefm-1.0.6/src/ptk/ptk-utils.c:59:18: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] spacefm-1.0.6/src/ptk/ptk-utils.c:63:18: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] spacefm-1.0.6/src/ptk/ptk-utils.c:65:15: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] spacefm-1.0.6/src/ptk/ptk-utils.c:345:49: style: Parameter 'dlg' can be declared as pointer to const. However it seems that 'on_dlg_delete_event' is a callback function, if 'dlg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-utils.c:362:17: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-utils.c:345:49: note: Parameter 'dlg' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-utils.c:345:64: style: Parameter 'evt' can be declared as pointer to const. However it seems that 'on_dlg_delete_event' is a callback function, if 'evt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-utils.c:362:17: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-utils.c:345:64: note: Parameter 'evt' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-utils.c:345:81: style: Parameter 'data' can be declared as pointer to const. However it seems that 'on_dlg_delete_event' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-utils.c:362:17: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-utils.c:345:81: note: Parameter 'data' can be declared as pointer to const spacefm-1.0.6/src/item-prop.c:518:10: warning:inconclusive: Either the condition 'value' is redundant or there is possible null pointer dereference: value. [nullPointerRedundantCheck] spacefm-1.0.6/src/item-prop.c:2057:14: note: Assuming that condition 'value' is not redundant spacefm-1.0.6/src/item-prop.c:2048:44: note: Calling function 'context_display', 3rd argument 'value' value is 0 spacefm-1.0.6/src/item-prop.c:518:10: note: Null pointer dereference spacefm-1.0.6/src/item-prop.c:1293:13: style: Local variable 'item_type' shadows outer variable [shadowVariable] spacefm-1.0.6/src/item-prop.c:1283:9: note: Shadowed declaration spacefm-1.0.6/src/item-prop.c:1293:13: note: Shadow variable spacefm-1.0.6/src/item-prop.c:493:15: style: Variable 'text' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/item-prop.c:515:49: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/item-prop.c:527:42: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'on_context_button_press' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/item-prop.c:1824:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/item-prop.c:527:42: note: Parameter 'widget' can be declared as pointer to const spacefm-1.0.6/src/item-prop.c:629:53: style: Parameter 'event' can be declared as pointer to const. However it seems that 'on_current_value_button_press' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/item-prop.c:1879:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/item-prop.c:629:53: note: Parameter 'event' can be declared as pointer to const spacefm-1.0.6/src/item-prop.c:661:75: style: Parameter 'event' can be declared as pointer to const. However it seems that 'on_context_entry_keypress' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/item-prop.c:1886:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/item-prop.c:661:75: note: Parameter 'event' can be declared as pointer to const spacefm-1.0.6/src/item-prop.c:852:11: style: Variable 'script' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/item-prop.c:939:39: style: Parameter 'btn' can be declared as pointer to const. However it seems that 'on_edit_button_press' is a callback function, if 'btn' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/item-prop.c:2090:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/item-prop.c:939:39: note: Parameter 'btn' can be declared as pointer to const spacefm-1.0.6/src/item-prop.c:1038:19: style: Variable 'mset' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/item-prop.c:1081:11: style: Variable 'mset' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/item-prop.c:1495:49: style: Parameter 'notebook' can be declared as pointer to const. However it seems that 'on_prop_notebook_switch_page' is a callback function, if 'notebook' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/item-prop.c:2465:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/item-prop.c:1495:49: note: Parameter 'notebook' can be declared as pointer to const spacefm-1.0.6/src/item-prop.c:1496:47: style: Parameter 'page' can be declared as pointer to const. However it seems that 'on_prop_notebook_switch_page' is a callback function, if 'page' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/item-prop.c:2465:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/item-prop.c:1496:47: note: Parameter 'page' can be declared as pointer to const spacefm-1.0.6/src/item-prop.c:1500:16: style: Variable 'widget' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/item-prop.c:1553:69: style: Parameter 'event' can be declared as pointer to const. However it seems that 'on_target_keypress' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/item-prop.c:2445:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/item-prop.c:1553:69: note: Parameter 'event' can be declared as pointer to const spacefm-1.0.6/src/item-prop.c:1564:66: style: Parameter 'event' can be declared as pointer to const. However it seems that 'on_dlg_keypress' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/item-prop.c:2468:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/item-prop.c:1564:66: note: Parameter 'event' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-menu.c:3060:19: style: Expression is always false because 'else if' condition matches previous condition at line 3056. [multiCondition] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2346:9: error: Memory leak: str [memleak] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2355:9: error: Memory leak: str [memleak] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1162:21: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1151:21: note: set is assigned spacefm-1.0.6/src/ptk/ptk-file-menu.c:1162:21: note: set is overwritten spacefm-1.0.6/src/ptk/ptk-file-menu.c:1273:13: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1271:13: note: set is assigned spacefm-1.0.6/src/ptk/ptk-file-menu.c:1273:13: note: set is overwritten spacefm-1.0.6/src/ptk/ptk-file-menu.c:1275:13: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1273:13: note: set is assigned spacefm-1.0.6/src/ptk/ptk-file-menu.c:1275:13: note: set is overwritten spacefm-1.0.6/src/ptk/ptk-file-menu.c:1276:13: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1275:13: note: set is assigned spacefm-1.0.6/src/ptk/ptk-file-menu.c:1276:13: note: set is overwritten spacefm-1.0.6/src/ptk/ptk-file-menu.c:1407:17: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1402:13: note: set is assigned spacefm-1.0.6/src/ptk/ptk-file-menu.c:1407:17: note: set is overwritten spacefm-1.0.6/src/ptk/ptk-file-menu.c:1506:13: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1505:13: note: set is assigned spacefm-1.0.6/src/ptk/ptk-file-menu.c:1506:13: note: set is overwritten spacefm-1.0.6/src/ptk/ptk-file-menu.c:1580:13: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1506:13: note: set is assigned spacefm-1.0.6/src/ptk/ptk-file-menu.c:1580:13: note: set is overwritten spacefm-1.0.6/src/ptk/ptk-file-menu.c:2290:13: style: Variable 'newitem' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2284:13: note: newitem is assigned spacefm-1.0.6/src/ptk/ptk-file-menu.c:2290:13: note: newitem is overwritten spacefm-1.0.6/src/ptk/ptk-file-menu.c:2294:13: style: Variable 'newitem' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2290:13: note: newitem is assigned spacefm-1.0.6/src/ptk/ptk-file-menu.c:2294:13: note: newitem is overwritten spacefm-1.0.6/src/ptk/ptk-file-menu.c:2326:13: style: Variable 'newitem' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2294:13: note: newitem is assigned spacefm-1.0.6/src/ptk/ptk-file-menu.c:2326:13: note: newitem is overwritten spacefm-1.0.6/src/ptk/ptk-file-menu.c:2326:13: style: Variable 'newitem' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2319:17: note: newitem is assigned spacefm-1.0.6/src/ptk/ptk-file-menu.c:2326:13: note: newitem is overwritten spacefm-1.0.6/src/ptk/ptk-file-menu.c:2330:13: style: Variable 'newitem' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2326:13: note: newitem is assigned spacefm-1.0.6/src/ptk/ptk-file-menu.c:2330:13: note: newitem is overwritten spacefm-1.0.6/src/ptk/ptk-file-menu.c:2365:13: style: Variable 'newitem' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2361:13: note: newitem is assigned spacefm-1.0.6/src/ptk/ptk-file-menu.c:2365:13: note: newitem is overwritten spacefm-1.0.6/src/ptk/ptk-file-menu.c:2104:40: style:inconclusive: Function 'app_menu_keypress' argument 1 names different: declaration 'widget' definition 'menu'. [funcArgNamesDifferent] spacefm-1.0.6/src/ptk/ptk-file-menu.c:50:40: note: Function 'app_menu_keypress' argument 1 names different: declaration 'widget' definition 'menu'. spacefm-1.0.6/src/ptk/ptk-file-menu.c:2104:40: note: Function 'app_menu_keypress' argument 1 names different: declaration 'widget' definition 'menu'. spacefm-1.0.6/src/ptk/ptk-file-menu.c:297:11: style: Variable 'set' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-menu.c:421:60: style: Parameter 'desktop' can be declared as pointer to const. However it seems that 'on_popup_desktop_sort_activate' is a callback function, if 'desktop' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1656:49: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-menu.c:421:60: note: Parameter 'desktop' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-menu.c:423:11: style: Variable 'set' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-menu.c:464:54: style: Parameter 'menuitem' can be declared as pointer to const. However it seems that 'on_popup_desktop_new_app_activate' is a callback function, if 'menuitem' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1282:37: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-menu.c:464:54: note: Parameter 'menuitem' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-menu.c:464:79: style: Parameter 'desktop' can be declared as pointer to const. However it seems that 'on_popup_desktop_new_app_activate' is a callback function, if 'desktop' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1282:37: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-menu.c:464:79: note: Parameter 'desktop' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-menu.c:473:60: style: Parameter 'desktop' can be declared as pointer to const. However it seems that 'on_popup_desktop_select' is a callback function, if 'desktop' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1349:41: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-menu.c:473:60: note: Parameter 'desktop' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-menu.c:475:11: style: Variable 'set' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1615:22: style: Variable 'book_item' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1774:11: style: Variable 'handler_set' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2009:23: style: Variable 'start' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2281:20: style: Variable 'accel_group' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2462:64: style: Parameter 'event' can be declared as pointer to const. However it seems that 'on_app_button_press' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1049:17: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-menu.c:2462:64: note: Parameter 'event' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-menu.c:2744:40: style: Parameter 'data' can be declared as pointer to const. However it seems that 'on_popup_copy_parent_activate' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1312:43: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-menu.c:2744:40: note: Parameter 'data' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-menu.c:2811:50: style: Parameter 'menuitem' can be declared as pointer to const. However it seems that 'on_popup_extract_to_activate' is a callback function, if 'menuitem' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-menu.c:887:41: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-menu.c:2811:50: note: Parameter 'menuitem' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-menu.c:2821:52: style: Parameter 'menuitem' can be declared as pointer to const. However it seems that 'on_popup_extract_here_activate' is a callback function, if 'menuitem' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-menu.c:882:41: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-menu.c:2821:52: note: Parameter 'menuitem' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-menu.c:2831:52: style: Parameter 'menuitem' can be declared as pointer to const. However it seems that 'on_popup_extract_list_activate' is a callback function, if 'menuitem' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-menu.c:891:41: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-menu.c:2831:52: note: Parameter 'menuitem' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-menu.c:2996:11: style: Variable 'xname' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/item-prop.c:481:17: style: Unused variable: it [unusedVariable] spacefm-1.0.6/src/item-prop.c:1283:9: style: Unused variable: item_type [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1615:32: style: Variable 'book_item' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1664:14: style: Variable 'item' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-menu.c:735:30: style: Variable 'no_read_access' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1615:22: style: Variable 'book_item' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2108:11: style: Unused variable: set [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2281:32: style: Variable 'accel_group' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2281:20: style: Variable 'accel_group' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2465:13: style: Variable 'job' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2465:9: style: Variable 'job' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2895:11: style: Unused variable: cwd [unusedVariable] spacefm-1.0.6/src/vfs/vfs-async-task.c:63:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_OBJECT [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-async-task.c:73:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_OBJECT [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-async-task.c:130:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable finalize [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-async-task.c:101:49: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-async-task.c:111:57: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-async-task.c:229:43: style: Parameter 'task' can be declared as pointer to const. However it seems that 'vfs_async_task_finish' is a callback function, if 'task' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/vfs/vfs-async-task.c:75:21: note: You might need to cast the function pointer here spacefm-1.0.6/src/vfs/vfs-async-task.c:229:43: note: Parameter 'task' can be declared as pointer to const spacefm-1.0.6/src/vfs/vfs-async-task.c:234:52: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-async-task.c:239:53: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-app-desktop.c:134:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_KEY_FILE_KEEP_COMMENTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-app-desktop.c:547:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SPAWN_SEARCH_PATH [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-dir.c:102:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INVALID [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-dir.c:150:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_POINTER [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-dir.c:345:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-dir.c:381:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-dir.c:421:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-dir.c:547:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-dir.c:603:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-dir.c:1080:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-dir.c:1249:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-app-desktop.c:113:42: style: Parameter 'app' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-app-desktop.c:144:11: style: Variable 'dot' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/vfs/vfs-app-desktop.c:189:54: style: Parameter 'app' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-app-desktop.c:201:54: style: Parameter 'app' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-app-desktop.c:206:59: style: Parameter 'app' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-app-desktop.c:231:30: style: Variable 'suffix' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/vfs/vfs-app-desktop.c:315:59: style: Parameter 'app' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-app-desktop.c:320:52: style: Parameter 'app' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-app-desktop.c:325:62: style: Parameter 'app' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-app-desktop.c:284:11: style: Unused variable: p [unusedVariable] spacefm-1.0.6/src/cust-dialog.c:648:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] spacefm-1.0.6/src/cust-dialog.c:1678:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] spacefm-1.0.6/src/cust-dialog.c:3452:23: 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] spacefm-1.0.6/src/cust-dialog.c:3454:23: 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] spacefm-1.0.6/src/cust-dialog.c:3634:23: 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] spacefm-1.0.6/src/cust-dialog.c:3636:11: 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] spacefm-1.0.6/src/vfs/vfs-execute.c:130:13: style: Redundant initialization for 'new_env'. The initialized value is overwritten before it is read. [redundantInitialization] spacefm-1.0.6/src/vfs/vfs-execute.c:120:20: note: new_env is initialized spacefm-1.0.6/src/vfs/vfs-execute.c:130:13: note: new_env is overwritten spacefm-1.0.6/src/vfs/vfs-execute.c:118:37: style: Variable 'setup_func' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/vfs/vfs-execute.c:123:46: style: Variable 'startup_id_index' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/vfs/vfs-execute.c:139:34: style: Variable 'startup_id_index' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/vfs/vfs-execute.c:118:26: style: Variable 'setup_func' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/cust-dialog.c:1460:21: style: Redundant condition: cname. '!cname || (cname && cname[0]=='\0')' is equivalent to '!cname || cname[0]=='\0'' [redundantCondition] spacefm-1.0.6/src/cust-dialog.c:3354:24: style: Redundant condition: args. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] spacefm-1.0.6/src/cust-dialog.c:2417:25: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] spacefm-1.0.6/src/cust-dialog.c:2417:25: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] spacefm-1.0.6/src/cust-dialog.c:682:34: warning: Either the condition '!el' is redundant or there is possible null pointer dereference: el. [nullPointerRedundantCheck] spacefm-1.0.6/src/cust-dialog.c:692:10: note: Assuming that condition '!el' is not redundant spacefm-1.0.6/src/cust-dialog.c:682:34: note: Null pointer dereference spacefm-1.0.6/src/cust-dialog.c:80:41: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/cust-dialog.c:82:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/cust-dialog.c:128:11: style: Variable 'default_value' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/cust-dialog.c:2003:11: style: Variable 'prefix' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/cust-dialog.c:2410:63: style: Parameter 'evt' can be declared as pointer to const. However it seems that 'on_widget_button_press_event' is a callback function, if 'evt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/cust-dialog.c:2853:13: note: You might need to cast the function pointer here spacefm-1.0.6/src/cust-dialog.c:2410:63: note: Parameter 'evt' can be declared as pointer to const spacefm-1.0.6/src/cust-dialog.c:2530:66: style: Parameter 'evt' can be declared as pointer to const. However it seems that 'on_dlg_key_press' is a callback function, if 'evt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/cust-dialog.c:3588:17: note: You might need to cast the function pointer here spacefm-1.0.6/src/cust-dialog.c:2530:66: note: Parameter 'evt' can be declared as pointer to const spacefm-1.0.6/src/cust-dialog.c:2548:68: style: Parameter 'evt' can be declared as pointer to const. However it seems that 'on_input_key_press' is a callback function, if 'evt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/cust-dialog.c:3168:17: note: You might need to cast the function pointer here spacefm-1.0.6/src/cust-dialog.c:2548:68: note: Parameter 'evt' can be declared as pointer to const spacefm-1.0.6/src/vfs/vfs-file-info.c:160:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDG_MIME_TYPE_UNKNOWN [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-file-info.c:400:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-file-info.c:462:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable use_si_prefix [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-file-info.c:561:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable use_si_prefix [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-file-info.c:643:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDG_MIME_TYPE_DIRECTORY [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/cust-dialog.c:122:12: style: Unused variable: l [unusedVariable] spacefm-1.0.6/src/cust-dialog.c:125:11: style: Unused variable: str [unusedVariable] spacefm-1.0.6/src/cust-dialog.c:252:18: style: Unused variable: tree_path [unusedVariable] spacefm-1.0.6/src/cust-dialog.c:1056:12: style: Unused variable: l [unusedVariable] spacefm-1.0.6/src/cust-dialog.c:1159:10: style: Unused variable: exit_status [unusedVariable] spacefm-1.0.6/src/cust-dialog.c:1485:17: style: Variable 'icmd' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/cust-dialog.c:1481:11: style: Unused variable: str [unusedVariable] spacefm-1.0.6/src/cust-dialog.c:1482:11: style: Unused variable: line [unusedVariable] spacefm-1.0.6/src/cust-dialog.c:1483:11: style: Unused variable: arg [unusedVariable] spacefm-1.0.6/src/cust-dialog.c:1484:12: style: Unused variable: l [unusedVariable] spacefm-1.0.6/src/cust-dialog.c:3586:26: style: Variable 'modifier' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/cust-dialog.c:3586:17: style: Variable 'modifier' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/cust-dialog.c:3610:11: style: Unused variable: str [unusedVariable] spacefm-1.0.6/src/cust-dialog.c:3611:11: style: Unused variable: sep [unusedVariable] spacefm-1.0.6/src/cust-dialog.c:3823:12: style: Unused variable: l [unusedVariable] spacefm-1.0.6/src/vfs/vfs-dir.c:636:13: style: Condition 'is_dir_trash(dir->path)' is always false [knownConditionTrueFalse] spacefm-1.0.6/src/vfs/vfs-dir.c:636:13: note: Calling function 'is_dir_trash' returns 0 spacefm-1.0.6/src/vfs/vfs-dir.c:636:13: note: Condition 'is_dir_trash(dir->path)' is always false spacefm-1.0.6/src/vfs/vfs-dir.c:642:13: style: Condition 'is_dir_mount_point(dir->path)' is always false [knownConditionTrueFalse] spacefm-1.0.6/src/vfs/vfs-dir.c:642:13: note: Calling function 'is_dir_mount_point' returns 0 spacefm-1.0.6/src/vfs/vfs-dir.c:642:13: note: Condition 'is_dir_mount_point(dir->path)' is always false spacefm-1.0.6/src/vfs/vfs-dir.c:644:13: style: Condition 'is_dir_remote(dir->path)' is always false [knownConditionTrueFalse] spacefm-1.0.6/src/vfs/vfs-dir.c:644:13: note: Calling function 'is_dir_remote' returns 0 spacefm-1.0.6/src/vfs/vfs-dir.c:644:13: note: Condition 'is_dir_remote(dir->path)' is always false spacefm-1.0.6/src/vfs/vfs-dir.c:646:13: style: Condition 'is_dir_virtual(dir->path)' is always false [knownConditionTrueFalse] spacefm-1.0.6/src/vfs/vfs-dir.c:646:13: note: Calling function 'is_dir_virtual' returns 0 spacefm-1.0.6/src/vfs/vfs-dir.c:646:13: note: Condition 'is_dir_virtual(dir->path)' is always false spacefm-1.0.6/src/vfs/vfs-dir.c:798:5: warning:inconclusive: Either the condition 'file' is redundant or there is possible null pointer dereference: file. [nullPointerRedundantCheck] spacefm-1.0.6/src/vfs/vfs-dir.c:817:22: note: Assuming that condition 'file' is not redundant spacefm-1.0.6/src/vfs/vfs-dir.c:798:5: note: Null pointer dereference spacefm-1.0.6/src/vfs/vfs-dir.c:541:14: style: The comparison 'acc != 0' is always false. [knownConditionTrueFalse] spacefm-1.0.6/src/vfs/vfs-dir.c:539:11: note: 'acc' is assigned value '0' here. spacefm-1.0.6/src/vfs/vfs-dir.c:541:14: note: The comparison 'acc != 0' is always false. spacefm-1.0.6/src/vfs/vfs-dir.c:298:38: style: Parameter 'obj' can be declared as pointer to const. However it seems that 'vfs_dir_get_property' is a callback function, if 'obj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/vfs/vfs-dir.c:131:34: note: You might need to cast the function pointer here spacefm-1.0.6/src/vfs/vfs-dir.c:298:38: note: Parameter 'obj' can be declared as pointer to const spacefm-1.0.6/src/vfs/vfs-dir.c:300:37: style: Parameter 'value' can be declared as pointer to const. However it seems that 'vfs_dir_get_property' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/vfs/vfs-dir.c:131:34: note: You might need to cast the function pointer here spacefm-1.0.6/src/vfs/vfs-dir.c:300:37: note: Parameter 'value' can be declared as pointer to const spacefm-1.0.6/src/vfs/vfs-dir.c:301:41: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'vfs_dir_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/vfs/vfs-dir.c:131:34: note: You might need to cast the function pointer here spacefm-1.0.6/src/vfs/vfs-dir.c:301:41: note: Parameter 'pspec' can be declared as pointer to const spacefm-1.0.6/src/vfs/vfs-dir.c:304:38: style: Parameter 'obj' can be declared as pointer to const. However it seems that 'vfs_dir_set_property' is a callback function, if 'obj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/vfs/vfs-dir.c:130:34: note: You might need to cast the function pointer here spacefm-1.0.6/src/vfs/vfs-dir.c:304:38: note: Parameter 'obj' can be declared as pointer to const spacefm-1.0.6/src/vfs/vfs-dir.c:307:41: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'vfs_dir_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/vfs/vfs-dir.c:130:34: note: You might need to cast the function pointer here spacefm-1.0.6/src/vfs/vfs-dir.c:307:41: note: Parameter 'pspec' can be declared as pointer to const spacefm-1.0.6/src/vfs/vfs-dir.c:310:83: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-dir.c:313:18: style: Variable 'file2' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/vfs/vfs-dir.c:770:42: style: Parameter 'dir' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-dir.c:1226:28: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'mime_change' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/vfs/vfs-dir.c:1257:13: note: You might need to cast the function pointer here spacefm-1.0.6/src/vfs/vfs-dir.c:1226:28: note: Parameter 'user_data' can be declared as pointer to const spacefm-1.0.6/src/vfs/vfs-dir.c:330:12: style: Unused variable: l [unusedVariable] spacefm-1.0.6/src/settings.c:2712:14: debug: Scope::checkVariable found variable 'bool' with varid 0. [varid0] spacefm-1.0.6/src/vfs/vfs-file-monitor.c:96:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-file-monitor.c:152:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-file-monitor.c:435:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_HUP [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-file-monitor.c:290:40: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-file-monitor.c:293:34: style: Variable 'callbacks' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/vfs/vfs-file-monitor.c:329:37: style: Parameter 'key' can be declared as pointer to const. However it seems that 'reconnect_fam' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/vfs/vfs-file-monitor.c:446:64: note: You might need to cast the function pointer here spacefm-1.0.6/src/vfs/vfs-file-monitor.c:329:37: note: Parameter 'key' can be declared as pointer to const spacefm-1.0.6/src/vfs/vfs-file-monitor.c:151:17: style: Unused variable: file_stat [unusedVariable] spacefm-1.0.6/src/vfs/vfs-file-info.c:716:19: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] spacefm-1.0.6/src/vfs/vfs-file-info.c:337:17: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] spacefm-1.0.6/src/vfs/vfs-file-info.c:346:18: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] spacefm-1.0.6/src/vfs/vfs-file-info.c:366:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] spacefm-1.0.6/src/vfs/vfs-file-info.c:898:23: style: Local variable 'len' shadows outer variable [shadowVariable] spacefm-1.0.6/src/vfs/vfs-file-info.c:854:9: note: Shadowed declaration spacefm-1.0.6/src/vfs/vfs-file-info.c:898:23: note: Shadow variable spacefm-1.0.6/src/vfs/vfs-file-info.c:164:50: style: Parameter 'fi' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-file-info.c:170:55: style: Parameter 'fi' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-file-info.c:195:44: style: Parameter 'fi' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-file-info.c:211:46: style: Parameter 'fi' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-file-info.c:327:21: style: Variable 'puser' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/vfs/vfs-file-info.c:328:19: style: Variable 'pgroup' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/vfs/vfs-file-info.c:330:11: style: Variable 'user_name' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/vfs/vfs-file-info.c:332:11: style: Variable 'group_name' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/vfs/vfs-file-info.c:444:69: style: Parameter 'format' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-file-info.c:446:12: style: Variable 'unit' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/vfs/vfs-file-info.c:544:12: style: Variable 'unit' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/vfs/vfs-file-info.c:650:49: style: Parameter 'fi' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-file-info.c:663:47: style: Parameter 'fi' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-file-info.c:673:55: style: Parameter 'fi' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-file-info.c:742:45: style: Parameter 'fi' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-file-info.c:747:58: style: Parameter 'fi' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-file-info.c:821:25: style: Variable 'icon_name' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/vfs/vfs-mime-type.c:114:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable file_path [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-mime-type.c:240:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDG_MIME_TYPE_DIRECTORY [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-mime-type.c:430:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDG_MIME_TYPE_UNKNOWN [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-mime-type.c:515:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIME_TYPE_ACTION_DEFAULT [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-mime-type.c:523:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIME_TYPE_ACTION_REMOVE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-mime-type.c:594:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIME_TYPE_ACTION_APPEND [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-thumbnail-loader.c:222:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-thumbnail-loader.c:520:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-thumbnail-loader.c:552:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-mime-type.c:196:38: style: Parameter 'mime_type' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-mime-type.c:413:50: style: Parameter 'mime_type' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-utils.c:37:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_LOOKUP_USE_BUILTIN [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-volume-hal-options.c:23:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_DATA_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-task.c:1078:36: 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] spacefm-1.0.6/src/ptk/ptk-file-task.c:2203:27: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] spacefm-1.0.6/src/ptk/ptk-file-task.c:2214:23: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] spacefm-1.0.6/src/ptk/ptk-file-task.c:2315:23: 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] spacefm-1.0.6/src/ptk/ptk-file-task.c:2452:23: 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] spacefm-1.0.6/src/ptk/ptk-file-task.c:341:24: style: Condition 'ptask->progress_dlg' is always true [knownConditionTrueFalse] spacefm-1.0.6/src/ptk/ptk-file-task.c:1630:19: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] spacefm-1.0.6/src/ptk/ptk-file-task.c:1633:20: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] spacefm-1.0.6/src/ptk/ptk-file-task.c:1635:20: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] spacefm-1.0.6/src/ptk/ptk-file-task.c:1639:16: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] spacefm-1.0.6/src/ptk/ptk-file-task.c:1703:23: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] spacefm-1.0.6/src/ptk/ptk-file-task.c:1706:23: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] spacefm-1.0.6/src/ptk/ptk-file-task.c:1706:23: warning: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] spacefm-1.0.6/src/ptk/ptk-file-task.c:1709:23: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] spacefm-1.0.6/src/ptk/ptk-file-task.c:1722:23: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] spacefm-1.0.6/src/ptk/ptk-file-task.c:1725:23: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] spacefm-1.0.6/src/ptk/ptk-file-task.c:1725:23: warning: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] spacefm-1.0.6/src/ptk/ptk-file-task.c:1728:23: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] spacefm-1.0.6/src/vfs/vfs-thumbnail-loader.c:391:24: style: The comparison 'file_is_video == 0' is always true. [knownConditionTrueFalse] spacefm-1.0.6/src/vfs/vfs-thumbnail-loader.c:379:30: note: 'file_is_video' is assigned value '0' here. spacefm-1.0.6/src/vfs/vfs-thumbnail-loader.c:391:24: note: The comparison 'file_is_video == 0' is always true. spacefm-1.0.6/src/vfs/vfs-thumbnail-loader.c:452:28: style: The comparison 'file_is_video == 0' is always true. [knownConditionTrueFalse] spacefm-1.0.6/src/vfs/vfs-thumbnail-loader.c:379:30: note: 'file_is_video' is assigned value '0' here. spacefm-1.0.6/src/vfs/vfs-thumbnail-loader.c:452:28: note: The comparison 'file_is_video == 0' is always true. spacefm-1.0.6/src/ptk/ptk-file-task.c:2391:20: style: Local variable 'to_dir' shadows outer variable [shadowVariable] spacefm-1.0.6/src/ptk/ptk-file-task.c:2380:16: note: Shadowed declaration spacefm-1.0.6/src/ptk/ptk-file-task.c:2391:20: note: Shadow variable spacefm-1.0.6/src/ptk/ptk-file-task.c:405:39: style: Parameter 'pid' can be declared as pointer to const. However it seems that 'ptk_file_task_kill' is a callback function, if 'pid' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-task.c:447:50: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-task.c:405:39: note: Parameter 'pid' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-task.c:454:19: style: Variable 'gsu' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-task.c:606:19: style: Variable 'gsu' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-task.c:1940:75: style: Parameter 'event' can be declared as pointer to const. However it seems that 'on_query_input_keypress' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-task.c:2422:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-task.c:1940:75: note: Parameter 'event' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-task.c:2097:16: style: Variable 'rename_button' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-task.c:2099:16: style: Variable 'auto_button' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-task.c:455:71: style: Variable 'gsu' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-task.c:608:59: style: Variable 'gsu' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-task.c:1183:17: style: Unused variable: iter [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-task.c:1183:23: style: Unused variable: siter [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-task.c:1184:16: style: Unused variable: pixbuf [unusedVariable] spacefm-1.0.6/src/xml-purge.c:20:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/ptk/ptk-file-task.c:1856:16: style: Unused variable: dlg [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-task.c:1857:9: style: Unused variable: response [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-task.c:1946:18: style: Unused variable: can_rename [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-task.c:2121:9: style: Unused variable: response [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-task.c:2380:16: style: Variable 'to_dir' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/vfs/vfs-file-task.c:279:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-file-task.c:381:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-file-task.c:687:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-file-task.c:826:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXDEV [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-file-task.c:866:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-file-task.c:949:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-file-task.c:1028:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-file-task.c:1270:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_NVAL [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-file-task.c:1440:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-file-task.c:2066:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/xml-purge.c:25:3: error: Resource leak: fd [resourceLeak] spacefm-1.0.6/src/xml-purge.c:32:4: error: Resource leak: fd [resourceLeak] spacefm-1.0.6/src/xml-purge.c:88:11: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:1515:68: error: There is an unknown macro here somewhere. Configuration is required. If G_GUINT64_FORMAT is a macro then please configure it. [unknownMacro] spacefm-1.0.6/src/settings.c:256:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_DIALOG [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:447:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:485:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSCONFDIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:679:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:1682:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:1906:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:1919:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:2154:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:3434:170: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSCONFDIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:3478:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:3769:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:3844:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:4052:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:4245:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:4342:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:4408:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:4463:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:4506:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:5070:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:5226:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_YES [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:5392:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:5524:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SAVE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:5673:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:5937:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:6029:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:6295:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IXOTH [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:6317:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IROTH [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:6334:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:6516:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTMLDIR [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:6585:273: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_YES [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:6662:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SUPER_MASK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:6714:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:6841:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONS_NONE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:7008:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:7778:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active_menu_item [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:8005:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_FUNC [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:8025:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:8135:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_Delete [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:8346:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:8482:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active_menu_item [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:8676:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:8784:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONS_OK [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:8891:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_FUNC [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:9013:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_Return [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:9031:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_BUTTON [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:9045:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WATCH [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:9119:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONS_NONE [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:9355:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_Return [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:9391:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_YES [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:9452:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:9536:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_BUTTON [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:9662:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTK_FB_ICON_VIEW [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:9699:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:9839:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:9976:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/settings.c:10456:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] spacefm-1.0.6/src/vfs/vfs-file-task.c:444:13: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] spacefm-1.0.6/src/vfs/vfs-file-task.c:607:25: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] spacefm-1.0.6/src/vfs/vfs-file-task.c:1506:15: style: Redundant condition: tmp. '!tmp || (tmp && !g_file_test(tmp,G_FILE_TEST_IS_DIR))' is equivalent to '!tmp || !g_file_test(tmp,G_FILE_TEST_IS_DIR)' [redundantCondition] spacefm-1.0.6/src/vfs/vfs-file-task.c:136:20: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] spacefm-1.0.6/src/vfs/vfs-file-task.c:1404:5: error: Memory leak: sha256sum [memleak] spacefm-1.0.6/src/vfs/vfs-file-task.c:2230:45: style:inconclusive: Function 'vfs_task_new' argument 1 names different: declaration 'task_type' definition 'type'. [funcArgNamesDifferent] spacefm-1.0.6/src/vfs/vfs-file-task.h:190:45: note: Function 'vfs_task_new' argument 1 names different: declaration 'task_type' definition 'type'. spacefm-1.0.6/src/vfs/vfs-file-task.c:2230:45: note: Function 'vfs_task_new' argument 1 names different: declaration 'task_type' definition 'type'. spacefm-1.0.6/src/vfs/vfs-file-task.c:68:24: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-file-task.c:651:27: style: Parameter 'src_file' can be declared as pointer to const. However it seems that 'vfs_file_task_copy' is a callback function, if 'src_file' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/vfs/vfs-file-task.c:2045:32: note: You might need to cast the function pointer here spacefm-1.0.6/src/vfs/vfs-file-task.c:651:27: note: Parameter 'src_file' can be declared as pointer to const spacefm-1.0.6/src/vfs/vfs-file-task.c:1381:28: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-file-task.c:1383:11: style: Variable 'sha256sum' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/vfs/vfs-file-task.c:1407:69: style: Parameter 'action' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-file-task.c:2303:39: style: Parameter 'chmod_actions' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-file-task.c:2451:44: style: Parameter 'have_stat' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/vfs/vfs-file-task.c:1404:12: warning: Uninitialized variable: sum [uninitvar] spacefm-1.0.6/src/vfs/vfs-file-task.c:1393:35: note: Assuming condition is false spacefm-1.0.6/src/vfs/vfs-file-task.c:1404:12: note: Uninitialized variable: sum spacefm-1.0.6/src/vfs/vfs-file-task.c:497:24: style: Variable 'wfd' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/vfs/vfs-file-task.c:781:15: style: Unused variable: kf [unusedVariable] spacefm-1.0.6/src/vfs/vfs-file-task.c:1266:12: style: Unused variable: line [unusedVariable] spacefm-1.0.6/src/vfs/vfs-file-task.c:1268:17: style: Unused variable: iter [unusedVariable] spacefm-1.0.6/src/vfs/vfs-file-task.c:2421:18: style: Variable 'parent' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:1020:23: 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] spacefm-1.0.6/src/ptk/ptk-file-browser.c:1320:29: 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] spacefm-1.0.6/src/ptk/ptk-file-browser.c:1326:31: 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] spacefm-1.0.6/src/ptk/ptk-file-browser.c:1335:34: 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] spacefm-1.0.6/src/ptk/ptk-file-browser.c:3749:18: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] spacefm-1.0.6/src/ptk/ptk-file-browser.c:3746:36: note: outer condition: file_path spacefm-1.0.6/src/ptk/ptk-file-browser.c:3749:18: note: identical inner condition: file_path spacefm-1.0.6/src/ptk/ptk-file-browser.c:885:18: style: Redundant condition: cwd. '!cwd || (cwd && strcmp(cwd,"/"))' is equivalent to '!cwd || strcmp(cwd,"/")' [redundantCondition] spacefm-1.0.6/src/ptk/ptk-file-browser.c:650:48: style: Condition 'text[0]=='\0'' is always false [knownConditionTrueFalse] spacefm-1.0.6/src/ptk/ptk-file-browser.c:2146:10: style: Condition 'folder_path' is always true [knownConditionTrueFalse] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5287:9: style: Condition 'dest_dir' is always false [knownConditionTrueFalse] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5273:23: note: Assignment 'dest_dir=NULL', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:5287:9: note: Condition 'dest_dir' is always false spacefm-1.0.6/src/ptk/ptk-file-browser.c:5289:10: style: Condition 'dest_dir' is always false [knownConditionTrueFalse] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5273:23: note: Assignment 'dest_dir=NULL', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:5289:10: note: Condition 'dest_dir' is always false spacefm-1.0.6/src/ptk/ptk-file-browser.c:6379:9: error: Memory leak: myuser [memleak] spacefm-1.0.6/src/ptk/ptk-file-browser.c:6383:9: error: Memory leak: myuser [memleak] spacefm-1.0.6/src/ptk/ptk-file-browser.c:6415:9: error: Memory leak: myuser [memleak] spacefm-1.0.6/src/ptk/ptk-file-browser.c:6484:9: error: Memory leak: myuser [memleak] spacefm-1.0.6/src/ptk/ptk-file-browser.c:2150:22: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-browser.c:2148:22: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-browser.c:2148:22: note: Assignment 'path=strdup(folder_path)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:2150:22: note: Null pointer dereference spacefm-1.0.6/src/ptk/ptk-file-browser.c:1951:13: style: Same expression on both sides of '=='. [duplicateExpression] spacefm-1.0.6/src/ptk/ptk-file-browser.c:1954:13: style: Same expression on both sides of '=='. [duplicateExpression] spacefm-1.0.6/src/ptk/ptk-file-browser.c:372:21: style: Variable 'widget_class' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:462:54: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'ptk_file_browser_slider_release' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-browser.c:1447:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-browser.c:462:54: note: Parameter 'widget' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-browser.c:593:16: style: Variable 'edata' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:847:11: style: Variable 'set' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:1522:47: style: Parameter 'obj' can be declared as pointer to const. However it seems that 'ptk_file_browser_get_property' is a callback function, if 'obj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-browser.c:378:34: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-browser.c:1522:47: note: Parameter 'obj' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-browser.c:1524:46: style: Parameter 'value' can be declared as pointer to const. However it seems that 'ptk_file_browser_get_property' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-browser.c:378:34: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-browser.c:1524:46: note: Parameter 'value' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-browser.c:1525:50: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ptk_file_browser_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-browser.c:378:34: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-browser.c:1525:50: note: Parameter 'pspec' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-browser.c:1528:47: style: Parameter 'obj' can be declared as pointer to const. However it seems that 'ptk_file_browser_set_property' is a callback function, if 'obj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-browser.c:377:34: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-browser.c:1528:47: note: Parameter 'obj' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-browser.c:1531:50: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ptk_file_browser_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-browser.c:377:34: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-browser.c:1531:50: note: Parameter 'pspec' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-browser.c:1963:15: style: Variable 'icon' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:2008:12: style: Variable 'element' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:2475:66: style: Parameter 'file' can be declared as pointer to const. However it seems that 'on_folder_content_changed' is a callback function, if 'file' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-browser.c:2707:9: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-browser.c:2475:66: note: Parameter 'file' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-browser.c:2764:11: style: Variable 'canon' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:2799:52: style: Parameter 'file_browser' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:2864:11: style: Variable 'path' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:2882:62: style: Parameter 'file_browser' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:2888:61: style: Parameter 'file_browser' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:3190:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:3380:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:3580:46: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:3860:19: style: Variable 'model' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:3949:47: style: Parameter 'view' can be declared as pointer to const. However it seems that 'on_dir_tree_row_activated' is a callback function, if 'view' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5687:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-browser.c:3949:47: note: Parameter 'view' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-browser.c:3950:47: style: Parameter 'path' can be declared as pointer to const. However it seems that 'on_dir_tree_row_activated' is a callback function, if 'path' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5687:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-browser.c:3950:47: note: Parameter 'path' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-browser.c:3951:53: style: Parameter 'column' can be declared as pointer to const. However it seems that 'on_dir_tree_row_activated' is a callback function, if 'column' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5687:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-browser.c:3951:53: note: Parameter 'column' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-browser.c:3952:50: style: Parameter 'file_browser' can be declared as pointer to const. However it seems that 'on_dir_tree_row_activated' is a callback function, if 'file_browser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5687:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-browser.c:3952:50: note: Parameter 'file_browser' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-browser.c:4142:15: style: Variable 'keyp' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5240:66: style: Parameter 'cwd' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5242:17: style: Variable 'parent' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5263:54: style: Parameter 'file_browser' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5314:60: style: Parameter 'file_browser' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5345:55: style: Parameter 'file_browser' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5393:59: style: Parameter 'app_desktop' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5413:66: style: Parameter 'setname' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5683:23: style: Variable 'dir_tree_sel' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5756:11: style: Variable 'set' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5854:65: style: Parameter 'file_browser' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5859:61: style: Parameter 'file_browser' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:6014:51: style: Parameter 'file_browser' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:6022:53: style: Parameter 'file_browser' can be declared as pointer to const. However it seems that 'ptk_file_browser_before_chdir' is a callback function, if 'file_browser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-browser.c:385:27: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-browser.c:6022:53: note: Parameter 'file_browser' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-browser.c:6024:47: style: Parameter 'cancel' can be declared as pointer to const. However it seems that 'ptk_file_browser_before_chdir' is a callback function, if 'cancel' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-browser.c:385:27: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-browser.c:6024:47: note: Parameter 'cancel' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-browser.c:6027:52: style: Parameter 'file_browser' can be declared as pointer to const. However it seems that 'ptk_file_browser_after_chdir' is a callback function, if 'file_browser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-browser.c:386:26: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-browser.c:6027:52: note: Parameter 'file_browser' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-browser.c:6030:55: style: Parameter 'file_browser' can be declared as pointer to const. However it seems that 'ptk_file_browser_content_change' is a callback function, if 'file_browser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-browser.c:388:29: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-browser.c:6030:55: note: Parameter 'file_browser' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-browser.c:6033:51: style: Parameter 'file_browser' can be declared as pointer to const. However it seems that 'ptk_file_browser_sel_change' is a callback function, if 'file_browser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-browser.c:389:25: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-browser.c:6033:51: note: Parameter 'file_browser' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-browser.c:6036:57: style: Parameter 'file_browser' can be declared as pointer to const. However it seems that 'ptk_file_browser_pane_mode_change' is a callback function, if 'file_browser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-browser.c:390:31: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-browser.c:6036:57: note: Parameter 'file_browser' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-browser.c:6039:50: style: Parameter 'file_browser' can be declared as pointer to const. However it seems that 'ptk_file_browser_open_item' is a callback function, if 'file_browser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-browser.c:387:24: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-browser.c:6039:50: note: Parameter 'file_browser' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-browser.c:6343:63: style: Parameter 'file_path' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:6368:62: style: Parameter 'cwd' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:6370:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:6374:11: style: Variable 'user1' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:6375:11: style: Variable 'user2' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:6376:11: style: Variable 'myuser' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:6381:11: style: Variable 'set' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-browser.c:4979:12: error: Uninitialized variable: tree_path [legacyUninitvar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:6600:48: error: Uninitialized variable: i [legacyUninitvar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:381:18: style: Variable 'widget_class' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:626:12: style: Unused variable: l [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:1972:10: style: Variable 'icon' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:2006:19: style: Variable 'elementn' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:3379:14: style: Unused variable: select [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:3891:19: style: Variable 'model' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:3906:19: style: Variable 'model' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:4063:15: style: Unused variable: width [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5043:10: style: Variable 'vpos' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5249:12: style: Variable 'parent' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5272:18: style: Unused variable: file [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5686:18: style: Variable 'dir_tree_sel' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:6203:14: style: Variable 'mode' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:6205:14: style: Variable 'mode' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:6207:14: style: Variable 'mode' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-handler.c:3373:28: 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] spacefm-1.0.6/src/ptk/ptk-handler.c:3374:32: 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] spacefm-1.0.6/src/ptk/ptk-handler.c:3375:36: 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] spacefm-1.0.6/src/ptk/ptk-handler.c:3376:36: 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] spacefm-1.0.6/src/ptk/ptk-handler.c:3377:32: 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] spacefm-1.0.6/src/ptk/ptk-handler.c:3380:39: 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] spacefm-1.0.6/src/ptk/ptk-handler.c:3381:38: 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] spacefm-1.0.6/src/ptk/ptk-handler.c:3382:35: 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] spacefm-1.0.6/src/ptk/ptk-handler.c:3446:32: 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] spacefm-1.0.6/src/ptk/ptk-handler.c:2797:21: style: Redundant condition: folder. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] spacefm-1.0.6/src/ptk/ptk-handler.c:2744:25: style: Condition 'set_sel->disable' is always true [knownConditionTrueFalse] spacefm-1.0.6/src/ptk/ptk-handler.c:1297:21: warning: Either the condition 'stdout' is redundant or there is possible null pointer dereference: stdout. [nullPointerRedundantCheck] spacefm-1.0.6/src/ptk/ptk-handler.c:1311:10: note: Assuming that condition 'stdout' is not redundant spacefm-1.0.6/src/ptk/ptk-handler.c:1297:21: note: Null pointer dereference spacefm-1.0.6/src/ptk/ptk-handler.c:3584:15: style: Local variable 'str' shadows outer variable [shadowVariable] spacefm-1.0.6/src/ptk/ptk-handler.c:3023:11: note: Shadowed declaration spacefm-1.0.6/src/ptk/ptk-handler.c:3584:15: note: Shadow variable spacefm-1.0.6/src/ptk/ptk-handler.c:854:11: style: Variable 'element' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-handler.c:958:11: style: Variable 'under_path' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-handler.c:1524:64: style: Parameter 'def_handler_set' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-handler.c:1528:11: style: Variable 'archive_handlers_s' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-handler.c:1550:19: style: Variable 'handler_xset' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-handler.c:2535:52: style: Parameter 'uri' can be declared as pointer to const. However it seems that 'on_activate_link' is a callback function, if 'uri' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-handler.c:3364:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-handler.c:2535:52: note: Parameter 'uri' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-handler.c:2571:51: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'on_textview_keypress' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-handler.c:3295:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-handler.c:2571:51: note: Parameter 'widget' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-handler.c:2571:72: style: Parameter 'event' can be declared as pointer to const. However it seems that 'on_textview_keypress' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-handler.c:3295:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-handler.c:2571:72: note: Parameter 'event' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-handler.c:2621:49: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'on_textview_buffer_changed' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-handler.c:3299:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-handler.c:2621:49: note: Parameter 'buf' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-handler.c:2637:44: style: Parameter 'buffer' can be declared as pointer to const. However it seems that 'on_entry_text_insert' is a callback function, if 'buffer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-handler.c:3240:9: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-handler.c:2637:44: note: Parameter 'buffer' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-handler.c:2851:51: style: Parameter 'btn' can be declared as pointer to const. However it seems that 'on_options_button_clicked' is a callback function, if 'btn' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-handler.c:3004:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-handler.c:2851:51: note: Parameter 'btn' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-handler.c:574:15: style: Unused variable: str [unusedVariable] spacefm-1.0.6/src/ptk/ptk-handler.c:685:16: style: Variable 'file' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-handler.c:912:24: style: Variable 'supported' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-handler.c:912:14: style: Variable 'supported' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-handler.c:956:11: style: Unused variable: msg [unusedVariable] spacefm-1.0.6/src/ptk/ptk-handler.c:1426:9: style: Unused variable: start [unusedVariable] spacefm-1.0.6/src/ptk/ptk-handler.c:2163:17: style: Unused variable: it_sel [unusedVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:3632:35: style: Redundant condition: vol. '!vol || (vol && vol->is_mounted)' is equivalent to '!vol || vol->is_mounted' [redundantCondition] spacefm-1.0.6/src/ptk/ptk-location-view.c:3636:35: style: Redundant condition: vol. '!vol || (vol && vol->is_optical)' is equivalent to '!vol || vol->is_optical' [redundantCondition] spacefm-1.0.6/src/ptk/ptk-location-view.c:3044:14: style: The if condition is the same as the previous if condition [duplicateCondition] spacefm-1.0.6/src/ptk/ptk-location-view.c:3038:14: note: First condition spacefm-1.0.6/src/ptk/ptk-location-view.c:3044:14: note: Second condition spacefm-1.0.6/src/ptk/ptk-location-view.c:4757:10: style: Condition '!view' is always false [knownConditionTrueFalse] spacefm-1.0.6/src/ptk/ptk-location-view.c:573:66: error: Dereferencing 'model' after it is deallocated / released [deallocuse] spacefm-1.0.6/src/ptk/ptk-location-view.c:1489:1: error: Memory leak: old_set_s [memleak] spacefm-1.0.6/src/ptk/ptk-location-view.c:1547:1: error: Memory leak: old_set_s [memleak] spacefm-1.0.6/src/ptk/ptk-location-view.c:1596:1: error: Memory leak: old_set_s [memleak] spacefm-1.0.6/src/ptk/ptk-location-view.c:1646:9: error: Memory leak: mount_warn [memleak] spacefm-1.0.6/src/ptk/ptk-location-view.c:2562:13: error: Memory leak: bname [memleak] spacefm-1.0.6/src/ptk/ptk-location-view.c:2562:13: error: Memory leak: vfile [memleak] spacefm-1.0.6/src/ptk/ptk-location-view.c:2798:9: error: Memory leak: hostname [memleak] spacefm-1.0.6/src/ptk/ptk-location-view.c:3546:9: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-location-view.c:3542:9: note: set is assigned spacefm-1.0.6/src/ptk/ptk-location-view.c:3546:9: note: set is overwritten spacefm-1.0.6/src/ptk/ptk-location-view.c:3652:9: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-location-view.c:3650:9: note: set is assigned spacefm-1.0.6/src/ptk/ptk-location-view.c:3652:9: note: set is overwritten spacefm-1.0.6/src/ptk/ptk-location-view.c:4146:9: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-location-view.c:4142:9: note: set is assigned spacefm-1.0.6/src/ptk/ptk-location-view.c:4146:9: note: set is overwritten spacefm-1.0.6/src/ptk/ptk-location-view.c:323:75: style:inconclusive: Function 'ptk_location_view_chdir' argument 2 names different: declaration 'path' definition 'cur_dir'. [funcArgNamesDifferent] spacefm-1.0.6/src/ptk/ptk-location-view.h:23:75: note: Function 'ptk_location_view_chdir' argument 2 names different: declaration 'path' definition 'cur_dir'. spacefm-1.0.6/src/ptk/ptk-location-view.c:323:75: note: Function 'ptk_location_view_chdir' argument 2 names different: declaration 'path' definition 'cur_dir'. spacefm-1.0.6/src/ptk/ptk-location-view.c:365:11: style: Variable 'real_path' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-location-view.c:475:11: style: Variable 'canon' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-location-view.c:674:32: style: Parameter 'vol' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-location-view.c:1455:11: style: Variable 'old_set_s' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-location-view.c:1507:11: style: Variable 'old_set_s' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-location-view.c:1561:11: style: Variable 'old_set_s' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-location-view.c:2456:11: style: Variable 'type' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-location-view.c:2524:15: style: Variable 'entire' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-location-view.c:3021:11: style: Variable 'info' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-location-view.c:3026:11: style: Variable 'base' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-location-view.c:3218:56: style: Parameter 'vol' can be declared as pointer to const. However it seems that 'on_showhide' is a callback function, if 'vol' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-location-view.c:4145:43: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-location-view.c:3218:56: note: Parameter 'vol' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-location-view.c:3230:15: style: Variable 'devid' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-location-view.c:3245:61: style: Parameter 'vol' can be declared as pointer to const. However it seems that 'on_automountlist' is a callback function, if 'vol' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-location-view.c:4151:43: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-location-view.c:3245:61: note: Parameter 'vol' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-location-view.c:3257:15: style: Variable 'devid' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-location-view.c:3276:11: style: Variable 'set' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-location-view.c:3312:40: style: Parameter 'vol' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-location-view.c:3319:11: style: Variable 'value' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-location-view.c:3402:11: style: Variable 'xname' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-location-view.c:3492:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-location-view.c:3781:57: style: Parameter 'event' can be declared as pointer to const. However it seems that 'on_key_press_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-location-view.c:589:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-location-view.c:3781:57: note: Parameter 'event' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-location-view.c:4016:62: style: Parameter 'event' can be declared as pointer to const. However it seems that 'on_dev_menu_keypress' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-location-view.c:4134:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-location-view.c:4016:62: note: Parameter 'event' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-location-view.c:4039:69: style: Parameter 'event' can be declared as pointer to const. However it seems that 'on_dev_menu_button_press' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-location-view.c:4129:9: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-location-view.c:4039:69: note: Parameter 'event' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-location-view.c:4426:55: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-location-view.c:4674:63: style: Parameter 'vol' can be declared as pointer to const. However it seems that 'on_bookmark_device' is a callback function, if 'vol' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-location-view.c:3960:9: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-location-view.c:4674:63: note: Parameter 'vol' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-location-view.c:4935:51: style: Parameter 'menuitem' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-location-view.c:5184:52: style: Parameter 'iter' can be declared as pointer to const. However it seems that 'on_bookmark_row_inserted' is a callback function, if 'iter' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-location-view.c:5619:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-location-view.c:5184:52: note: Parameter 'iter' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-location-view.c:5525:66: style: Parameter 'event' can be declared as pointer to const. However it seems that 'on_bookmark_key_press_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-location-view.c:5632:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-location-view.c:5525:66: note: Parameter 'event' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-location-view.c:166:9: style: Unused variable: i [unusedVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:364:18: style: Unused variable: tree_path [unusedVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:365:11: style: Variable 'real_path' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:500:17: style: Unused variable: it [unusedVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:501:12: style: Unused variable: name [unusedVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:502:12: style: Unused variable: real_path [unusedVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:1176:11: style: Unused variable: str [unusedVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:3490:16: style: Unused variable: item [unusedVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:3719:9: style: Unused variable: pos [unusedVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:4147:27: style: Variable 'auto_optical' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:4149:29: style: Variable 'auto_removable' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:4093:17: style: Unused variable: it [unusedVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:4147:14: style: Variable 'auto_optical' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:4149:14: style: Variable 'auto_removable' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:4283:11: style: Unused variable: name_len [unusedVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:4478:20: style: Variable 'app' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:5514:13: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:5488:14: style: Unused variable: popup [unusedVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:5489:16: style: Unused variable: item [unusedVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:5490:16: style: Unused variable: vol [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-misc.c:1095:23: 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] spacefm-1.0.6/src/ptk/ptk-file-misc.c:2593:22: 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] spacefm-1.0.6/src/ptk/ptk-file-misc.c:2624:23: 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] spacefm-1.0.6/src/ptk/ptk-file-misc.c:2632:25: 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] spacefm-1.0.6/src/ptk/ptk-file-misc.c:2650:27: 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] spacefm-1.0.6/src/ptk/ptk-file-misc.c:2665:23: 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] spacefm-1.0.6/src/ptk/ptk-file-misc.c:1855:10: style: Condition '!templates_path' is always true [knownConditionTrueFalse] spacefm-1.0.6/src/ptk/ptk-file-misc.c:1849:28: note: Assignment 'templates_path=NULL', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:1855:10: note: Condition '!templates_path' is always true spacefm-1.0.6/src/ptk/ptk-file-misc.c:3824:30: style: Condition 'file_browser' is always true [knownConditionTrueFalse] spacefm-1.0.6/src/ptk/ptk-file-misc.c:2073:9: error: Memory leak: root_mkdir [memleak] spacefm-1.0.6/src/ptk/ptk-file-misc.c:2080:13: error: Memory leak: root_mkdir [memleak] spacefm-1.0.6/src/ptk/ptk-file-misc.c:2033:67: error: Allocation with g_strdup, g_timeout_add doesn't release it. [leakNoVarFunctionCall] spacefm-1.0.6/src/ptk/ptk-file-misc.c:2804:23: style: Local variable 'old_path' shadows outer variable [shadowVariable] spacefm-1.0.6/src/ptk/ptk-file-misc.c:2058:11: note: Shadowed declaration spacefm-1.0.6/src/ptk/ptk-file-misc.c:2804:23: note: Shadow variable spacefm-1.0.6/src/ptk/ptk-file-misc.c:246:68: style: Parameter 'event' can be declared as pointer to const. However it seems that 'on_move_keypress' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-misc.c:2541:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-misc.c:246:68: note: Parameter 'event' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-misc.c:269:74: style: Parameter 'event' can be declared as pointer to const. However it seems that 'on_move_entry_keypress' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-misc.c:2467:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-misc.c:269:74: note: Parameter 'event' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-misc.c:813:45: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'on_button_focus' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-misc.c:2784:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-misc.c:813:45: note: Parameter 'widget' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-misc.c:1228:11: style: Variable 'root_msg' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-misc.c:1580:44: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'on_label_focus' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-misc.c:2539:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-misc.c:1580:44: note: Parameter 'widget' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-misc.c:1716:42: style: Parameter 'widget' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-file-misc.c:1765:53: style: Parameter 'event' can be declared as pointer to const. However it seems that 'on_label_button_press' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-misc.c:2537:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-misc.c:1765:53: note: Parameter 'event' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-misc.c:1965:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-misc.c:3499:15: style: Variable 'parent_dir' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-misc.c:3509:51: style: Parameter 'full_path' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/ptk/ptk-file-misc.c:3754:11: style: Variable 'app_desktop' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-misc.c:3761:43: style: Parameter 'key' can be declared as pointer to const. However it seems that 'free_file_list_hash' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-misc.c:3994:31: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-misc.c:3761:43: note: Parameter 'key' can be declared as pointer to const spacefm-1.0.6/src/ptk/ptk-file-misc.c:3890:27: style: Variable 'handler_set' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/ptk/ptk-file-misc.c:4053:25: error: Uninitialized variable: parent [legacyUninitvar] spacefm-1.0.6/src/ptk/ptk-file-misc.c:200:11: style: Unused variable: canon [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-misc.c:202:19: style: Unused variable: stat [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-misc.c:1244:23: style: Variable 'new_link' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-misc.c:1244:14: style: Variable 'new_link' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-misc.c:2069:11: style: Unused variable: touchfile [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-misc.c:2837:22: style: Variable 'move' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-misc.c:3755:17: style: Unused variable: cwd [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-misc.c:3766:17: style: Variable 'app_desktop' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-misc.c:3791:21: style: Unused variable: fb [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-misc.c:4012:11: style: Unused variable: str [unusedVariable] spacefm-1.0.6/src/main-window.c:2006:30: 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] spacefm-1.0.6/src/main-window.c:2014:28: 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] spacefm-1.0.6/src/main-window.c:2829:17: 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] spacefm-1.0.6/src/main-window.c:5894:48: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] spacefm-1.0.6/src/main-window.c:393:27: style: Redundant condition: plug_dir. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] spacefm-1.0.6/src/main-window.c:5320:17: style: Redundant condition: model. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] spacefm-1.0.6/src/main-window.c:3440:9: error: Memory leak: panel_count [memleak] spacefm-1.0.6/src/main-window.c:3791:5: error: Memory leak: xhidden [memleak] spacefm-1.0.6/src/main-window.c:3780:38: error: Allocation with g_strdup_printf, g_snprintf doesn't release it. [leakNoVarFunctionCall] spacefm-1.0.6/src/main-window.c:3440:21: style: Variable 'panel_count' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/main-window.c:3437:21: note: panel_count is assigned spacefm-1.0.6/src/main-window.c:3440:21: note: panel_count is overwritten spacefm-1.0.6/src/main-window.c:3081:68: style:inconclusive: Function 'fm_main_window_get_current_file_browser' argument 1 names different: declaration 'mainWindow' definition 'main_window'. [funcArgNamesDifferent] spacefm-1.0.6/src/main-window.h:113:67: note: Function 'fm_main_window_get_current_file_browser' argument 1 names different: declaration 'mainWindow' definition 'main_window'. spacefm-1.0.6/src/main-window.c:3081:68: note: Function 'fm_main_window_get_current_file_browser' argument 1 names different: declaration 'mainWindow' definition 'main_window'. spacefm-1.0.6/src/main-window.c:5803:47: style:inconclusive: Function 'main_task_view_remove_task' argument 1 names different: declaration 'task' definition 'ptask'. [funcArgNamesDifferent] spacefm-1.0.6/src/main-window.h:142:47: note: Function 'main_task_view_remove_task' argument 1 names different: declaration 'task' definition 'ptask'. spacefm-1.0.6/src/main-window.c:5803:47: note: Function 'main_task_view_remove_task' argument 1 names different: declaration 'task' definition 'ptask'. spacefm-1.0.6/src/main-window.c:5841:47: style:inconclusive: Function 'main_task_view_update_task' argument 1 names different: declaration 'task' definition 'ptask'. [funcArgNamesDifferent] spacefm-1.0.6/src/main-window.h:141:47: note: Function 'main_task_view_update_task' argument 1 names different: declaration 'task' definition 'ptask'. spacefm-1.0.6/src/main-window.c:5841:47: note: Function 'main_task_view_update_task' argument 1 names different: declaration 'task' definition 'ptask'. spacefm-1.0.6/src/main-window.c:3196:21: style: Local variable 'builder' shadows outer variable [shadowVariable] spacefm-1.0.6/src/main-window.c:3193:17: note: Shadowed declaration spacefm-1.0.6/src/main-window.c:3196:21: note: Shadow variable spacefm-1.0.6/src/main-window.c:275:11: style: Variable 'set' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/main-window.c:277:11: style: Variable 'deffolder' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/main-window.c:854:60: style: Parameter 'file_browser' can be declared as pointer to const. However it seems that 'main_update_fonts' is a callback function, if 'file_browser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/main-window.c:5711:35: note: You might need to cast the function pointer here spacefm-1.0.6/src/main-window.c:854:60: note: Parameter 'file_browser' can be declared as pointer to const spacefm-1.0.6/src/main-window.c:2259:45: style: Parameter 'obj' can be declared as pointer to const. However it seems that 'fm_main_window_get_property' is a callback function, if 'obj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/main-window.c:220:34: note: You might need to cast the function pointer here spacefm-1.0.6/src/main-window.c:2259:45: note: Parameter 'obj' can be declared as pointer to const spacefm-1.0.6/src/main-window.c:2261:44: style: Parameter 'value' can be declared as pointer to const. However it seems that 'fm_main_window_get_property' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/main-window.c:220:34: note: You might need to cast the function pointer here spacefm-1.0.6/src/main-window.c:2261:44: note: Parameter 'value' can be declared as pointer to const spacefm-1.0.6/src/main-window.c:2262:48: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'fm_main_window_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/main-window.c:220:34: note: You might need to cast the function pointer here spacefm-1.0.6/src/main-window.c:2262:48: note: Parameter 'pspec' can be declared as pointer to const spacefm-1.0.6/src/main-window.c:2265:45: style: Parameter 'obj' can be declared as pointer to const. However it seems that 'fm_main_window_set_property' is a callback function, if 'obj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/main-window.c:219:34: note: You might need to cast the function pointer here spacefm-1.0.6/src/main-window.c:2265:45: note: Parameter 'obj' can be declared as pointer to const spacefm-1.0.6/src/main-window.c:2268:48: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'fm_main_window_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/main-window.c:219:34: note: You might need to cast the function pointer here spacefm-1.0.6/src/main-window.c:2268:48: note: Parameter 'pspec' can be declared as pointer to const spacefm-1.0.6/src/main-window.c:2453:74: style: Parameter 'event' can be declared as pointer to const. However it seems that 'fm_main_window_window_state_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/main-window.c:226:40: note: You might need to cast the function pointer here spacefm-1.0.6/src/main-window.c:2453:74: note: Parameter 'event' can be declared as pointer to const spacefm-1.0.6/src/main-window.c:2537:63: style: Parameter 'file_path' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/main-window.c:2956:15: style: Variable 'icon' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/main-window.c:3193:17: style: Variable 'builder' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/main-window.c:3262:16: style: Variable 'new_win' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/main-window.c:3664:11: style: Variable 'link_info' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/main-window.c:3674:19: style: Variable 'lsize' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/main-window.c:3758:15: style: Variable 'canon' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/main-window.c:3765:15: style: Variable 'xhidden' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/main-window.c:3778:19: style: Variable 'hnc' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/main-window.c:3779:19: style: Variable 'hidtext' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/main-window.c:3855:75: style: Parameter 'event' can be declared as pointer to const. However it seems that 'on_window_button_press_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/main-window.c:2197:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/main-window.c:3855:75: note: Parameter 'event' can be declared as pointer to const spacefm-1.0.6/src/main-window.c:4615:48: style: Parameter 'view' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/main-window.c:4991:19: style: Variable 'mset' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/main-window.c:5092:19: style: Variable 'main_window' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/main-window.c:5280:11: style: Variable 'set' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/main-window.c:5291:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/main-window.c:5445:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/main-window.c:5490:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/main-window.c:5585:24: style: Variable 'col' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/main-window.c:5591:19: style: Variable 'main_window' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/main-window.c:5746:15: style: Variable 'sname' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/main-window.c:5772:19: style: Variable 'main_window' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/main-window.c:5803:47: style: Parameter 'ptask' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/main-window.c:8070:35: style: Parameter 'preset' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/main-window.c:8073:64: style: Parameter 'ucmd' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/main-window.c:8103:19: style: Variable 'change' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/main-window.c:8130:11: style: Variable 'replace' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/main-window.c:564:30: error: Uninitialized variable: i [uninitvar] spacefm-1.0.6/src/main-window.c:509:20: style: Variable 'found' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main-window.c:510:28: style: Variable 'found_plugins' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main-window.c:563:31: style: Variable 'found' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main-window.c:565:43: style: Variable 'found_plugins' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main-window.c:601:16: style: Unused variable: item [unusedVariable] spacefm-1.0.6/src/main-window.c:863:16: style: Unused variable: label [unusedVariable] spacefm-1.0.6/src/main-window.c:864:19: style: Unused variable: hbox [unusedVariable] spacefm-1.0.6/src/main-window.c:865:15: style: Unused variable: text [unusedVariable] spacefm-1.0.6/src/main-window.c:866:12: style: Unused variable: children [unusedVariable] spacefm-1.0.6/src/main-window.c:867:15: style: Unused variable: icon [unusedVariable] spacefm-1.0.6/src/main-window.c:1399:22: style: Unused variable: i [unusedVariable] spacefm-1.0.6/src/main-window.c:1776:16: style: Unused variable: submenu [unusedVariable] spacefm-1.0.6/src/main-window.c:1964:16: style: Unused variable: bookmark_menu [unusedVariable] spacefm-1.0.6/src/main-window.c:1966:16: style: Unused variable: edit_menu_item [unusedVariable] spacefm-1.0.6/src/main-window.c:1966:33: style: Unused variable: edit_menu [unusedVariable] spacefm-1.0.6/src/main-window.c:1966:45: style: Unused variable: history_menu [unusedVariable] spacefm-1.0.6/src/main-window.c:1967:18: style: Unused variable: toolitem [unusedVariable] spacefm-1.0.6/src/main-window.c:1968:16: style: Unused variable: hbox [unusedVariable] spacefm-1.0.6/src/main-window.c:1969:15: style: Unused variable: label [unusedVariable] spacefm-1.0.6/src/main-window.c:1970:20: style: Unused variable: edit_accel_group [unusedVariable] spacefm-1.0.6/src/main-window.c:1971:15: style: Unused variable: closure [unusedVariable] spacefm-1.0.6/src/main-window.c:2967:14: style: Variable 'icon' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main-window.c:3008:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main-window.c:3008:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main-window.c:3193:25: style: Variable 'builder' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main-window.c:3193:17: style: Variable 'builder' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main-window.c:3262:24: style: Variable 'new_win' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main-window.c:3262:16: style: Variable 'new_win' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main-window.c:3520:17: style: Unused variable: path [unusedVariable] spacefm-1.0.6/src/main-window.c:3521:11: style: Unused variable: disp_path [unusedVariable] spacefm-1.0.6/src/main-window.c:3778:19: style: Variable 'hnc' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main-window.c:4293:9: style: Variable 'no_write_access' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main-window.c:4293:30: style: Variable 'no_read_access' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main-window.c:4617:19: style: Unused variable: a_window [unusedVariable] spacefm-1.0.6/src/main-window.c:5585:24: style: Variable 'col' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main-window.c:5630:23: style: Unused variable: tree_sel [unusedVariable] spacefm-1.0.6/src/main-window.c:6076:11: style: Unused variable: elements [unusedVariable] spacefm-1.0.6/src/main-window.c:6077:11: style: Unused variable: space [unusedVariable] spacefm-1.0.6/src/main-window.c:6078:11: style: Unused variable: name [unusedVariable] spacefm-1.0.6/src/settings.c:767:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] spacefm-1.0.6/src/settings.c:772:32: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] spacefm-1.0.6/src/settings.c:3524:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] spacefm-1.0.6/src/settings.c:4993:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] spacefm-1.0.6/src/settings.c:4998:28: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] spacefm-1.0.6/src/settings.c:10230:27: 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] spacefm-1.0.6/src/settings.c:1584:26: style: Redundant condition: set->x. '!set->x || (set->x && set->x[0]=='\0')' is equivalent to '!set->x || set->x[0]=='\0'' [redundantCondition] spacefm-1.0.6/src/settings.c:4334:15: style: Redundant condition: set. '!set || (set && strncmp(set->name,"cstm_",5))' is equivalent to '!set || strncmp(set->name,"cstm_",5)' [redundantCondition] spacefm-1.0.6/src/settings.c:4691:39: style: Redundant condition: set->shared_key. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] spacefm-1.0.6/src/settings.c:6577:15: style: Redundant condition: set. '!set || (set && set->lock)' is equivalent to '!set || set->lock' [redundantCondition] spacefm-1.0.6/src/settings.c:7263:25: style: Redundant condition: folder. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] spacefm-1.0.6/src/settings.c:7768:29: style: Redundant condition: set->lock. '!set->lock || (set->lock && set->line)' is equivalent to '!set->lock || set->line' [redundantCondition] spacefm-1.0.6/src/settings.c:8237:51: style: Redundant condition: set->lock. '!set->lock || (set->lock && set->line)' is equivalent to '!set->lock || set->line' [redundantCondition] spacefm-1.0.6/src/settings.c:8699:22: style: The statement 'if (mset->b!=XSET_B_TRUE) mset->b=XSET_B_TRUE' is logically equivalent to 'mset->b=XSET_B_TRUE'. [duplicateConditionalAssign] spacefm-1.0.6/src/settings.c:8700:21: note: Assignment 'mset->b=XSET_B_TRUE' spacefm-1.0.6/src/settings.c:8699:22: note: Condition 'mset->b!=XSET_B_TRUE' is redundant spacefm-1.0.6/src/settings.c:2847:56: style: Condition 'set->menu_label' is always true [knownConditionTrueFalse] spacefm-1.0.6/src/settings.c:4193:26: style: Condition 'set->cb_func' is always true [knownConditionTrueFalse] spacefm-1.0.6/src/settings.c:4724:22: style: Condition 'stderr' is always false [knownConditionTrueFalse] spacefm-1.0.6/src/settings.c:4720:0: note: Assignment 'stderr=NULL', assigned value is 0 spacefm-1.0.6/src/settings.c:4724:22: note: Condition 'stderr' is always false spacefm-1.0.6/src/settings.c:4726:22: style: Condition 'stdout' is always false [knownConditionTrueFalse] spacefm-1.0.6/src/settings.c:4720:35: note: Assignment 'stdout=NULL', assigned value is 0 spacefm-1.0.6/src/settings.c:4726:22: note: Condition 'stdout' is always false spacefm-1.0.6/src/settings.c:9998:33: style: Condition 'set->tool>XSET_TOOL_CUSTOM' is always true [knownConditionTrueFalse] spacefm-1.0.6/src/settings.c:9993:24: note: Assuming that condition 'set->tool>XSET_TOOL_CUSTOM' is not redundant spacefm-1.0.6/src/settings.c:9998:33: note: Condition 'set->tool>XSET_TOOL_CUSTOM' is always true spacefm-1.0.6/src/settings.c:5810:9: error: Memory leak: value [memleak] spacefm-1.0.6/src/settings.c:5822:13: error: Memory leak: value [memleak] spacefm-1.0.6/src/settings.c:5843:13: error: Memory leak: value [memleak] spacefm-1.0.6/src/settings.c:5851:13: error: Memory leak: value [memleak] spacefm-1.0.6/src/settings.c:4555:25: warning: Either the condition 'stdout' is redundant or there is possible null pointer dereference: stdout. [nullPointerRedundantCheck] spacefm-1.0.6/src/settings.c:4567:14: note: Assuming that condition 'stdout' is not redundant spacefm-1.0.6/src/settings.c:4555:25: note: Null pointer dereference spacefm-1.0.6/src/settings.c:4591:25: warning: Either the condition 'stdout' is redundant or there is possible null pointer dereference: stdout. [nullPointerRedundantCheck] spacefm-1.0.6/src/settings.c:4602:14: note: Assuming that condition 'stdout' is not redundant spacefm-1.0.6/src/settings.c:4591:25: note: Null pointer dereference spacefm-1.0.6/src/settings.c:6498:24: warning: Either the condition 'l' is redundant or there is possible null pointer dereference: l. [nullPointerRedundantCheck] spacefm-1.0.6/src/settings.c:6507:10: note: Assuming that condition 'l' is not redundant spacefm-1.0.6/src/settings.c:6498:24: note: Null pointer dereference spacefm-1.0.6/src/settings.c:9252:26: warning:inconclusive: Either the condition 'ans' is redundant or there is possible null pointer dereference: ans. [nullPointerRedundantCheck] spacefm-1.0.6/src/settings.c:9263:22: note: Assuming that condition 'ans' is not redundant spacefm-1.0.6/src/settings.c:9252:26: note: Null pointer dereference spacefm-1.0.6/src/settings.c:9861:14: warning: Either the condition 'set' is redundant or there is possible null pointer dereference: set. [nullPointerRedundantCheck] spacefm-1.0.6/src/settings.c:9865:21: note: Assuming that condition 'set' is not redundant spacefm-1.0.6/src/settings.c:9861:14: note: Null pointer dereference spacefm-1.0.6/src/settings.c:8163:13: style: Variable 'newitem' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:8159:13: note: newitem is assigned spacefm-1.0.6/src/settings.c:8163:13: note: newitem is overwritten spacefm-1.0.6/src/settings.c:8167:13: style: Variable 'newitem' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:8163:13: note: newitem is assigned spacefm-1.0.6/src/settings.c:8167:13: note: newitem is overwritten spacefm-1.0.6/src/settings.c:8180:13: style: Variable 'newitem' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:8174:13: note: newitem is assigned spacefm-1.0.6/src/settings.c:8180:13: note: newitem is overwritten spacefm-1.0.6/src/settings.c:8184:13: style: Variable 'newitem' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:8180:13: note: newitem is assigned spacefm-1.0.6/src/settings.c:8184:13: note: newitem is overwritten spacefm-1.0.6/src/settings.c:8198:17: style: Variable 'newitem' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:8196:17: note: newitem is assigned spacefm-1.0.6/src/settings.c:8198:17: note: newitem is overwritten spacefm-1.0.6/src/settings.c:8234:13: style: Variable 'newitem' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:8198:17: note: newitem is assigned spacefm-1.0.6/src/settings.c:8234:13: note: newitem is overwritten spacefm-1.0.6/src/settings.c:8234:13: style: Variable 'newitem' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:8201:21: note: newitem is assigned spacefm-1.0.6/src/settings.c:8234:13: note: newitem is overwritten spacefm-1.0.6/src/settings.c:11603:9: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:11601:9: note: set is assigned spacefm-1.0.6/src/settings.c:11603:9: note: set is overwritten spacefm-1.0.6/src/settings.c:12015:9: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:12013:9: note: set is assigned spacefm-1.0.6/src/settings.c:12015:9: note: set is overwritten spacefm-1.0.6/src/settings.c:12169:9: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:12167:9: note: set is assigned spacefm-1.0.6/src/settings.c:12169:9: note: set is overwritten spacefm-1.0.6/src/settings.c:12215:9: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:12213:9: note: set is assigned spacefm-1.0.6/src/settings.c:12215:9: note: set is overwritten spacefm-1.0.6/src/settings.c:12338:13: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:12337:13: note: set is assigned spacefm-1.0.6/src/settings.c:12338:13: note: set is overwritten spacefm-1.0.6/src/settings.c:12377:13: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:12376:13: note: set is assigned spacefm-1.0.6/src/settings.c:12377:13: note: set is overwritten spacefm-1.0.6/src/settings.c:12409:9: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:12407:9: note: set is assigned spacefm-1.0.6/src/settings.c:12409:9: note: set is overwritten spacefm-1.0.6/src/settings.c:12414:9: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:12412:9: note: set is assigned spacefm-1.0.6/src/settings.c:12414:9: note: set is overwritten spacefm-1.0.6/src/settings.c:12416:9: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:12414:9: note: set is assigned spacefm-1.0.6/src/settings.c:12416:9: note: set is overwritten spacefm-1.0.6/src/settings.c:12418:9: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:12416:9: note: set is assigned spacefm-1.0.6/src/settings.c:12418:9: note: set is overwritten spacefm-1.0.6/src/settings.c:12424:13: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:12423:13: note: set is assigned spacefm-1.0.6/src/settings.c:12424:13: note: set is overwritten spacefm-1.0.6/src/settings.c:12425:13: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:12424:13: note: set is assigned spacefm-1.0.6/src/settings.c:12425:13: note: set is overwritten spacefm-1.0.6/src/settings.c:7044:9: warning: Label '_XSET_JOB_CUSTOM' is not used. Should this be a 'case' of the enclosing switch()? [unusedLabelSwitch] spacefm-1.0.6/src/settings.c:1977:38: style:inconclusive: Function 'on_autosave_timer' argument 1 names different: declaration 'main_window' definition 'ptr'. [funcArgNamesDifferent] spacefm-1.0.6/src/settings.c:134:38: note: Function 'on_autosave_timer' argument 1 names different: declaration 'main_window' definition 'ptr'. spacefm-1.0.6/src/settings.c:1977:38: note: Function 'on_autosave_timer' argument 1 names different: declaration 'main_window' definition 'ptr'. spacefm-1.0.6/src/settings.c:4952:54: style:inconclusive: Function 'xset_import_plugin' argument 2 names different: declaration 'is_bookmarks' definition 'use'. [funcArgNamesDifferent] spacefm-1.0.6/src/settings.h:488:59: note: Function 'xset_import_plugin' argument 2 names different: declaration 'is_bookmarks' definition 'use'. spacefm-1.0.6/src/settings.c:4952:54: note: Function 'xset_import_plugin' argument 2 names different: declaration 'is_bookmarks' definition 'use'. spacefm-1.0.6/src/settings.c:10552:76: style:inconclusive: Function 'clean_label' argument 3 names different: declaration 'convert_amp' definition 'escape'. [funcArgNamesDifferent] spacefm-1.0.6/src/settings.h:491:76: note: Function 'clean_label' argument 3 names different: declaration 'convert_amp' definition 'escape'. spacefm-1.0.6/src/settings.c:10552:76: note: Function 'clean_label' argument 3 names different: declaration 'convert_amp' definition 'escape'. spacefm-1.0.6/src/settings.c:219:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:220:11: style: Variable 'value' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:317:65: style: Parameter 'color' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/settings.c:326:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:327:11: style: Variable 'value' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:358:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:410:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:411:11: style: Variable 'value' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:437:11: style: Variable 'sname' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:595:11: style: Variable 'section_name' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:834:11: style: Variable 'terminal' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:1389:14: style: Variable 'new_toolbar_types' can be declared as const array [constVariable] spacefm-1.0.6/src/settings.c:1977:38: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'on_autosave_timer' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/settings.c:1972:45: note: You might need to cast the function pointer here spacefm-1.0.6/src/settings.c:1977:38: note: Parameter 'ptr' can be declared as pointer to const spacefm-1.0.6/src/settings.c:2246:11: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:2596:11: style: Variable 'set' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:2616:32: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/settings.c:2678:11: style: Variable 'varstring' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:2933:11: style: Variable 'value' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:2942:11: style: Variable 'var' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:3293:24: style: Variable 'open_all_set' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:3293:39: style: Variable 'tset' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:3293:46: style: Variable 'open_all_tset' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:3429:11: style: Variable 'set' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:3964:19: style: Variable 'set2' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:3977:19: style: Variable 'set2' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:4028:11: style: Variable 'icon_name' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:4231:37: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/settings.c:4329:54: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/settings.c:4403:32: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/settings.c:4403:43: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/settings.c:4479:47: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/settings.c:4578:11: style: Variable 'mset' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:4853:11: style: Variable 'value' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:4873:11: style: Variable 'var' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:4955:11: style: Variable 'section_name' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:4983:11: style: Variable 'plugin' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:5319:11: style: Variable 'book' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:5367:53: style: Parameter 'plug_dir' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/settings.c:6232:39: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/settings.c:6248:15: style: Variable 'set_prev' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:6490:11: style: Variable 'dot' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:6537:12: style: Variable 'loc' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:6639:31: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/settings.c:6709:11: style: Variable 'set' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:6710:11: style: Variable 'set2' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:6711:11: style: Variable 'keyset' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:6774:23: style: Variable 'rset' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:7791:19: style: Variable 'help' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:8649:15: style: Variable 'help' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:8650:15: style: Variable 'default_str' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:8729:15: style: Variable 'file' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:9011:69: style: Parameter 'event' can be declared as pointer to const. However it seems that 'on_input_keypress' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/settings.c:9161:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/settings.c:9011:69: note: Parameter 'event' can be declared as pointer to const spacefm-1.0.6/src/settings.c:9352:71: style: Parameter 'event' can be declared as pointer to const. However it seems that 'on_fontdlg_keypress' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/settings.c:9402:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/settings.c:9352:71: note: Parameter 'event' can be declared as pointer to const spacefm-1.0.6/src/settings.c:9528:16: style: Variable 'dlgparent' can be declared as pointer to const [constVariablePointer] spacefm-1.0.6/src/settings.c:9573:56: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/settings.c:12732:21: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] spacefm-1.0.6/src/settings.c:2623:11: style: Unused variable: set [unusedVariable] spacefm-1.0.6/src/settings.c:4679:11: style: Unused variable: set_key [unusedVariable] spacefm-1.0.6/src/settings.c:5885:23: style: Unused variable: path [unusedVariable] spacefm-1.0.6/src/settings.c:6921:11: style: Unused variable: keymsg [unusedVariable] spacefm-1.0.6/src/settings.c:6922:16: style: Unused variable: vbox [unusedVariable] spacefm-1.0.6/src/settings.c:6923:9: style: Variable 'newkey' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/settings.c:6923:21: style: Variable 'newkeymod' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/settings.c:6924:11: style: Unused variable: keyset [unusedVariable] spacefm-1.0.6/src/settings.c:7707:14: style: Variable 'toolexecsub' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/settings.c:7710:11: style: Unused variable: sett [unusedVariable] spacefm-1.0.6/src/settings.c:8054:23: style: Variable 'open_all' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/settings.c:8067:14: style: Variable 'mset' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/settings.c:8069:14: style: Variable 'mset' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/settings.c:8098:18: style: Variable 'open_all' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/settings.c:8044:16: style: Unused variable: newitem2 [unusedVariable] spacefm-1.0.6/src/settings.c:8045:16: style: Unused variable: newitem3 [unusedVariable] spacefm-1.0.6/src/settings.c:8046:16: style: Unused variable: newitem4 [unusedVariable] spacefm-1.0.6/src/settings.c:8049:13: style: Unused variable: radio_group [unusedVariable] spacefm-1.0.6/src/settings.c:8050:11: style: Unused variable: label [unusedVariable] spacefm-1.0.6/src/settings.c:8051:11: style: Unused variable: path [unusedVariable] spacefm-1.0.6/src/settings.c:8055:11: style: Unused variable: sett [unusedVariable] spacefm-1.0.6/src/settings.c:8729:20: style: Variable 'file' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/settings.c:8729:15: style: Variable 'file' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/settings.c:9037:17: style: Unused variable: iter [unusedVariable] spacefm-1.0.6/src/settings.c:9037:23: style: Unused variable: siter [unusedVariable] spacefm-1.0.6/src/settings.c:9528:26: style: Variable 'dlgparent' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/settings.c:9528:16: style: Variable 'dlgparent' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/settings.c:12537:12: style: Unused variable: i [unusedVariable] spacefm-1.0.6/src/settings.c:12753:11: style: Unused variable: set [unusedVariable] diff: 2.17.0 spacefm-1.0.6/src/cust-dialog.c:2021:34: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] spacefm-1.0.6/src/cust-dialog.c:2019:35: note: Assuming allocation function fails spacefm-1.0.6/src/cust-dialog.c:2019:35: note: Assignment 'str=g_strdup(el->val)', assigned value is 0 spacefm-1.0.6/src/cust-dialog.c:2021:34: note: Null pointer dereference head spacefm-1.0.6/src/cust-dialog.c:3586:17: style: Variable 'modifier' is assigned a value that is never used. [unreadVariable] 2.17.0 spacefm-1.0.6/src/cust-dialog.c:67:61: warning: If memory allocation fails, then there is a possible null pointer dereference: msg [nullPointerOutOfMemory] spacefm-1.0.6/src/cust-dialog.c:395:38: note: Assuming allocation function fails spacefm-1.0.6/src/cust-dialog.c:395:38: note: Assignment 'str=g_strdup_printf(((char*)g_dgettext(NULL,"Too many columns (>%d) in %s")),32,el->name)', assigned value is 0 spacefm-1.0.6/src/cust-dialog.c:397:27: note: Calling function 'dlg_warn', 1st argument 'str' value is 0 spacefm-1.0.6/src/cust-dialog.c:67:61: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/cust-dialog.c:68:22: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] spacefm-1.0.6/src/cust-dialog.c:67:32: note: Assuming allocation function fails spacefm-1.0.6/src/cust-dialog.c:67:32: note: Assignment 'str=g_strdup_printf("** spacefm-dialog: %s\n",msg)', assigned value is 0 spacefm-1.0.6/src/cust-dialog.c:68:22: note: Null pointer dereference head spacefm-1.0.6/src/desktop/desktop-window.c:1535:20: style: Variable 'self' is assigned a value that is never used. [unreadVariable] 2.17.0 spacefm-1.0.6/src/desktop/desktop-window.c:1678:30: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] spacefm-1.0.6/src/desktop/desktop-window.c:1663:42: note: Assuming allocation function fails spacefm-1.0.6/src/desktop/desktop-window.c:1663:42: note: Assignment 'buf=g_string_sized_new(4096)', assigned value is 0 spacefm-1.0.6/src/desktop/desktop-window.c:1672:27: note: Assuming condition is false spacefm-1.0.6/src/desktop/desktop-window.c:1678:30: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/desktop/desktop-window.c:1679:30: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] spacefm-1.0.6/src/desktop/desktop-window.c:1663:42: note: Assuming allocation function fails spacefm-1.0.6/src/desktop/desktop-window.c:1663:42: note: Assignment 'buf=g_string_sized_new(4096)', assigned value is 0 spacefm-1.0.6/src/desktop/desktop-window.c:1672:27: note: Assuming condition is false spacefm-1.0.6/src/desktop/desktop-window.c:1679:30: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/desktop/desktop-window.c:1686:31: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] spacefm-1.0.6/src/desktop/desktop-window.c:1663:42: note: Assuming allocation function fails spacefm-1.0.6/src/desktop/desktop-window.c:1663:42: note: Assignment 'buf=g_string_sized_new(4096)', assigned value is 0 spacefm-1.0.6/src/desktop/desktop-window.c:1672:27: note: Assuming condition is false spacefm-1.0.6/src/desktop/desktop-window.c:1686:31: note: Null pointer dereference head spacefm-1.0.6/src/desktop/desktop-window.c:1813:56: style: Parameter 'task' can be declared as pointer to const. However it seems that 'desktop_window_insert_task_complete' is a callback function, if 'task' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/desktop/desktop-window.c:2435:44: note: You might need to cast the function pointer here spacefm-1.0.6/src/desktop/desktop-window.c:1813:56: note: Parameter 'task' can be declared as pointer to const head spacefm-1.0.6/src/desktop/desktop-window.c:1813:77: style: Parameter 'self' can be declared as pointer to const. However it seems that 'desktop_window_insert_task_complete' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/desktop/desktop-window.c:2435:44: note: You might need to cast the function pointer here spacefm-1.0.6/src/desktop/desktop-window.c:1813:77: note: Parameter 'self' can be declared as pointer to const head spacefm-1.0.6/src/desktop/desktop-window.c:2023:20: style: Variable 'self' is assigned a value that is never used. [unreadVariable] head spacefm-1.0.6/src/desktop/desktop-window.c:3089:16: style: Variable 'w' is assigned a value that is never used. [unreadVariable] head spacefm-1.0.6/src/desktop/desktop-window.c:3314:66: style: Parameter 'setname' can be declared as pointer to const [constParameterPointer] 2.17.0 spacefm-1.0.6/src/desktop/desktop-window.c:4116:25: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] spacefm-1.0.6/src/desktop/desktop-window.c:4114:34: note: Assuming allocation function fails spacefm-1.0.6/src/desktop/desktop-window.c:4114:34: note: Assignment 'path=g_build_filename(xset_get_config_dir(),filename,NULL)', assigned value is 0 spacefm-1.0.6/src/desktop/desktop-window.c:4116:25: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/desktop/desktop-window.c:4152:25: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] spacefm-1.0.6/src/desktop/desktop-window.c:4149:34: note: Assuming allocation function fails spacefm-1.0.6/src/desktop/desktop-window.c:4149:34: note: Assignment 'path=g_build_filename(xset_get_config_dir(),filename,NULL)', assigned value is 0 spacefm-1.0.6/src/desktop/desktop-window.c:4152:25: note: Null pointer dereference head spacefm-1.0.6/src/desktop/desktop-window.c:446:14: style: Variable 'xdisplay' is assigned a value that is never used. [unreadVariable] 2.17.0 spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:425:18: warning: If memory allocation fails, then there is a possible null pointer dereference: target [nullPointerOutOfMemory] spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:419:33: note: Assuming allocation function fails spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:419:33: note: Assignment 'p=g_path_get_basename(target)', assigned value is 0 spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:421:18: note: Assignment 'target=p', assigned value is 0 spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:425:18: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/find-files.c:395:29: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] spacefm-1.0.6/src/find-files.c:391:30: note: Assuming allocation function fails spacefm-1.0.6/src/find-files.c:391:30: note: Assignment 'tmp=g_strdup_printf("-%u%c",gtk_spin_button_get_value_as_int((GtkSpinButton*)data->size_upper),size_units[gtk_combo_box_get_active((GtkComboBox*)data->size_upper_unit)])', assigned value is 0 spacefm-1.0.6/src/find-files.c:395:29: note: Null pointer addition head spacefm-1.0.6/src/item-prop.c:1495:49: style: Parameter 'notebook' can be declared as pointer to const. However it seems that 'on_prop_notebook_switch_page' is a callback function, if 'notebook' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/item-prop.c:2465:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/item-prop.c:1495:49: note: Parameter 'notebook' can be declared as pointer to const head spacefm-1.0.6/src/item-prop.c:1496:47: style: Parameter 'page' can be declared as pointer to const. However it seems that 'on_prop_notebook_switch_page' is a callback function, if 'page' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/item-prop.c:2465:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/item-prop.c:1496:47: note: Parameter 'page' can be declared as pointer to const head spacefm-1.0.6/src/item-prop.c:1500:16: style: Variable 'widget' can be declared as pointer to const [constVariablePointer] 2.17.0 spacefm-1.0.6/src/item-prop.c:471:49: warning: If memory allocation fails, then there is a possible null pointer dereference: old_context [nullPointerOutOfMemory] spacefm-1.0.6/src/item-prop.c:459:38: note: Assuming allocation function fails spacefm-1.0.6/src/item-prop.c:459:38: note: Assignment 'new_context=g_strdup_printf("%d%%%%%%%%%%%d",gtk_combo_box_get_active((GtkComboBox*)(ctxt->box_action)),gtk_combo_box_get_active((GtkComboBox*)(ctxt->box_match)))', assigned value is 0 spacefm-1.0.6/src/item-prop.c:469:25: note: old_context is assigned 'new_context' here. spacefm-1.0.6/src/item-prop.c:471:49: note: Null pointer dereference head spacefm-1.0.6/src/item-prop.c:515:49: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] 2.17.0 spacefm-1.0.6/src/item-prop.c:962:18: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] spacefm-1.0.6/src/item-prop.c:961:28: note: Assuming allocation function fails spacefm-1.0.6/src/item-prop.c:961:28: note: Assignment 'path=g_strdup(g_strchomp(g_strchug(text)))', assigned value is 0 spacefm-1.0.6/src/item-prop.c:962:18: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/item-prop.c:963:67: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] spacefm-1.0.6/src/item-prop.c:961:28: note: Assuming allocation function fails spacefm-1.0.6/src/item-prop.c:961:28: note: Assignment 'path=g_strdup(g_strchomp(g_strchug(text)))', assigned value is 0 spacefm-1.0.6/src/item-prop.c:963:67: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/main-window.c:1574:30: warning: If memory allocation fails, then there is a possible null pointer dereference: tab_dir [nullPointerOutOfMemory] spacefm-1.0.6/src/main-window.c:1559:47: note: Assuming allocation function fails spacefm-1.0.6/src/main-window.c:1559:47: note: Assignment 'tab_dir=g_strdup("/")', assigned value is 0 spacefm-1.0.6/src/main-window.c:1574:30: note: Null pointer dereference head spacefm-1.0.6/src/main-window.c:275:11: style: Variable 'set' can be declared as pointer to const [constVariablePointer] head spacefm-1.0.6/src/main-window.c:3008:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] head spacefm-1.0.6/src/main-window.c:3193:17: style: Variable 'builder' is assigned a value that is never used. [unreadVariable] head spacefm-1.0.6/src/main-window.c:3262:16: style: Variable 'new_win' is assigned a value that is never used. [unreadVariable] 2.17.0 spacefm-1.0.6/src/main-window.c:326:29: warning: If memory allocation fails, then there is a possible null pointer dereference: filename [nullPointerOutOfMemory] spacefm-1.0.6/src/main-window.c:325:45: note: Assuming allocation function fails spacefm-1.0.6/src/main-window.c:325:45: note: Assignment 'filename=g_path_get_basename(path)', assigned value is 0 spacefm-1.0.6/src/main-window.c:326:29: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/main-window.c:3409:42: warning: If memory allocation fails, then there is a possible null pointer dereference: disp_path [nullPointerOutOfMemory] spacefm-1.0.6/src/main-window.c:3408:29: note: Assuming allocation function fails spacefm-1.0.6/src/main-window.c:3408:29: note: Assignment 'disp_path=g_strdup(file_browser->dir->disp_path)', assigned value is 0 spacefm-1.0.6/src/main-window.c:3409:42: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/main-window.c:3431:18: warning: If memory allocation fails, then there is a possible null pointer dereference: fmt [nullPointerOutOfMemory] spacefm-1.0.6/src/main-window.c:3429:23: note: Assuming allocation function fails spacefm-1.0.6/src/main-window.c:3429:23: note: Assignment 'fmt=g_strdup("%d")', assigned value is 0 spacefm-1.0.6/src/main-window.c:3431:18: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/main-window.c:3722:100: warning: If memory allocation fails, then there is a possible null pointer dereference: lsize [nullPointerOutOfMemory] spacefm-1.0.6/src/main-window.c:3721:53: note: Assuming allocation function fails spacefm-1.0.6/src/main-window.c:3721:53: note: Assignment 'lsize=g_strdup(buf)', assigned value is 0 spacefm-1.0.6/src/main-window.c:3722:100: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/main-window.c:3747:63: warning: If memory allocation fails, then there is a possible null pointer dereference: link_info [nullPointerOutOfMemory] spacefm-1.0.6/src/main-window.c:3743:33: note: Assuming allocation function fails spacefm-1.0.6/src/main-window.c:3743:33: note: Assignment 'link_info=g_strdup("")', assigned value is 0 spacefm-1.0.6/src/main-window.c:3747:63: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/main-window.c:3781:49: warning: If memory allocation fails, then there is a possible null pointer dereference: xhidden [nullPointerOutOfMemory] spacefm-1.0.6/src/main-window.c:3773:42: note: Assuming allocation function fails spacefm-1.0.6/src/main-window.c:3773:42: note: Assignment 'xhidden=g_strdup_printf("+%d",num_hidx)', assigned value is 0 spacefm-1.0.6/src/main-window.c:3781:49: note: Null pointer dereference head spacefm-1.0.6/src/main-window.c:5280:11: style: Variable 'set' can be declared as pointer to const [constVariablePointer] head spacefm-1.0.6/src/main-window.c:5291:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] 2.17.0 spacefm-1.0.6/src/main-window.c:690:69: warning: If memory allocation fails, then there is a possible null pointer dereference: prog [nullPointerOutOfMemory] spacefm-1.0.6/src/main-window.c:688:24: note: Assuming allocation function fails spacefm-1.0.6/src/main-window.c:688:24: note: Assignment 'prog=g_strdup("spacefm")', assigned value is 0 spacefm-1.0.6/src/main-window.c:690:69: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/main.c:1455:43: warning: If memory allocation fails, then there is a possible null pointer dereference: bash_error [nullPointerOutOfMemory] spacefm-1.0.6/src/main.c:1454:43: note: Assuming allocation function fails spacefm-1.0.6/src/main.c:1454:43: note: Assignment 'bash_error=g_strdup_printf("SpaceFM requires bash to be installed. Other shells are NOT equivalent as SpaceFM uses features only found in genuine bash (v4+).\n\nThe program %s was not found. Install bash or use configure option --with-bash-path to specify a custom location at build time.",BASHPATH)', assigned value is 0 spacefm-1.0.6/src/main.c:1455:43: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/main.c:213:22: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] spacefm-1.0.6/src/main.c:209:36: note: Assuming allocation function fails spacefm-1.0.6/src/main.c:209:36: note: Assignment 'args=g_string_new_len(NULL,2048)', assigned value is 0 spacefm-1.0.6/src/main.c:213:22: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/main.c:214:45: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] spacefm-1.0.6/src/main.c:209:36: note: Assuming allocation function fails spacefm-1.0.6/src/main.c:209:36: note: Assignment 'args=g_string_new_len(NULL,2048)', assigned value is 0 spacefm-1.0.6/src/main.c:214:45: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/main.c:215:45: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] spacefm-1.0.6/src/main.c:209:36: note: Assuming allocation function fails spacefm-1.0.6/src/main.c:209:36: note: Assignment 'args=g_string_new_len(NULL,2048)', assigned value is 0 spacefm-1.0.6/src/main.c:215:45: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/main.c:220:18: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] spacefm-1.0.6/src/main.c:209:36: note: Assuming allocation function fails spacefm-1.0.6/src/main.c:209:36: note: Assignment 'args=g_string_new_len(NULL,2048)', assigned value is 0 spacefm-1.0.6/src/main.c:214:78: note: Assuming condition is false spacefm-1.0.6/src/main.c:220:18: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/main.c:340:54: warning: If memory allocation fails, then there is a possible null pointer dereference: dpy [nullPointerOutOfMemory] spacefm-1.0.6/src/main.c:332:25: note: Assuming allocation function fails spacefm-1.0.6/src/main.c:332:25: note: Assignment 'dpy=g_strdup(g_getenv("DISPLAY"))', assigned value is 0 spacefm-1.0.6/src/main.c:340:54: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/main.c:355:54: warning: If memory allocation fails, then there is a possible null pointer dereference: dpy [nullPointerOutOfMemory] spacefm-1.0.6/src/main.c:352:23: note: Assuming allocation function fails spacefm-1.0.6/src/main.c:352:23: note: Assignment 'dpy=g_strdup(":0")', assigned value is 0 spacefm-1.0.6/src/main.c:355:54: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/main.c:457:53: warning: If memory allocation fails, then there is a possible null pointer dereference: real_path [nullPointerOutOfMemory] spacefm-1.0.6/src/main.c:450:45: note: Assuming allocation function fails spacefm-1.0.6/src/main.c:450:45: note: Assignment 'real_path=g_strdup(*file)', assigned value is 0 spacefm-1.0.6/src/main.c:457:53: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/main.c:658:10: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: sock_reply [nullPointerOutOfMemory] spacefm-1.0.6/src/main.c:646:43: note: Assuming allocation function fails spacefm-1.0.6/src/main.c:646:43: note: Assignment 'sock_reply=g_string_new_len(NULL,2048)', assigned value is 0 spacefm-1.0.6/src/main.c:658:10: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/mime-type/mime-action.c:33:21: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] spacefm-1.0.6/src/mime-type/mime-action.c:746:34: note: Assuming allocation function fails spacefm-1.0.6/src/mime-type/mime-action.c:746:34: note: Assignment 'path=g_build_filename(g_get_user_config_dir(),"mimeapps.list",NULL)', assigned value is 0 spacefm-1.0.6/src/mime-type/mime-action.c:880:23: note: Calling function 'save_to_file', 1st argument 'path' value is 0 spacefm-1.0.6/src/mime-type/mime-action.c:33:21: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/mime-type/mime-action.c:464:71: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] spacefm-1.0.6/src/mime-type/mime-action.c:463:25: note: Assuming allocation function fails spacefm-1.0.6/src/mime-type/mime-action.c:463:25: note: Assignment 'name=g_strndup(desktop_id,strlen(desktop_id)-8)', assigned value is 0 spacefm-1.0.6/src/mime-type/mime-action.c:464:71: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/mime-type/mime-action.c:483:25: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] spacefm-1.0.6/src/mime-type/mime-action.c:482:35: note: Assuming allocation function fails spacefm-1.0.6/src/mime-type/mime-action.c:482:35: note: Assignment 'name=g_path_get_basename(desktop_id)', assigned value is 0 spacefm-1.0.6/src/mime-type/mime-action.c:483:25: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/mime-type/mime-action.c:486:23: warning: If memory allocation fails, then there is a possible null pointer dereference: file_content [nullPointerOutOfMemory] spacefm-1.0.6/src/mime-type/mime-action.c:485:39: note: Assuming allocation function fails spacefm-1.0.6/src/mime-type/mime-action.c:485:39: note: Assignment 'file_content=g_strdup_printf(file_templ,name,desktop_id,mime_type)', assigned value is 0 spacefm-1.0.6/src/mime-type/mime-action.c:486:23: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/mime-type/mime-action.c:487:72: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] spacefm-1.0.6/src/mime-type/mime-action.c:482:35: note: Assuming allocation function fails spacefm-1.0.6/src/mime-type/mime-action.c:482:35: note: Assignment 'name=g_path_get_basename(desktop_id)', assigned value is 0 spacefm-1.0.6/src/mime-type/mime-action.c:487:72: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/mime-type/mime-action.c:497:33: warning: If memory allocation fails, then there is a possible null pointer dereference: cust_template [nullPointerOutOfMemory] spacefm-1.0.6/src/mime-type/mime-action.c:464:40: note: Assuming allocation function fails spacefm-1.0.6/src/mime-type/mime-action.c:464:40: note: Assignment 'cust_template=g_strdup_printf("%s-usercustom-%%d.desktop",name)', assigned value is 0 spacefm-1.0.6/src/mime-type/mime-action.c:497:33: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-clipboard.c:112:47: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-clipboard.c:104:25: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-clipboard.c:104:25: note: Assignment 'file_text=g_strdup("")', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-clipboard.c:111:13: note: str is assigned 'file_text' here. spacefm-1.0.6/src/ptk/ptk-clipboard.c:112:47: note: Null pointer dereference head spacefm-1.0.6/src/ptk/ptk-clipboard.c:163:46: style: Parameter 'files' can be declared as pointer to const [constParameterPointer] 2.17.0 spacefm-1.0.6/src/ptk/ptk-clipboard.c:62:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-clipboard.c:41:30: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-clipboard.c:41:30: note: Assignment 'list=g_string_sized_new(8192)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-clipboard.c:62:26: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-clipboard.c:74:42: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-clipboard.c:41:30: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-clipboard.c:41:30: note: Assignment 'list=g_string_sized_new(8192)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-clipboard.c:74:42: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-dir-tree.c:134:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptk_dir_tree_init [valueFlowBailoutIncompleteVar] head spacefm-1.0.6/src/ptk/ptk-dir-tree.c:158:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_OBJECT [valueFlowBailoutIncompleteVar] head spacefm-1.0.6/src/ptk/ptk-dir-tree.c:346:5: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-archiver.c:1532:54: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mkparent [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:1323:35: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-archiver.c:1323:35: note: Assignment 'mkparent=g_strdup("")', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-archiver.c:1532:54: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-archiver.c:1532:69: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: perm [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:1324:24: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-archiver.c:1324:24: note: Assignment 'perm=g_strdup("")', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-archiver.c:1532:69: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-archiver.c:441:17: warning: If memory allocation fails, then there is a possible null pointer dereference: archive_handlers [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:428:42: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-archiver.c:428:42: note: Assignment 'archive_handlers=g_strsplit(archive_handlers_s," ",-1)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-archiver.c:441:17: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-archiver.c:444:33: warning: If memory allocation fails, then there is a possible null pointer dereference: archive_handlers [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:428:42: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-archiver.c:428:42: note: Assignment 'archive_handlers=g_strsplit(archive_handlers_s," ",-1)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-archiver.c:444:33: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-archiver.c:854:43: warning: If memory allocation fails, then there is a possible null pointer dereference: dest_dir [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:853:52: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-archiver.c:853:52: note: Assignment 'dest_dir=g_path_get_dirname(dest_file)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-archiver.c:854:43: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-archiver.c:954:54: warning: If memory allocation fails, then there is a possible null pointer dereference: all [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:954:42: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-archiver.c:954:42: note: Assignment 'all=g_strdup_printf("%s%s%s",all,all[0]?" ":"",desc)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-archiver.c:954:54: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-archiver.c:955:44: warning: If memory allocation fails, then there is a possible null pointer dereference: all [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:954:42: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-archiver.c:954:42: note: Assignment 'all=g_strdup_printf("%s%s%s",all,all[0]?" ":"",desc)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-archiver.c:955:44: note: Null pointer dereference head spacefm-1.0.6/src/ptk/ptk-file-browser.c:2764:11: style: Variable 'canon' can be declared as pointer to const [constVariablePointer] 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:2846:17: warning: If memory allocation fails, then there is a possible null pointer dereference: parent_dir [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-browser.c:2845:36: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-browser.c:2845:36: note: Assignment 'parent_dir=g_path_get_dirname(ptk_file_browser_get_cwd(file_browser))', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:2846:17: note: Null pointer dereference head spacefm-1.0.6/src/ptk/ptk-file-browser.c:3380:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] head spacefm-1.0.6/src/ptk/ptk-file-browser.c:3949:47: style: Parameter 'view' can be declared as pointer to const. However it seems that 'on_dir_tree_row_activated' is a callback function, if 'view' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5687:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-browser.c:3949:47: note: Parameter 'view' can be declared as pointer to const head spacefm-1.0.6/src/ptk/ptk-file-browser.c:3950:47: style: Parameter 'path' can be declared as pointer to const. However it seems that 'on_dir_tree_row_activated' is a callback function, if 'path' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5687:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-browser.c:3950:47: note: Parameter 'path' can be declared as pointer to const head spacefm-1.0.6/src/ptk/ptk-file-browser.c:3951:53: style: Parameter 'column' can be declared as pointer to const. However it seems that 'on_dir_tree_row_activated' is a callback function, if 'column' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5687:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-browser.c:3951:53: note: Parameter 'column' can be declared as pointer to const head spacefm-1.0.6/src/ptk/ptk-file-browser.c:3952:50: style: Parameter 'file_browser' can be declared as pointer to const. However it seems that 'on_dir_tree_row_activated' is a callback function, if 'file_browser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5687:5: note: You might need to cast the function pointer here spacefm-1.0.6/src/ptk/ptk-file-browser.c:3952:50: note: Parameter 'file_browser' can be declared as pointer to const 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:4134:29: warning: If memory allocation fails, then there is a possible null pointer dereference: key2 [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-browser.c:4133:37: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-browser.c:4133:37: note: Assignment 'key2=g_strdup_printf("*%s*",key)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:4134:29: note: Null pointer dereference head spacefm-1.0.6/src/ptk/ptk-file-browser.c:4142:15: style: Variable 'keyp' can be declared as pointer to const [constVariablePointer] 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:4938:26: warning: If memory allocation fails, then there is a possible null pointer dereference: uri_list [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-browser.c:4920:43: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-browser.c:4920:43: note: Assignment 'uri_list=g_string_sized_new(8192)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:4938:26: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:4941:26: warning: If memory allocation fails, then there is a possible null pointer dereference: uri_list [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-browser.c:4920:43: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-browser.c:4920:43: note: Assignment 'uri_list=g_string_sized_new(8192)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:4941:26: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:4946:42: warning: If memory allocation fails, then there is a possible null pointer dereference: uri_list [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-browser.c:4920:43: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-browser.c:4920:43: note: Assignment 'uri_list=g_string_sized_new(8192)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:4946:42: note: Null pointer dereference head spacefm-1.0.6/src/ptk/ptk-file-browser.c:5413:66: style: Parameter 'setname' can be declared as pointer to const [constParameterPointer] head spacefm-1.0.6/src/ptk/ptk-file-browser.c:5756:11: style: Variable 'set' can be declared as pointer to const [constVariablePointer] 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:6495:48: warning: If memory allocation fails, then there is a possible null pointer dereference: file_paths [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-browser.c:6486:32: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-browser.c:6486:32: note: Assignment 'file_paths=g_strdup("")', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:6495:48: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:6505:67: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-browser.c:6418:30: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-browser.c:6418:30: note: Assignment 'cmd=g_strdup_printf("u+r-wx,go-rwx")', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:6505:67: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:6506:65: warning: If memory allocation fails, then there is a possible null pointer dereference: file_paths [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-browser.c:6486:32: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-browser.c:6486:32: note: Assignment 'file_paths=g_strdup("")', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:6490:28: note: Assuming condition is false spacefm-1.0.6/src/ptk/ptk-file-browser.c:6506:65: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:6650:13: warning: If memory allocation fails, then there is a possible null pointer dereference: xname [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-browser.c:6649:29: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-browser.c:6649:29: note: Assignment 'xname=g_strdup(set->name+5)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:6650:13: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:6651:23: warning: If memory allocation fails, then there is a possible null pointer dereference: xname [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-browser.c:6649:29: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-browser.c:6649:29: note: Assignment 'xname=g_strdup(set->name+5)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:6651:23: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:6652:13: warning: If memory allocation fails, then there is a possible null pointer dereference: xname [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-browser.c:6649:29: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-browser.c:6649:29: note: Assignment 'xname=g_strdup(set->name+5)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:6652:13: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:677:14: warning: If memory allocation fails, then there is a possible null pointer dereference: trim_command [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-browser.c:675:27: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-browser.c:675:27: note: Assignment 'command=g_strdup(text)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:676:24: note: Assignment 'trim_command=g_strchomp(g_strchug(command))', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:677:14: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:772:30: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-browser.c:771:46: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-browser.c:771:46: note: Assignment 'dir_path=g_path_get_dirname(final_path)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:772:30: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-list.c:133:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptk_file_list_init [valueFlowBailoutIncompleteVar] head spacefm-1.0.6/src/ptk/ptk-file-list.c:164:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_OBJECT [valueFlowBailoutIncompleteVar] head spacefm-1.0.6/src/ptk/ptk-file-menu.c:1615:22: style: Variable 'book_item' is assigned a value that is never used. [unreadVariable] head spacefm-1.0.6/src/ptk/ptk-file-menu.c:2281:20: style: Variable 'accel_group' is assigned a value that is never used. [unreadVariable] head spacefm-1.0.6/src/ptk/ptk-file-menu.c:2465:9: style: Variable 'job' is assigned a value that is never used. [unreadVariable] head spacefm-1.0.6/src/ptk/ptk-file-menu.c:423:11: style: Variable 'set' can be declared as pointer to const [constVariablePointer] head spacefm-1.0.6/src/ptk/ptk-file-misc.c:1244:14: style: Variable 'new_link' is assigned a value that is never used. [unreadVariable] 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:1266:54: warning: If memory allocation fails, then there is a possible null pointer dereference: new_path [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-misc.c:1264:44: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-misc.c:1264:44: note: Assignment 'new_path=g_path_get_dirname(full_path)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:1266:54: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:1921:69: warning: If memory allocation fails, then there is a possible null pointer dereference: subsubdir [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-misc.c:1917:53: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-misc.c:1917:53: note: Assignment 'subsubdir=g_build_filename(subdir,name,NULL)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:1921:69: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:2010:42: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-misc.c:2031:41: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-misc.c:2031:41: note: Calling function 'update_new_display_delayed', 1st argument 'g_strdup(path)' value is 0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:2010:42: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:2809:26: warning: If memory allocation fails, then there is a possible null pointer dereference: full_path [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-misc.c:2805:45: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-misc.c:2805:45: note: Assignment 'full_path=g_build_filename(cwd,old_path,NULL)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:2809:26: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:3619:22: warning: If memory allocation fails, then there is a possible null pointer dereference: fm_filenames [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-misc.c:3597:41: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-misc.c:3597:41: note: Assignment 'fm_filenames=g_string_new("fm_filenames=(\n")', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:3619:22: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:3620:22: warning: If memory allocation fails, then there is a possible null pointer dereference: fm_files [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-misc.c:3598:37: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-misc.c:3598:37: note: Assignment 'fm_files=g_string_new("fm_files=(\n")', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:3620:22: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:3650:53: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-misc.c:3643:34: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-misc.c:3643:34: note: Assignment 'str=g_strdup_printf("fm_filename=%s\n",quoted)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:3650:53: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:389:40: warning: If memory allocation fails, then there is a possible null pointer dereference: cwd [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-misc.c:388:37: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-misc.c:388:37: note: Assignment 'cwd=g_path_get_dirname(mset->full_path)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:389:40: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:393:14: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-misc.c:383:38: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-misc.c:383:38: note: Assignment 'path=g_path_get_dirname(mset->full_path)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:393:14: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:4092:48: warning: If memory allocation fails, then there is a possible null pointer dereference: file_paths [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-misc.c:4080:32: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-misc.c:4080:32: note: Assignment 'file_paths=g_strdup("")', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:4092:48: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:434:40: warning: If memory allocation fails, then there is a possible null pointer dereference: cwd [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-misc.c:433:37: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-misc.c:433:37: note: Assignment 'cwd=g_path_get_dirname(mset->full_path)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:434:40: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:438:14: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-misc.c:428:38: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-misc.c:428:38: note: Assignment 'path=g_path_get_dirname(mset->full_path)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:438:14: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:470:40: warning: If memory allocation fails, then there is a possible null pointer dereference: cwd [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-misc.c:469:37: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-misc.c:469:37: note: Assignment 'cwd=g_path_get_dirname(mset->full_path)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:470:40: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:474:14: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-misc.c:464:38: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-misc.c:464:38: note: Assignment 'path=g_path_get_dirname(mset->full_path)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:474:14: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:500:23: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-misc.c:499:34: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-misc.c:499:34: note: Assignment 'path=g_path_get_dirname(full_path)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:500:23: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:509:40: warning: If memory allocation fails, then there is a possible null pointer dereference: cwd [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-misc.c:508:37: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-misc.c:508:37: note: Assignment 'cwd=g_path_get_dirname(mset->full_path)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:509:40: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-properties.c:829:45: warning: If memory allocation fails, then there is a possible null pointer dereference: gstr [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-properties.c:822:45: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-properties.c:822:45: note: Assignment 'gstr=g_string_new(NULL)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-properties.c:829:45: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-task.c:1253:30: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-task.c:1251:42: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-task.c:1251:42: note: Assignment 'str=g_path_get_basename(task->current_file)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-task.c:1253:30: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-task.c:1253:35: warning: If memory allocation fails, then there is a possible null pointer dereference: str2 [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-task.c:1252:43: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-task.c:1252:43: note: Assignment 'str2=g_path_get_basename(task->current_dest)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-task.c:1253:35: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-task.c:1266:26: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-task.c:1265:45: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-task.c:1265:45: note: Assignment 'str=g_path_get_dirname(task->current_dest)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-task.c:1266:26: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-task.c:1639:44: warning: If memory allocation fails, then there is a possible null pointer dereference: elapsed2 [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-task.c:1633:35: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-task.c:1633:35: note: Assignment 'elapsed2=g_strdup_printf("%s:%02d",elapsed,mins)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-task.c:1639:44: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-task.c:2225:62: warning: If memory allocation fails, then there is a possible null pointer dereference: src_rel [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-task.c:2217:38: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-task.c:2217:38: note: Assignment 'src_rel=g_strdup_printf("%s%s%s%s%s",src_rel_time||src_rel_size?"( ":"",src_rel_time?src_rel_time:"",src_rel_time&&src_rel_size?" & ":"",src_rel_size?src_rel_size:"",src_rel_time||src_rel_size?" ) ":"")', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-task.c:2225:62: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-task.c:2226:58: warning: If memory allocation fails, then there is a possible null pointer dereference: dest_time [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-task.c:2215:33: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-task.c:2215:33: note: Assignment 'dest_time=g_strdup(buf)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-task.c:2226:58: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-task.c:2226:69: warning: If memory allocation fails, then there is a possible null pointer dereference: dest_size [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-task.c:2211:40: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-task.c:2211:40: note: Assignment 'dest_size=g_strdup_printf(((char*)g_dgettext(NULL,"%s\t( %lu bytes )")),buf,dest_stat.st_size)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-task.c:2226:69: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-task.c:473:42: warning: If memory allocation fails, then there is a possible null pointer dereference: scpids [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-task.c:471:44: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-task.c:471:44: note: Assignment 'scpids=g_strdup(cpids)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-task.c:473:42: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-task.c:476:126: warning: If memory allocation fails, then there is a possible null pointer dereference: scpids [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-task.c:471:44: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-task.c:471:44: note: Assignment 'scpids=g_strdup(cpids)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-task.c:476:126: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-task.c:617:42: warning: If memory allocation fails, then there is a possible null pointer dereference: scpids [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-task.c:615:44: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-task.c:615:44: note: Assignment 'scpids=g_strdup(cpids)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-task.c:617:42: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-file-task.c:620:76: warning: If memory allocation fails, then there is a possible null pointer dereference: scpids [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-file-task.c:615:44: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-file-task.c:615:44: note: Assignment 'scpids=g_strdup(cpids)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-task.c:620:76: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-handler.c:1072:22: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-handler.c:1070:31: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-handler.c:1070:31: note: Assignment 'list=g_strdup_printf("%s ",set_conf->s)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-handler.c:1072:22: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-handler.c:1072:28: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-handler.c:1071:30: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-handler.c:1071:30: note: Assignment 'str=g_strdup_printf("%s ",default_name)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-handler.c:1072:28: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-handler.c:1194:38: warning: If memory allocation fails, then there is a possible null pointer dereference: testlist [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-handler.c:1192:35: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-handler.c:1192:35: note: Assignment 'testlist=g_strdup_printf("%s ",list)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-handler.c:1194:38: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-handler.c:1194:48: warning: If memory allocation fails, then there is a possible null pointer dereference: testname [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-handler.c:1193:35: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-handler.c:1193:35: note: Assignment 'testname=g_strdup_printf("%s ",handler->xset_name)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-handler.c:1194:48: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-handler.c:1203:44: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-handler.c:1198:31: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-handler.c:1198:31: note: Assignment 'list=g_strconcat(list,list[0]?" ":"",handler->xset_name,NULL)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-handler.c:1203:44: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-handler.c:1204:37: warning: If memory allocation fails, then there is a possible null pointer dereference: testlist [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-handler.c:1203:35: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-handler.c:1203:35: note: Assignment 'testlist=g_strdup_printf("%s ",list)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-handler.c:1204:37: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-handler.c:1280:12: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: path_dest [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-handler.c:1278:39: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-handler.c:1278:39: note: Assignment 'path_dest=g_build_filename(xset_get_config_dir(),"scripts",NULL)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-handler.c:1280:12: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-handler.c:1284:53: warning: If memory allocation fails, then there is a possible null pointer dereference: path_src [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-handler.c:1277:38: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-handler.c:1277:38: note: Assignment 'path_src=g_build_filename(set->plug_dir,set->plug_name,NULL)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-handler.c:1284:53: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-handler.c:1284:63: warning: If memory allocation fails, then there is a possible null pointer dereference: path_dest [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-handler.c:1282:33: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-handler.c:1282:33: note: Assignment 'path_dest=g_build_filename(xset_get_config_dir(),"scripts",new_handler_xset->name,NULL)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-handler.c:1284:63: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-handler.c:1293:29: warning: If memory allocation fails, then there is a possible null pointer dereference: command [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-handler.c:1284:36: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-handler.c:1284:36: note: Assignment 'command=g_strdup_printf("cp -a %s %s",path_src,path_dest)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-handler.c:1293:29: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-handler.c:1315:29: warning: If memory allocation fails, then there is a possible null pointer dereference: command [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-handler.c:1314:30: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-handler.c:1314:30: note: Assignment 'command=g_strdup_printf("chmod -R go-rwx %s",path_dest)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-handler.c:1315:29: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-handler.c:1544:17: warning: If memory allocation fails, then there is a possible null pointer dereference: archive_handlers [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-handler.c:1534:42: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-handler.c:1534:42: note: Assignment 'archive_handlers=g_strsplit(archive_handlers_s," ",-1)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-handler.c:1544:17: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-handler.c:1546:32: warning: If memory allocation fails, then there is a possible null pointer dereference: archive_handlers [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-handler.c:1534:42: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-handler.c:1534:42: note: Assignment 'archive_handlers=g_strsplit(archive_handlers_s," ",-1)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-handler.c:1546:32: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-handler.c:2540:24: warning: If memory allocation fails, then there is a possible null pointer dereference: uri [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-handler.c:2590:40: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-handler.c:2590:40: note: Assignment 'uri=g_strdup_printf("%d",keymod)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-handler.c:2591:37: note: Calling function 'on_activate_link', 2nd argument 'uri' value is 0 spacefm-1.0.6/src/ptk/ptk-handler.c:2540:24: note: Null pointer dereference head spacefm-1.0.6/src/ptk/ptk-handler.c:912:14: style: Variable 'supported' is assigned a value that is never used. [unreadVariable] 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:1299:62: warning: If memory allocation fails, then there is a possible null pointer dereference: keepterm [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:1291:35: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:1291:35: note: Assignment 'keepterm=g_strdup_printf("if [ $? -ne 0 ]; then\n echo \"%s\"\n read\nelse\n echo; echo \"Press Enter to close (closing this window may unmount sshfs)\"\n read\nfi\n",press_enter_to_close)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:1299:62: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:1418:63: warning: If memory allocation fails, then there is a possible null pointer dereference: keep_term [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:1413:36: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:1413:36: note: Assignment 'keep_term=g_strdup_printf("\n[[ $? -eq 0 ]] || ( echo -n '%s: ' ; read )\n",press_enter_to_close)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:1418:63: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:1533:22: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:1522:30: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:1522:30: note: Assignment 'cmd=g_strdup_printf("echo %s; echo; %s",s1,s1)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:1533:22: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:1581:22: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:1574:36: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:1574:36: note: Assignment 'cmd=g_strdup_printf("echo %s; echo; %s",s1,s1)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:1581:22: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:1769:63: warning: If memory allocation fails, then there is a possible null pointer dereference: keep_term [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:1765:36: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:1765:36: note: Assignment 'keep_term=g_strdup_printf("\n[[ $? -eq 0 ]] || ( echo -n '%s: ' ; read )\n",press_enter_to_close)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:1769:63: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:1845:159: warning: If memory allocation fails, then there is a possible null pointer dereference: prog [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:1843:32: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:1843:32: note: Assignment 'prog=g_strdup("spacefm")', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:1845:159: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:1864:41: warning: If memory allocation fails, then there is a possible null pointer dereference: wait [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:1845:35: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:1845:35: note: Assignment 'wait=g_strdup_printf("%s -g --title 'Remove %s' --label '\\nPlease wait while device %s is synced and unmounted...' >/dev/null &\nwaitp=$!\n",prog,vol->device_file,vol->device_file)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:1864:41: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:1981:63: warning: If memory allocation fails, then there is a possible null pointer dereference: keep_term [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:1977:36: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:1977:36: note: Assignment 'keep_term=g_strdup_printf("\n[[ $? -eq 0 ]] || ( echo -n '%s: ' ; read )\n",press_enter_to_close)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:1981:63: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2056:67: warning: If memory allocation fails, then there is a possible null pointer dereference: keep_term [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:2052:40: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:2052:40: note: Assignment 'keep_term=g_strdup_printf("\n[[ $? -eq 0 ]] || ( echo -n '%s: ' ; read )\n",press_enter_to_close)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2056:67: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2133:67: warning: If memory allocation fails, then there is a possible null pointer dereference: keep_term [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:2129:40: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:2129:40: note: Assignment 'keep_term=g_strdup_printf("\n[[ $? -eq 0 ]] || ( echo -n '%s: ' ; read )\n",press_enter_to_close)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2133:67: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2220:18: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:2209:35: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:2209:35: note: Assignment 'line=g_strdup_printf("%s\nif [ $? -ne 0 ]; then\n echo -n '%s: '\n read\n exit 1\nelse\n %s\n [[ $? -eq 0 ]] || ( echo -n '%s: ' ; read )\nfi",unmount_command,press_enter_to_close,mount_command,press_enter_to_close)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2220:18: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2277:22: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:2266:35: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:2266:35: note: Assignment 'line=g_strdup_printf("echo 'Unmounting %s...'\nsync\n%s\nif [ $? -ne 0 ]; then\n echo -n '%s: '\n read\n exit 1%s\nfi",vol->device_file,unmount,press_enter_to_close,eject)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2277:22: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2577:182: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:2500:30: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:2500:30: note: Assignment 'cmd=g_strdup_printf("dd if=%s of=%s bs=448 count=1",sfile,vfile)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2577:182: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2594:240: warning: If memory allocation fails, then there is a possible null pointer dereference: fsarc_bin [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:2591:37: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:2591:37: note: Assignment 'fsarc_bin=g_strdup("fsarchiver")', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2594:240: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2678:50: warning: If memory allocation fails, then there is a possible null pointer dereference: fsarc_bin [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:2675:37: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:2675:37: note: Assignment 'fsarc_bin=g_strdup("fsarchiver")', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2678:50: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2695:49: warning: If memory allocation fails, then there is a possible null pointer dereference: pi_bin [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:2692:34: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:2692:34: note: Assignment 'pi_bin=g_strdup("partimage")', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2695:49: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2719:110: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:2678:30: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:2678:30: note: Assignment 'cmd=g_strdup_printf("%s archinfo %s",fsarc_bin,sfile)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2719:110: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2768:39: warning: If memory allocation fails, then there is a possible null pointer dereference: vfile [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:2767:26: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:2767:26: note: Assignment 'vfile=g_strndup(vol->device_file,8)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2768:39: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2769:67: warning: If memory allocation fails, then there is a possible null pointer dereference: vshort [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:2768:37: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:2768:37: note: Assignment 'vshort=g_path_get_basename(vfile)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2769:67: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2774:39: warning: If memory allocation fails, then there is a possible null pointer dereference: vfile [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:2773:25: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:2773:25: note: Assignment 'vfile=g_strdup(vol->device_file)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2774:39: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2775:74: warning: If memory allocation fails, then there is a possible null pointer dereference: vshort [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:2774:37: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:2774:37: note: Assignment 'vshort=g_path_get_basename(vfile)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2775:74: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2793:39: warning: If memory allocation fails, then there is a possible null pointer dereference: vfile [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:2792:25: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:2792:25: note: Assignment 'vfile=g_strdup(vol->device_file)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2793:39: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2794:69: warning: If memory allocation fails, then there is a possible null pointer dereference: vshort [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:2793:37: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:2793:37: note: Assignment 'vshort=g_path_get_basename(vfile)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2794:69: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2883:96: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:2841:30: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:2841:30: note: Assignment 'cmd=g_strdup_printf("dd if=%s of=%s bs=512 count=1",vfile,bfile)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:2883:96: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:3203:74: warning: If memory allocation fails, then there is a possible null pointer dereference: udisks [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:3171:29: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:3171:29: note: Assignment 'udisks=g_strdup_printf("%s\ncat << EOF\n%s\nEOF\necho ; ",info,udisks_info)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:3203:74: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:3203:82: warning: If memory allocation fails, then there is a possible null pointer dereference: lsof [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:3178:35: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:3178:35: note: Assignment 'lsof=g_strdup_printf("echo %s ; echo \"( %s lsof )\" ; echo ; ","PROCESSES","please install")', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:3203:82: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:3203:88: warning: If memory allocation fails, then there is a possible null pointer dereference: infobash [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:3201:30: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:3201:30: note: Assignment 'infobash=g_strdup("")', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:3203:88: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:3305:47: warning: If memory allocation fails, then there is a possible null pointer dereference: prog [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:3303:24: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:3303:24: note: Assignment 'prog=g_strdup("spacefm")', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:3305:47: note: Null pointer dereference head spacefm-1.0.6/src/ptk/ptk-location-view.c:3312:40: style: Parameter 'vol' can be declared as pointer to const [constParameterPointer] 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:3344:44: warning: If memory allocation fails, then there is a possible null pointer dereference: test [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:3341:43: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:3341:43: note: Assignment 'test=g_strdup_printf(" +%s ",value)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:3344:44: note: Null pointer dereference head spacefm-1.0.6/src/ptk/ptk-location-view.c:4147:14: style: Variable 'auto_optical' is assigned a value that is never used. [unreadVariable] head spacefm-1.0.6/src/ptk/ptk-location-view.c:4149:14: style: Variable 'auto_removable' is assigned a value that is never used. [unreadVariable] 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:4880:23: warning: If memory allocation fails, then there is a possible null pointer dereference: url [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:4877:21: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:4877:21: note: Assignment 'url=g_strchomp(g_strchug(g_strdup(set->z)))', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:4880:23: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:4926:19: warning: If memory allocation fails, then there is a possible null pointer dereference: url [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:4923:25: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:4923:25: note: Assignment 'url=g_strchomp(g_strchug(g_strdup(set->z)))', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:4926:19: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:841:24: warning: If memory allocation fails, then there is a possible null pointer dereference: del_path [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:840:44: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:840:44: note: Assignment 'del_path=g_build_filename(path,name,NULL)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:841:24: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:879:56: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:878:38: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:878:38: note: Assignment 'str=g_path_get_basename(vol->udi)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:879:56: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:954:12: warning: If memory allocation fails, then there is a possible null pointer dereference: point [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:951:27: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:951:27: note: Assignment 'point=g_strdup(point1)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:954:12: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/ptk/ptk-location-view.c:959:16: warning: If memory allocation fails, then there is a possible null pointer dereference: point [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-location-view.c:958:32: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-location-view.c:958:32: note: Assignment 'point=g_strdup_printf("%s-%d",point1,r++)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-location-view.c:959:16: note: Null pointer dereference head spacefm-1.0.6/src/ptk/ptk-path-entry.c:250:24: warning: Either the condition 'text' is redundant or there is possible null pointer dereference: text. [nullPointerRedundantCheck] spacefm-1.0.6/src/ptk/ptk-path-entry.c:226:10: note: Assuming that condition 'text' is not redundant spacefm-1.0.6/src/ptk/ptk-path-entry.c:250:24: note: Null pointer dereference head spacefm-1.0.6/src/ptk/ptk-path-entry.c:341:9: style: Variable 'long_len' is assigned a value that is never used. [unreadVariable] 2.17.0 spacefm-1.0.6/src/ptk/ptk-path-entry.c:765:9: warning: If memory allocation fails, then there is a possible null pointer dereference: unquote [nullPointerOutOfMemory] spacefm-1.0.6/src/ptk/ptk-path-entry.c:764:33: note: Assuming allocation function fails spacefm-1.0.6/src/ptk/ptk-path-entry.c:764:33: note: Assignment 'unquote=g_strdup(text+1)', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-path-entry.c:765:9: note: Null pointer dereference head spacefm-1.0.6/src/ptk/ptk-utils.c:54:13: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head spacefm-1.0.6/src/ptk/ptk-utils.c:59:18: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head spacefm-1.0.6/src/ptk/ptk-utils.c:63:18: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head spacefm-1.0.6/src/ptk/ptk-utils.c:65:15: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] 2.17.0 spacefm-1.0.6/src/settings.c:10426:44: warning: If memory allocation fails, then there is a possible null pointer dereference: prog [nullPointerOutOfMemory] spacefm-1.0.6/src/settings.c:10424:24: note: Assuming allocation function fails spacefm-1.0.6/src/settings.c:10424:24: note: Assignment 'prog=g_strdup("spacefm")', assigned value is 0 spacefm-1.0.6/src/settings.c:10426:44: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/settings.c:1648:26: warning: If memory allocation fails, then there is a possible null pointer dereference: tabs [nullPointerOutOfMemory] spacefm-1.0.6/src/settings.c:1638:36: note: Assuming allocation function fails spacefm-1.0.6/src/settings.c:1638:36: note: Assignment 'tabs=g_strdup("")', assigned value is 0 spacefm-1.0.6/src/settings.c:1639:36: note: Assuming condition is false spacefm-1.0.6/src/settings.c:1648:26: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/settings.c:1691:19: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] spacefm-1.0.6/src/settings.c:1688:28: note: Assuming allocation function fails spacefm-1.0.6/src/settings.c:1688:28: note: Assignment 'path=g_build_filename(settings_config_dir,"session.tmp",NULL)', assigned value is 0 spacefm-1.0.6/src/settings.c:1691:19: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/settings.c:1850:13: warning: If memory allocation fails, then there is a possible null pointer dereference: session [nullPointerOutOfMemory] spacefm-1.0.6/src/settings.c:1849:37: note: Assuming allocation function fails spacefm-1.0.6/src/settings.c:1849:37: note: Assignment 'session=g_build_filename(settings_config_dir,"session",NULL)', assigned value is 0 spacefm-1.0.6/src/settings.c:1850:13: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/settings.c:1935:48: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: settings_user_tmp_dir [nullPointerOutOfMemory] spacefm-1.0.6/src/settings.c:1932:49: note: Assuming allocation function fails spacefm-1.0.6/src/settings.c:1932:49: note: Assignment 'settings_user_tmp_dir=g_build_filename(settings_tmp_dir,name,NULL)', assigned value is 0 spacefm-1.0.6/src/settings.c:1935:48: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/settings.c:2265:38: warning: If memory allocation fails, then there is a possible null pointer dereference: full [nullPointerOutOfMemory] spacefm-1.0.6/src/settings.c:2263:20: note: Assuming allocation function fails spacefm-1.0.6/src/settings.c:2263:20: note: Assignment 'full=g_strdup(full_name)', assigned value is 0 spacefm-1.0.6/src/settings.c:2265:38: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/settings.c:3485:19: warning: If memory allocation fails, then there is a possible null pointer dereference: root_set_path [nullPointerOutOfMemory] spacefm-1.0.6/src/settings.c:3481:39: note: Assuming allocation function fails spacefm-1.0.6/src/settings.c:3481:39: note: Assignment 'root_set_path=g_strdup_printf("%s/spacefm/%d-as-root",SYSCONFDIR,geteuid())', assigned value is 0 spacefm-1.0.6/src/settings.c:3485:19: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/settings.c:4383:29: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] spacefm-1.0.6/src/settings.c:4382:32: note: Assuming allocation function fails spacefm-1.0.6/src/settings.c:4382:32: note: Assignment 'path=g_build_filename(dir,names[0],NULL)', assigned value is 0 spacefm-1.0.6/src/settings.c:4383:29: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/settings.c:4390:16: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] spacefm-1.0.6/src/settings.c:4382:32: note: Assuming allocation function fails spacefm-1.0.6/src/settings.c:4382:32: note: Assignment 'path=g_build_filename(dir,names[0],NULL)', assigned value is 0 spacefm-1.0.6/src/settings.c:4390:16: note: Null pointer dereference head spacefm-1.0.6/src/settings.c:4403:32: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] 2.17.0 spacefm-1.0.6/src/settings.c:4522:24: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: path_dest [nullPointerOutOfMemory] spacefm-1.0.6/src/settings.c:4519:45: note: Assuming allocation function fails spacefm-1.0.6/src/settings.c:4519:45: note: Assignment 'path_dest=g_build_filename(settings_config_dir,"scripts",dest->name,NULL)', assigned value is 0 spacefm-1.0.6/src/settings.c:4522:24: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/settings.c:4526:65: warning: If memory allocation fails, then there is a possible null pointer dereference: path_dest [nullPointerOutOfMemory] spacefm-1.0.6/src/settings.c:4524:45: note: Assuming allocation function fails spacefm-1.0.6/src/settings.c:4524:45: note: Assignment 'path_dest=g_build_filename(settings_config_dir,"scripts",dest->name,"exec.sh",NULL)', assigned value is 0 spacefm-1.0.6/src/settings.c:4526:65: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/settings.c:4542:16: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: path_dest [nullPointerOutOfMemory] spacefm-1.0.6/src/settings.c:4540:37: note: Assuming allocation function fails spacefm-1.0.6/src/settings.c:4540:37: note: Assignment 'path_dest=g_build_filename(settings_config_dir,"scripts",NULL)', assigned value is 0 spacefm-1.0.6/src/settings.c:4542:16: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/settings.c:4545:61: warning: If memory allocation fails, then there is a possible null pointer dereference: path_dest [nullPointerOutOfMemory] spacefm-1.0.6/src/settings.c:4544:37: note: Assuming allocation function fails spacefm-1.0.6/src/settings.c:4544:37: note: Assignment 'path_dest=g_build_filename(settings_config_dir,"scripts",dest->name,NULL)', assigned value is 0 spacefm-1.0.6/src/settings.c:4545:61: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/settings.c:4571:33: warning: If memory allocation fails, then there is a possible null pointer dereference: command [nullPointerOutOfMemory] spacefm-1.0.6/src/settings.c:4570:34: note: Assuming allocation function fails spacefm-1.0.6/src/settings.c:4570:34: note: Assignment 'command=g_strdup_printf("chmod -R go-rwx %s",path_dest)', assigned value is 0 spacefm-1.0.6/src/settings.c:4571:33: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/settings.c:4585:61: warning: If memory allocation fails, then there is a possible null pointer dereference: path_dest [nullPointerOutOfMemory] spacefm-1.0.6/src/settings.c:4583:37: note: Assuming allocation function fails spacefm-1.0.6/src/settings.c:4583:37: note: Assignment 'path_dest=g_build_filename(settings_config_dir,"plugin-data",dest->name,NULL)', assigned value is 0 spacefm-1.0.6/src/settings.c:4585:61: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/settings.c:4588:33: warning: If memory allocation fails, then there is a possible null pointer dereference: command [nullPointerOutOfMemory] spacefm-1.0.6/src/settings.c:4585:34: note: Assuming allocation function fails spacefm-1.0.6/src/settings.c:4585:34: note: Assignment 'command=g_strdup_printf("cp -a %s %s",path_src,path_dest)', assigned value is 0 spacefm-1.0.6/src/settings.c:4588:33: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/settings.c:4607:33: warning: If memory allocation fails, then there is a possible null pointer dereference: command [nullPointerOutOfMemory] spacefm-1.0.6/src/settings.c:4605:34: note: Assuming allocation function fails spacefm-1.0.6/src/settings.c:4605:34: note: Assignment 'command=g_strdup_printf("chmod -R go-rwx %s",path_dest)', assigned value is 0 spacefm-1.0.6/src/settings.c:4607:33: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/settings.c:4721:41: warning: If memory allocation fails, then there is a possible null pointer dereference: command [nullPointerOutOfMemory] spacefm-1.0.6/src/settings.c:4719:42: note: Assuming allocation function fails spacefm-1.0.6/src/settings.c:4719:42: note: Assignment 'command=g_strdup_printf("rm -rf %s/%s",path,name)', assigned value is 0 spacefm-1.0.6/src/settings.c:4721:41: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/settings.c:487:25: warning: If memory allocation fails, then there is a possible null pointer dereference: etc_path [nullPointerOutOfMemory] spacefm-1.0.6/src/settings.c:485:38: note: Assuming allocation function fails spacefm-1.0.6/src/settings.c:485:38: note: Assignment 'etc_path=g_build_filename(SYSCONFDIR,"spacefm","spacefm.conf",NULL)', assigned value is 0 spacefm-1.0.6/src/settings.c:487:25: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/settings.c:4984:25: warning: If memory allocation fails, then there is a possible null pointer dereference: plugin [nullPointerOutOfMemory] spacefm-1.0.6/src/settings.c:4983:36: note: Assuming allocation function fails spacefm-1.0.6/src/settings.c:4983:36: note: Assignment 'plugin=g_build_filename(plug_dir,"plugin",NULL)', assigned value is 0 spacefm-1.0.6/src/settings.c:4984:25: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/settings.c:5448:29: warning: If memory allocation fails, then there is a possible null pointer dereference: command [nullPointerOutOfMemory] spacefm-1.0.6/src/settings.c:5444:34: note: Assuming allocation function fails spacefm-1.0.6/src/settings.c:5444:34: note: Assignment 'command=g_strdup_printf("cp -a %s %s",path_src,path_dest)', assigned value is 0 spacefm-1.0.6/src/settings.c:5448:29: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/settings.c:5521:64: warning: If memory allocation fails, then there is a possible null pointer dereference: s1 [nullPointerOutOfMemory] spacefm-1.0.6/src/settings.c:5520:33: note: Assuming allocation function fails spacefm-1.0.6/src/settings.c:5520:33: note: Assignment 's1=g_path_get_basename(set->plug_dir)', assigned value is 0 spacefm-1.0.6/src/settings.c:5521:64: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/settings.c:5554:29: warning: If memory allocation fails, then there is a possible null pointer dereference: s1 [nullPointerOutOfMemory] spacefm-1.0.6/src/settings.c:5553:30: note: Assuming allocation function fails spacefm-1.0.6/src/settings.c:5553:30: note: Assignment 's1=g_build_filename(plug_dir,"plugin",NULL)', assigned value is 0 spacefm-1.0.6/src/settings.c:5554:29: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/settings.c:5663:12: warning: If memory allocation fails, then there is a possible null pointer dereference: use_url [nullPointerOutOfMemory] spacefm-1.0.6/src/settings.c:5658:46: note: Assuming allocation function fails spacefm-1.0.6/src/settings.c:5658:29: note: Assignment 'use_url=tilde_url=g_strdup_printf("%s%s",g_get_home_dir(),url+1)', assigned value is 0 spacefm-1.0.6/src/settings.c:5663:12: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/settings.c:5951:22: warning: If memory allocation fails, then there is a possible null pointer dereference: url [nullPointerOutOfMemory] spacefm-1.0.6/src/settings.c:5949:31: note: Assuming allocation function fails spacefm-1.0.6/src/settings.c:5949:31: note: Assignment 'url=g_strdup(specs)', assigned value is 0 spacefm-1.0.6/src/settings.c:5950:23: note: Assignment 'url=g_strchomp(g_strchug(url))', assigned value is 0 spacefm-1.0.6/src/settings.c:5951:22: note: Null pointer dereference head spacefm-1.0.6/src/settings.c:6498:24: warning: Either the condition 'l' is redundant or there is possible null pointer dereference: l. [nullPointerRedundantCheck] spacefm-1.0.6/src/settings.c:6507:10: note: Assuming that condition 'l' is not redundant spacefm-1.0.6/src/settings.c:6498:24: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/settings.c:6498:24: warning: If memory allocation fails, then there is a possible null pointer dereference: l [nullPointerOutOfMemory] spacefm-1.0.6/src/settings.c:6497:23: note: Assuming allocation function fails spacefm-1.0.6/src/settings.c:6497:23: note: Assignment 'l=g_strdup(locale)', assigned value is 0 spacefm-1.0.6/src/settings.c:6498:24: note: Null pointer dereference head spacefm-1.0.6/src/settings.c:8729:15: style: Variable 'file' is assigned a value that is never used. [unreadVariable] 2.17.0 spacefm-1.0.6/src/settings.c:9263:29: warning: If memory allocation fails, then there is a possible null pointer dereference: trim_ans [nullPointerOutOfMemory] spacefm-1.0.6/src/settings.c:9261:36: note: Assuming allocation function fails spacefm-1.0.6/src/settings.c:9261:36: note: Assignment 'trim_ans=g_strdup(ans)', assigned value is 0 spacefm-1.0.6/src/settings.c:9262:28: note: Assignment 'trim_ans=g_strchomp(g_strchug(trim_ans))', assigned value is 0 spacefm-1.0.6/src/settings.c:9263:29: note: Null pointer dereference head spacefm-1.0.6/src/settings.c:9528:16: style: Variable 'dlgparent' is assigned a value that is never used. [unreadVariable] head spacefm-1.0.6/src/vfs/vfs-app-desktop.c:113:42: style: Parameter 'app' can be declared as pointer to const [constParameterPointer] 2.17.0 spacefm-1.0.6/src/vfs/vfs-app-desktop.c:152:24: warning: If memory allocation fails, then there is a possible null pointer dereference: l [nullPointerOutOfMemory] spacefm-1.0.6/src/vfs/vfs-app-desktop.c:151:23: note: Assuming allocation function fails spacefm-1.0.6/src/vfs/vfs-app-desktop.c:151:23: note: Assignment 'l=g_strdup(locale)', assigned value is 0 spacefm-1.0.6/src/vfs/vfs-app-desktop.c:152:24: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/vfs/vfs-dir.c:1136:38: warning: If memory allocation fails, then there is a possible null pointer dereference: home_trash_dir [nullPointerOutOfMemory] spacefm-1.0.6/src/vfs/vfs-dir.c:1135:42: note: Assuming allocation function fails spacefm-1.0.6/src/vfs/vfs-dir.c:1135:42: note: Assignment 'home_trash_dir=g_build_filename(g_get_user_data_dir(),"Trash",NULL)', assigned value is 0 spacefm-1.0.6/src/vfs/vfs-dir.c:1136:38: note: Null pointer dereference head spacefm-1.0.6/src/vfs/vfs-dir.c:1226:28: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'mime_change' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] spacefm-1.0.6/src/vfs/vfs-dir.c:1257:13: note: You might need to cast the function pointer here spacefm-1.0.6/src/vfs/vfs-dir.c:1226:28: note: Parameter 'user_data' can be declared as pointer to const 2.17.0 spacefm-1.0.6/src/vfs/vfs-dir.c:547:20: warning: If memory allocation fails, then there is a possible null pointer dereference: hidden_path [nullPointerOutOfMemory] spacefm-1.0.6/src/vfs/vfs-dir.c:529:41: note: Assuming allocation function fails spacefm-1.0.6/src/vfs/vfs-dir.c:529:41: note: Assignment 'hidden_path=g_build_filename(path,".hidden",NULL)', assigned value is 0 spacefm-1.0.6/src/vfs/vfs-dir.c:547:20: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/vfs/vfs-dir.c:603:24: warning: If memory allocation fails, then there is a possible null pointer dereference: file_path [nullPointerOutOfMemory] spacefm-1.0.6/src/vfs/vfs-dir.c:602:43: note: Assuming allocation function fails spacefm-1.0.6/src/vfs/vfs-dir.c:602:43: note: Assignment 'file_path=g_build_filename(path,".hidden",NULL)', assigned value is 0 spacefm-1.0.6/src/vfs/vfs-dir.c:603:24: note: Null pointer dereference head spacefm-1.0.6/src/vfs/vfs-execute.c:118:26: style: Variable 'setup_func' is assigned a value that is never used. [unreadVariable] 2.17.0 spacefm-1.0.6/src/vfs/vfs-file-info.c:812:38: warning: If memory allocation fails, then there is a possible null pointer dereference: file_dir [nullPointerOutOfMemory] spacefm-1.0.6/src/vfs/vfs-file-info.c:806:44: note: Assuming allocation function fails spacefm-1.0.6/src/vfs/vfs-file-info.c:806:44: note: Assignment 'file_dir=g_path_get_dirname(file_path)', assigned value is 0 spacefm-1.0.6/src/vfs/vfs-file-info.c:812:38: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/vfs/vfs-file-info.c:875:39: warning: If memory allocation fails, then there is a possible null pointer dereference: cwd_new [nullPointerOutOfMemory] spacefm-1.0.6/src/vfs/vfs-file-info.c:874:44: note: Assuming allocation function fails spacefm-1.0.6/src/vfs/vfs-file-info.c:874:44: note: Assignment 'cwd_new=g_get_current_dir()', assigned value is 0 spacefm-1.0.6/src/vfs/vfs-file-info.c:875:39: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/vfs/vfs-file-task.c:1131:26: warning: If memory allocation fails, then there is a possible null pointer dereference: pida [nullPointerOutOfMemory] spacefm-1.0.6/src/vfs/vfs-file-task.c:1128:28: note: Assuming allocation function fails spacefm-1.0.6/src/vfs/vfs-file-task.c:1128:28: note: Assignment 'pida=g_strdup(pids)', assigned value is 0 spacefm-1.0.6/src/vfs/vfs-file-task.c:1131:26: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/vfs/vfs-file-task.c:1170:22: warning: If memory allocation fails, then there is a possible null pointer dereference: pida [nullPointerOutOfMemory] spacefm-1.0.6/src/vfs/vfs-file-task.c:1167:24: note: Assuming allocation function fails spacefm-1.0.6/src/vfs/vfs-file-task.c:1167:24: note: Assignment 'pida=g_strdup(pids)', assigned value is 0 spacefm-1.0.6/src/vfs/vfs-file-task.c:1170:22: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/vfs/vfs-file-task.c:1397:22: warning: If memory allocation fails, then there is a possible null pointer dereference: sum [nullPointerOutOfMemory] spacefm-1.0.6/src/vfs/vfs-file-task.c:1395:24: note: Assuming allocation function fails spacefm-1.0.6/src/vfs/vfs-file-task.c:1395:24: note: Assignment 'sum=g_strndup(stdout,64)', assigned value is 0 spacefm-1.0.6/src/vfs/vfs-file-task.c:1397:22: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/vfs/vfs-file-task.c:1412:44: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] spacefm-1.0.6/src/vfs/vfs-file-task.c:1945:30: note: Assuming allocation function fails spacefm-1.0.6/src/vfs/vfs-file-task.c:1945:30: note: Assignment 'str=g_strdup_printf(((char*)g_dgettext(NULL,"Error executing '%s'\nSee stdout (run spacefm in a terminal) for debug info")),first_arg)', assigned value is 0 spacefm-1.0.6/src/vfs/vfs-file-task.c:1947:48: note: Calling function 'vfs_file_task_exec_error', 3rd argument 'str' value is 0 spacefm-1.0.6/src/vfs/vfs-file-task.c:1412:44: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/vfs/vfs-file-task.c:1414:40: warning: If memory allocation fails, then there is a possible null pointer dereference: action [nullPointerOutOfMemory] spacefm-1.0.6/src/vfs/vfs-file-task.c:1945:30: note: Assuming allocation function fails spacefm-1.0.6/src/vfs/vfs-file-task.c:1945:30: note: Assignment 'str=g_strdup_printf(((char*)g_dgettext(NULL,"Error executing '%s'\nSee stdout (run spacefm in a terminal) for debug info")),first_arg)', assigned value is 0 spacefm-1.0.6/src/vfs/vfs-file-task.c:1947:48: note: Calling function 'vfs_file_task_exec_error', 3rd argument 'str' value is 0 spacefm-1.0.6/src/vfs/vfs-file-task.c:1414:40: note: Null pointer dereference 2.17.0 spacefm-1.0.6/src/vfs/vfs-file-task.c:2050:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vfs_file_task_exec [valueFlowBailoutIncompleteVar] head spacefm-1.0.6/src/vfs/vfs-file-task.c:2066:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.17.0 spacefm-1.0.6/src/vfs/vfs-file-task.c:795:26: warning: If memory allocation fails, then there is a possible null pointer dereference: dest_file [nullPointerOutOfMemory] spacefm-1.0.6/src/vfs/vfs-file-task.c:794:32: note: Assuming allocation function fails spacefm-1.0.6/src/vfs/vfs-file-task.c:794:32: note: Assignment 'dest_file=g_strconcat(task->dest_dir,"/",file_name,"XXXXXX",NULL)', assigned value is 0 spacefm-1.0.6/src/vfs/vfs-file-task.c:795:26: note: Null pointer dereference head spacefm-1.0.6/src/vfs/vfs-mime-type.c:196:38: style: Parameter 'mime_type' can be declared as pointer to const [constParameterPointer] DONE